{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "xyz.tollboothswap.api/tollbooth",
  "slug": "xyz.tollboothswap.api.tollbooth",
  "title": "Tollbooth Swap API",
  "summary": "Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.",
  "version": "1.0.3",
  "serverKey": "tollbooth",
  "pageUrl": "https://mcpkglabs.com/tool/xyz.tollboothswap.api.tollbooth",
  "installMdUrl": "https://mcpkglabs.com/tool/xyz.tollboothswap.api.tollbooth/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:38:06.026679183Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tollboothswap-mcp@1.0.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add tollbooth -- npx -y tollboothswap-mcp@1.0.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"tollbooth\": {\n      \"args\": [\n        \"-y\",\n        \"tollboothswap-mcp@1.0.3\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tollbooth\": {\n      \"args\": [\n        \"-y\",\n        \"tollboothswap-mcp@1.0.3\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"tollbooth\": {\n      \"args\": [\n        \"-y\",\n        \"tollboothswap-mcp@1.0.3\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tollbooth]\ncommand = \"npx\"\nargs = [\"-y\", \"tollboothswap-mcp@1.0.3\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://api.tollboothswap.xyz/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http tollbooth https://api.tollboothswap.xyz/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"tollbooth\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://api.tollboothswap.xyz/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tollbooth\": {\n      \"url\": \"https://api.tollboothswap.xyz/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"tollbooth\": {\n      \"type\": \"http\",\n      \"url\": \"https://api.tollboothswap.xyz/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tollbooth]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://api.tollboothswap.xyz/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "TOLLBOOTH_PAYER_KEY",
      "required": false,
      "secret": true,
      "description": "Optional 0x-prefixed EVM private key holding USDC on Base; pays x402 tolls automatically and gaslessly. Free tools work without it.",
      "help": "Optional 0x-prefixed EVM private key holding USDC on Base; pays x402 tolls automatically and gaslessly. Free tools work without it.",
      "placeholder": "<TOLLBOOTH_PAYER_KEY>"
    },
    {
      "name": "TOLLBOOTH_URL",
      "required": false,
      "secret": false,
      "description": "Tollbooth API base URL (default https://api.tollboothswap.xyz)",
      "help": "Tollbooth API base URL (default https://api.tollboothswap.xyz)",
      "placeholder": "<TOLLBOOTH_URL>"
    }
  ],
  "expectedTools": [
    "get_service_info",
    "resolve_token",
    "get_quote",
    "build_swap",
    "check_token",
    "get_receipt"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_service_info, resolve_token, get_quote, build_swap, check_token, get_receipt.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:38:06.026679183Z"
}
