Skip to main contentTailor AI LogoTailor AI

    MCP Integration

    Connect AI assistants and developer tools to your Tailor account via MCP (Model Context Protocol). Query traffic, experiments, enrichment, ads data, and more from Claude Code, Claude Desktop, or your own agentic workflows.

    What is MCP?

    MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools and data sources. When you connect Tailor via MCP, your AI assistant can read your traffic data, review experiment results, query enrichment data, pull ads performance, and even take actions like starting or stopping experiments.

    This means you can ask questions like "Which campaigns drove the most conversions last week?" or "Show me enterprise visitors who hit our pricing page" and get answers directly from your Tailor data, without switching tools.

    Note: Tailor's MCP integration is a work in progress and likely to evolve as we add new capabilities. Claude's MCP configuration flows may also change over time. The setup details below are meant as examples only. If something looks different from what you see, check the Tailor settings page or reach out to support.

    Setup

    Step 1: Find your MCP URL

    Go to Settings β†’ Integrations β†’ Connected Apps. Your MCP URL is displayed at the top:

    https://mcp.tailorhq.ai

    Step 2: Connect your client

    Claude Code

    claude mcp add tailor https://mcp.tailorhq.ai --transport http

    You'll be prompted to authorize access in your browser the first time.

    Using an API key instead (for CI/CD or headless environments)
    claude mcp add tailor https://mcp.tailorhq.ai --transport http --header "Authorization: Bearer YOUR_API_KEY"

    Claude.ai or Claude Desktop

    In Claude's UI, go to Admin Settings β†’ Connectors β†’ Add custom connector, enter Tailor as the name and https://mcp.tailorhq.ai as the Remote MCP server URL, then click Add.

    Alternative: edit the config file directly

    Open Claude Desktop β†’ Settings β†’ Developer β†’ Edit Config and add:

    {
      "mcpServers": {
        "tailor": {
          "url": "https://mcp.tailorhq.ai",
          "transport": "http"
        }
      }
    }

    For API key auth, add "headers": { "Authorization": "Bearer YOUR_API_KEY" } inside the tailor object.

    Other MCP clients

    Any MCP-compatible client (Cursor, Windsurf, custom agents) can connect using https://mcp.tailorhq.ai with HTTP transport and either OAuth or an API key.

    Step 3: Verify

    Once connected, you'll see your connection with a CONNECTED status in Settings β†’ Integrations β†’ Connected Apps. Each connection has independent Read and Write toggles.

    Available tools

    All tools are available automatically once connected. Click a category to see what's included.

    Traffic and analyticsβ–Ά
    • tailor_traffic β€” Breakdowns by source, campaign, keyword, device, referrer, or locale with conversion rates
    • tailor_conversions β€” Conversion goal rates, most-clicked elements, and form submissions
    • tailor_engagement β€” Scroll depth and time-on-page metrics per landing page
    • tailor_visitor_journey β€” Full event timeline for a specific visitor
    Experimentsβ–Ά
    • tailor_experiments β€” List and view A/B test experiments
    • tailor_variants β€” Inspect individual variant configurations and copy changes
    • tailor_metrics β€” Per-variant performance (impressions, conversions, conversion rates)
    • tailor_goals β€” List conversion goals configured for experiments
    • tailor_recommendations β€” AI-generated next-best-action recommendations
    Visitor enrichmentβ–Ά
    • tailor_enrichment β€” Company-level visitor data (industry, size, revenue, role, location)
    • tailor_usage β€” Enrichment credit usage and daily volume metrics
    Ads and analytics platformsβ–Ά
    • tailor_google_ads β€” Google Ads campaigns, ad groups, ads, keywords, search terms, and landing page spend
    • tailor_meta_ads β€” Meta (Facebook/Instagram) campaigns, ad sets, and ads performance
    • tailor_amplitude β€” Amplitude event analytics and cross-platform experiment attribution
    Monitoring and alertsβ–Ά
    • tailor_traffic_guard β€” Traffic Guard alerts and custom rules for spend and CPA anomalies
    • tailor_inbox β€” Pending action items (recommendations, alerts, experiment issues)
    • tailor_competitors β€” Monitor competitor domains, URLs, and page changes
    • tailor_competitor_reports β€” AI-generated competitor analysis reports
    Write actions (requires Write permission)β–Ά
    • tailor_experiment_actions β€” Start, stop, or ramp experiments
    • tailor_experiment_setup β€” Create experiments, set primary goals, delete experiments
    • tailor_variant_manage β€” Create, delete, or restore variants
    • tailor_goal_manage β€” Create, update, delete, or attach conversion goals
    • tailor_recommendation_actions β€” Accept or dismiss AI recommendations
    Flexible queryβ–Ά
    • tailor_query β€” Structured analytics queries with custom groupings, filters, and aggregations on Tailor or Amplitude data
    Account and integrationsβ–Ά
    • tailor_organization β€” Organization details, Slack settings, enrichment config
    • tailor_slack β€” Slack integration status and channel configuration
    • tailor_landing_pages β€” All landing pages being tested or optimized
    • tailor_dashboard β€” High-level summary: active experiments, pending recommendations, recent winners

    Example prompts

    Try these in Claude Code, Claude Desktop, or any MCP-connected assistant.

    Review experiment results

    "Review all active experiments. For each one, show me the variant performance, conversion rates, and whether Tailor has a recommendation to ramp or stop."

    Tools: tailor_experiments, tailor_metrics, tailor_recommendations

    Full-funnel data analysis

    "Compare Google Ads and Meta Ads performance for the last 30 days. Show me spend, landing page traffic, and downstream Amplitude conversions. Which campaigns have the best cost per qualified conversion?"

    Tools: tailor_google_ads, tailor_meta_ads, tailor_traffic, tailor_amplitude

    Identify and qualify enterprise visitors

    "Pull identified visitors from /enterprise and /contact-sales for the last 7 days. Filter to enterprise companies in software or financial services. Score by engagement and show company name, industry, size, and visitor role. Rank by fit."

    Tools: tailor_enrichment, tailor_engagement, tailor_query

    Monitor performance and catch issues

    "Check if there are any Traffic Guard alerts or inbox items I should look at. If there are traffic anomalies, dig into which campaigns or sources are affected."

    Tools: tailor_traffic_guard, tailor_inbox, tailor_traffic

    Competitive intelligence

    "Show me recent changes to competitor landing pages. What messaging or positioning shifts should I know about?"

    Tools: tailor_competitors, tailor_competitor_reports

    Building agentic workflows

    Beyond interactive use, you can embed Tailor's MCP tools into automated pipelines using any MCP client library with an API key. Some ideas:

    Weekly experiment digest

    Pull active experiment results and pending recommendations, post a summary to Slack with suggested next actions.

    Lead qualification pipeline

    Pull identified visitors from high-intent pages daily, filter by ICP criteria, score by engagement, push qualified leads to CRM or Slack.

    Cross-platform performance report

    Combine Google Ads spend, Tailor site traffic, and Amplitude downstream conversions into a unified cost-per-conversion report.

    Automated experiment management

    Monitor results daily. When Tailor recommends ramping a winner, ramp it automatically with safety checks and Slack notifications.

    Permissions and safety

    Each connection has independent Read and Write toggles. Destructive write actions (stopping or deleting experiments) require a two-step confirmation token to prevent accidental changes.

    Interactive analysis

    Start with Read only. Enable Write when you're ready to take actions.

    Automated reporting

    Read only. No risk of accidental changes.

    Experiment management

    Read + Write, with confirmation steps and Slack notifications in your workflow.

    Troubleshooting

    "Tool not found" or no tools available

    Verify the connection shows as CONNECTED in Settings β†’ Integrations β†’ Connected Apps. If not, re-run the connection command.

    Write actions are rejected

    Check that the Write toggle is enabled for your connection in Settings β†’ Integrations β†’ Connected Apps.

    No data returned

    Most tools require a date range. Make sure you're querying dates with active traffic, and that the relevant integration (Google Ads, Meta Ads, Amplitude) is connected.