MCP Server Studio

Tollbooth Swap API MCP server

Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

Registry name: xyz.tollboothswap.api/tollbooth

Publisher
api.tollboothswap.xyz
Runs
Local or hosted
Package
npm
Version
1.0.3
Category
Developer tools
Updated
2026-08-04

Source code on GitHub

Set up Tollbooth Swap API (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tollbooth": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TOLLBOOTH_PAYER_KEY": "<TOLLBOOTH_PAYER_KEY>",
        "TOLLBOOTH_URL": "<TOLLBOOTH_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add tollbooth -e TOLLBOOTH_PAYER_KEY='<TOLLBOOTH_PAYER_KEY>' -e TOLLBOOTH_URL='<TOLLBOOTH_URL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "tollbooth": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TOLLBOOTH_PAYER_KEY": "<TOLLBOOTH_PAYER_KEY>",
        "TOLLBOOTH_URL": "<TOLLBOOTH_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "tollbooth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TOLLBOOTH_PAYER_KEY": "<TOLLBOOTH_PAYER_KEY>",
        "TOLLBOOTH_URL": "<TOLLBOOTH_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "tollbooth": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TOLLBOOTH_PAYER_KEY": "<TOLLBOOTH_PAYER_KEY>",
        "TOLLBOOTH_URL": "<TOLLBOOTH_URL>"
      }
    }
  }
}

Set up Tollbooth Swap API (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tollbooth": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.tollboothswap.xyz/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http tollbooth https://api.tollboothswap.xyz/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "tollbooth": {
      "url": "https://api.tollboothswap.xyz/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "tollbooth": {
      "type": "http",
      "url": "https://api.tollboothswap.xyz/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "tollbooth": {
      "serverUrl": "https://api.tollboothswap.xyz/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
TOLLBOOTH_PAYER_KEYNoOptional 0x-prefixed EVM private key holding USDC on Base; pays x402 tolls automatically and gaslessly. Free tools work without it.
TOLLBOOTH_URLNoTollbooth API base URL (default https://api.tollboothswap.xyz)

More developer tools MCP servers