Agent Gateway 5 min read

abTestBot Agent Gateway

Connect AI agents and LLM assistants to abTestBot's A/B testing research and experiment management services. Supports both MCP (Model Context Protocol) and A2A (Agent-to-Agent Protocol).

What You Can Do

  • Register a new website and get back the tracking snippet to install
  • List your registered websites
  • Get AI-analyzed site intelligence (industry, competitors, keywords)
  • List and filter A/B test ideas
  • Generate new AI-powered test ideas
  • List, inspect, and create experiments

All calls are billed per-credit. Purchase credits →


Prerequisites

  1. An abTestBot account on any plan
  2. Credits — buy a pack from Settings → Billing → Agent Credits (Starter $9/100, Growth $39/500, Scale $129/2,000). Enterprise plans include unlimited usage — no credits needed.
  3. An API key (sk_live_...) from Settings → API (available once your first pack is purchased, or automatically on the Enterprise plan)

MCP Setup (Claude Desktop, Cursor, Zed, etc.)

Add to your MCP client config:

{
  "mcpServers": {
    "abtestbot": {
      "url": "https://agent.abtestbot.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY_HERE"
      }
    }
  }
}

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "abtestbot": {
      "url": "https://agent.abtestbot.com/mcp",
      "headers": { "Authorization": "Bearer sk_live_..." }
    }
  }
}

Then ask Claude: "List my sites on abTestBot" or "Generate 5 A/B test ideas for site [id]"


A2A Setup (n8n, LangGraph, AutoGPT, CrewAI, etc.)

Agent Card URL (for discovery):

https://agent.abtestbot.com/.well-known/agent.json

Task endpoint:

POST https://agent.abtestbot.com/a2a/tasks
Authorization: Bearer sk_live_...
Content-Type: application/json

{
  "id": "your-task-id",
  "message": {
    "role": "user",
    "parts": [
      {
        "type": "data",
        "data": {
          "tool": "list_sites",
          "params": {}
        }
      }
    ]
  }
}

Health Check

curl https://agent.abtestbot.com/health
# → {"ok":true}

Reference