# VWO MCP

> VWO MCP connects your AI client directly to Visual Website Optimizer. It lets you manage A/B tests, tweak feature flags, and analyze conversion goals through natural conversation. Get real-time insights on user behavior without leaving your chat window.

## Overview
- **Category:** growth-engine
- **Price:** Free
- **Tags:** ab-testing, conversion-rate-optimization, feature-flags, personalization, experimentation, web-analytics

## Description

Managing web experiments used to mean jumping between dashboards, running reports, and cross-referencing spreadsheets just to see if a change actually worked. Now you can talk to your agent about it. This MCP lets you list active A/B tests and check their statistical results instantly. Need to know the status of a new payment gateway feature? Just ask; your AI client handles the flag management across staging or production environments. You can also pull lists of conversion goals, track which audience segments are performing best, and understand why users aren't completing key actions. With Vinkius, you connect once from any compatible agent, giving your AI a full view of your experimentation stack.

## Tools

### get_vwo_account_info
Retrieves basic information about the connected VWO account.

### get_campaign_details
Fetches specific operational details for a single VWO campaign.

### get_feature_flag_details
Retrieves the current configuration settings for one VWO feature flag.

### get_campaign_results
Pulls statistical performance results for a specific VWO campaign, identifying winners and metrics.

### list_optimization_campaigns
Lists all A/B test and personalization campaigns currently running in VWO.

### list_vwo_environments
Provides a list of every configured VWO environment, like Staging or Production.

### list_feature_flags
Lists all available feature flags managed within the VWO platform.

### list_conversion_goals
Displays every conversion goal and measurable KPI that is currently being tracked by VWO.

### list_audience_segments
Retrieves a list of all user segments defined for targeted advertising or testing.

### toggle_feature_flag
Changes the status of a feature flag, either enabling it (true) or disabling it (false).

## Prompt Examples

**Prompt:** 
```
List all my active A/B testing campaigns.
```

**Response:** 
```
I found 4 active campaigns: 'Homepage Redesign' (ID: camp-101), 'Checkout Flow Optimization' (ID: camp-102), 'Pricing Page Test' (ID: camp-103), and 'Newsletter Signup Personalization' (ID: camp-104). Which one would you like to review?
```

**Prompt:** 
```
What are the results for the 'Checkout Flow Optimization' campaign?
```

**Response:** 
```
Results for camp-102: Variation B is the winner with 98% statistical significance. It shows a 14.5% improvement in conversion rate compared to the control. Variation A showed no significant change. Would you like me to pull more detailed metrics?
```

**Prompt:** 
```
Disable the feature flag for 'new_payment_gateway'.
```

**Response:** 
```
I've disabled the feature flag 'new_payment_gateway' (ID: feat-555) as requested. The status has been updated successfully across all environments. Is there anything else you need me to adjust?
```

## Capabilities

### List and monitor all running tests
Retrieve comprehensive lists of every active A/B test and personalization campaign configured in VWO.

### Check feature flag status across environments
View the current configuration and toggle the enabled state for specific features (flags) across multiple system environments.

### Analyze experiment performance metrics
Pull detailed statistical results from any campaign, including identifying which variation is statistically significant or performing best.

### Audit conversion tracking setup
Browse all defined conversion goals and key performance indicators (KPIs) to understand what success looks like for your site.

### Review user segmentation groups
Get a list of pre-defined audience segments, helping you see exactly how different user groups are being targeted by your tests.

## Use Cases

### A/B Test Review
The Growth Manager needs to know if the 'Checkout Flow Optimization' campaign worked. They ask their agent, and it uses `get_campaign_results` to report: Variation B is the winner with 98% statistical significance, showing a 14.5% lift.

### Emergency Feature Kill
The Product Manager realizes 'new_payment_gateway' is causing errors in production. They prompt their agent to `toggle_feature_flag` for that ID, immediately disabling the problematic feature across all users.

### Pre-Launch Audit
The CRO Specialist needs to confirm which conversion goals are active before a major launch. Running `list_conversion_goals` provides an instant inventory of every KPI being tracked, ensuring nothing is missed.

### Segment Verification
A Data Analyst wants to ensure the test only hits high-value users. They run `list_audience_segments` and confirm that the 'VIP Customer' segment ID exists, validating their targeting scope.

## Benefits

- You stop manually exporting data. Instead of pulling reports for `get_campaign_results`, you simply ask your agent, and it returns the statistical significance right away.
- Feature rollouts get safer. Use `list_feature_flags` and `toggle_feature_flag` to manage flag status across different environments without logging into three different dashboards.
- Auditing is instant. Need to know what goals are tracked? Run `list_conversion_goals` in a chat prompt, getting a full inventory of KPIs instantly.
- Context switching ends. Listing all campaigns or checking audience segments via `list_optimization_campaigns` means you never have to open the VWO UI just for an overview.
- Better targeting control. By listing available user groups using `list_audience_segments`, your agent helps you confirm who exactly is seeing a test variation.

## How It Works

The bottom line is, you talk to your agent like talking to a coworker, and it handles all the complex API interactions for you.

1. Subscribe to this MCP and provide your VWO API Token and Account ID.
2. Connect your preferred AI client (like Cursor or Claude) through the Vinkius platform.
3. Ask your agent a question in natural language; it executes the necessary calls and returns structured data.

## Frequently Asked Questions

**How do I check if an A/B test is finished with VWO MCP?**
You can use `list_optimization_campaigns` to see all current tests. For results, run `get_campaign_results`, which provides the statistical significance needed to determine if a campaign should be marked as complete.

**Can I disable a feature flag using VWO MCP?**
Yes, you can use the `toggle_feature_flag` tool. You just need to provide the specific feature ID and tell your agent if you want it enabled (true) or disabled (false).

**Which tools do I use for conversion tracking in VWO MCP?**
To see what's tracked, run `list_conversion_goals`. If you need to know who is seeing the test, check out `list_audience_segments`.

**Does VWO MCP support multiple environments like staging and production?**
Absolutely. You can use `list_vwo_environments` to see all configured settings, giving you visibility across your entire deployment lifecycle.

**What if I want details on a specific campaign? Do I use VWO MCP?**
Yes. Use the `get_campaign_details` tool for general info, and then run `get_campaign_results` to pull the actual performance metrics.