Convert MCP Server
Connect your Convert optimization data directly to Claude Desktop, Cursor, or any Model Context Protocol-compatible AI assistant. No middleware, no complex setup—just plug and play.
What is MCP?
MCP (Model Context Protocol) is an emerging standard that allows AI models to interact with applications through a consistent interface. It acts as an abstraction layer, letting AI agents access your Convert data without needing to understand specific API protocols.
Quick Start
Prerequisites
Get your Convert API credentials:
- Log into your Convert account
- Go to Account Settings → API-Keys
- Generate or copy your Application ID and Secret Key
- Note your Account ID (found in account settings)
Consider starting with read-only access (TOOLS_FOR_CLIENT=reporting - see configuration below)
Installation & Setup
Option 1: NPX (Recommended)
# No installation needed - run directly
npx @convertcom/mcp-server
Option 2: Global Installation
# Install globally
npm install -g @convertcom/mcp-server
# Run the server
mcp-server-convert
Client Configuration
Claude Desktop
- Download Claude Desktop from claude.ai
- Add server configuration to your Claude Desktop config file:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"convert": {
"command": "npx",
"args": ["-y", "@convertcom/mcp-server"],
"env": {
"CONVERT_APPLICATION_ID": "your_convert_application_id",
"CONVERT_SECRET_KEY": "your_convert_secret_key",
"TOOLS_FOR_CLIENT": "reporting"
}
}
}
}
Save the file and restart Claude Desktop. You should now see Convert tools available!
Cursor
- Create a
.cursor/mcp.json
file in your project:mkdir -p .cursor && touch .cursor/mcp.json
- Add the following configuration:
{
"mcpServers": {
"convert": {
"command": "npx",
"args": ["-y", "@convertcom/mcp-server"],
"env": {
"CONVERT_APPLICATION_ID": "your_convert_application_id",
"CONVERT_SECRET_KEY": "your_convert_secret_key",
"TOOLS_FOR_CLIENT": "reporting"
}
}
}
} - Save the file and restart Cursor. Convert tools will now be available!
Example Usage
Once set up, try these example prompts with your AI assistant:
Get Insights from Your Convert Data
- "Show me the performance of all active experiments in my account"
- "How many experiences do I have running right now?"
- "Summarize all A/B tests with conversion rates above 5% from the last 30 days"
Analyze Experiment Performance
- "Get me the latest conversion data for my homepage experiment"
- "Compare the performance of mobile vs desktop experiments this month"
- "Show me which audience segments are performing best across all active tests"
Create and Manage Tests (Full Access Mode)
- "Create a new A/B test for the pricing page targeting returning visitors with a 70/30 traffic split"
- "Pause any experiences that have been running for more than 30 days with negative lift"
- "Update the traffic allocation for experiment ID 12345 to 50/50"
Configuration
Variable | Required | Description | Default |
CONVERT_APPLICATION_ID |
Y | Your Convert Application ID | - |
CONVERT_SECRET_KEY |
Y | Your Convert Secret Key | - |
TOOLS_FOR_CLIENT |
Access level: reporting , readOnly , or all |
reporting |
Access Levels
Choose the appropriate access level based on your needs:
reporting (Default - Recommended)
Perfect for analytics and insights
- Account data and project information
- Real-time experiment tracking and performance reports
- Goals, audiences, and conversion analytics
- Live visitor data and traffic allocation
readOnly
All reporting tools plus detailed configuration access
- Everything in reporting mode
- Detailed project and experience configurations
- Historical data and change logs
- Advanced analytics and forecasting data
all (Use with caution)
Complete access including write operations
- Everything in readOnly mode
- Create, edit, and delete experiments
- Manage audiences, goals, and project settings
- Full account administration capabilities
Security Note: Start with reporting
mode and only escalate permissions as needed. The all
access level can modify your Convert account.
Available Tools
The server provides 44 specialized tools covering the complete Convert REST API. Here's the complete breakdown:
Account Management (7 tools)
Tool | Description | Parameters |
list_accounts | Lists all accessible accounts | account_id (optional) |
get_account_details | Gets detailed account information | account_id (optional) |
list_account_users | Lists all users in the account | account_id (optional) |
get_account_user | Gets details of a specific account user | account_id (optional), user_id |
get_account_live_data | Gets real-time account activity data | account_id (optional) |
get_account_history | Gets account change history | account_id (optional) |
get_account_settings | Gets account configuration settings | account_id (optional) |
Project Management (4 tools)
Tool | Description | Parameters |
list_projects | Lists all projects in the account | account_id (optional) |
get_project_details | Gets detailed project information |
project_id, account_id (optional)
|
get_project_live_data | Gets real-time project activity data |
project_id, account_id (optional)
|
get_project_history | Gets project change history |
project_id, account_id (optional)
|
Experience Management (7 tools)
Tool | Description | Parameters |
list_experiences | Lists all experiences/experiments |
project_id, account_id (optional)
|
get_experience_details | Gets detailed experience information |
project_id, experience_id, account_id (optional)
|
get_experience_report | Gets experience performance report |
project_id, experience_id, account_id (optional)
|
get_experience_aggregated_report | Gets aggregated performance data |
project_id, experience_id, account_id (optional)
|
get_experience_variation_screenshot | Gets variation screenshot |
project_id, experience_id, variation_id, account_id (optional)
|
get_experience_history | Gets experience change history |
project_id, experience_id, account_id (optional)
|
get_experience_live_data | Gets real-time experience data |
project_id, experience_id, account_id (optional)
|
Feature Management (3 tools)
Tool | Description | Parameters |
list_features | Lists all feature flags |
project_id, account_id (optional)
|
get_feature_details | Gets detailed feature information |
project_id, feature_id, account_id (optional)
|
get_feature_history | Gets feature change history |
project_id, feature_id, account_id (optional)
|
Goal Management (3 tools)
Tool | Description | Parameters |
list_goals | Lists all conversion goals |
project_id, account_id (optional)
|
get_goal_details | Gets detailed goal information |
project_id, goal_id, account_id (optional)
|
get_goal_by_key | Gets goal by its key identifier |
project_id, goal_key, account_id (optional)
|
Audience Management (3 tools)
Tool | Description | Parameters |
list_audiences | Lists all audience segments |
project_id, account_id (optional)
|
get_audience_details | Gets detailed audience information |
project_id, audience_id, account_id (optional)
|
get_audience_history | Gets audience change history |
project_id, audience_id, account_id (optional)
|
Location Management (3 tools)
Tool | Description | Parameters |
list_locations | Lists all location targeting rules |
project_id, account_id (optional)
|
get_location_details | Gets detailed location information |
project_id, location_id, account_id (optional)
|
get_location_history | Gets location change history |
project_id, location_id, account_id (optional)
|
Knowledge Base Tools (6 tools)
Tool | Description | Parameters |
list_hypotheses | Lists all test hypotheses |
project_id, account_id (optional)
|
get_hypothesis | Gets details of a specific hypothesis |
project_id, hypothesis_id, account_id (optional)
|
list_knowledge_bases | Lists knowledge base entries |
project_id, account_id (optional)
|
get_knowledge_base | Gets details of a knowledge base entry |
project_id, knowledge_base_id, account_id (optional)
|
list_observations | Lists recorded observations |
project_id, account_id (optional)
|
get_observation | Gets details of a specific observation |
project_id, observation_id, account_id (optional)
|
Supporting Objects (8 tools)
Tool | Description | Parameters |
list_domains | Lists domains registered in a project |
project_id, account_id (optional)
|
get_domain | Gets details of a specific domain |
project_id, domain_id, account_id (optional)
|
get_domain_by_url | Finds domain configuration for a URL |
project_id, url, account_id (optional)
|
list_tags | Lists all tags in a project |
project_id, account_id (optional)
|
get_tag | Gets details of a specific tag |
project_id, tag_id, account_id (optional)
|
list_api_keys | Lists API keys for the account | account_id (optional) |
list_sdk_keys | Lists SDK keys for the account | account_id (optional) |
get_cdn_images_list | Lists images stored in Convert's CDN |
project_id, account_id (optional)
|
Security & Authentication
API Security
- HMAC-SHA256 signing: Every request is cryptographically signed
- Automatic expiration: Requests expire after 60 seconds
- No credential exposure: API keys never leave your local environment
- Least privilege: Choose the minimum access level needed for your use case
Best Practices
- Start with
reporting
access level and escalate only when needed - Regularly rotate your API credentials
- Monitor API usage in your Convert dashboard
- Keep your credentials secure and never share them
Troubleshooting
Common Issues
Symptom | Likely Cause | Solution |
---|---|---|
401 Unauthorized responses | Wrong API credentials or clock skew | Verify credentials, sync system clock |
"Server not found" in Claude | JSON config syntax error | Check command and args fields |
Missing expected tools | TOOLS_FOR_CLIENT too restrictive | Switch to readOnly or all and restart |
Connection timeouts | Network/firewall issues | Check connectivity to Convert's API endpoints |
"No data returned" | Empty account or wrong permissions | Verify account has data and API key permissions |
Getting Help
- Check the logs: Development mode provides detailed error information
- Verify credentials: Ensure your API key and secret are correct and have proper permissions
- Test connectivity: Confirm you can reach Convert's API endpoints
- Review permissions: Make sure your Convert account has access to the data you're requesting
Support Resources
- Documentation: Convert API Documentation
- Convert Support: Convert Help Center
What You Can Do
Real-time Analytics
- Monitor live experiment performance
- Track visitor behavior and conversions
- Analyze traffic allocation and statistical significance
- Get instant insights on goal performance
Experiment Management
- Create and configure A/B tests
- Set up multivariate experiments
- Manage audience targeting and segmentation
- Control traffic allocation and experiment lifecycle
Data-Driven Insights
- Historical performance analysis
- Conversion funnel optimization
- Audience behavior patterns
- ROI and revenue impact assessment
AI-Powered Optimization
- Let AI analyze your experiment data
- Get recommendations for test improvements
- Automate routine optimization tasks
- Generate insights from complex data patterns
Multi-Account Support
All tools support working with multiple Convert accounts through a single server instance:
Default Account
If CONVERT_DEFAULT_ACCOUNT_ID
is not set, the server will:
- Automatically discover all accounts accessible to your API credentials
- Use the first available account as the default
Specifying an Account
To work with a specific account, include the account_id
parameter with any tool:
"Get project details for project 123 using account 456"
Account Detection
The server automatically detects all accessible accounts on startup and logs them for reference.
Updates
The MCP server is automatically updated when you restart your AI assistant. For manual updates:
# Update to latest version
npm update -g @convertcom/mcp-server
Example Workflows
Daily Optimization Review
- "Show me all active experiments and their current performance"
- "Which tests have reached statistical significance?"
- "Are there any experiments with concerning negative trends?"
- "What are my top-performing audience segments this week?"
Experiment Setup
- "What goals are available for my homepage project?"
- "Show me the current traffic allocation for all active tests"
- "Create a new A/B test for the pricing page with mobile-specific targeting"
Performance Analysis
- "Compare conversion rates across all experiments from the last 30 days"
- "Show me the revenue impact of my top 5 performing tests"
- "Which variations are driving the highest engagement?"
- "Generate a summary report of all completed experiments this quarter"