MCP Server Studio
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
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>"
}
}
}
}Run in your terminal:
claude mcp add tollbooth -e TOLLBOOTH_PAYER_KEY='<TOLLBOOTH_PAYER_KEY>' -e TOLLBOOTH_URL='<TOLLBOOTH_URL>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"tollbooth": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TOLLBOOTH_PAYER_KEY": "<TOLLBOOTH_PAYER_KEY>",
"TOLLBOOTH_URL": "<TOLLBOOTH_URL>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"tollbooth": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.tollboothswap.xyz/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http tollbooth https://api.tollboothswap.xyz/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"tollbooth": {
"url": "https://api.tollboothswap.xyz/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"tollbooth": {
"type": "http",
"url": "https://api.tollboothswap.xyz/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"tollbooth": {
"serverUrl": "https://api.tollboothswap.xyz/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
TOLLBOOTH_PAYER_KEY | No | Optional 0x-prefixed EVM private key holding USDC on Base; pays x402 tolls automatically and gaslessly. Free tools work without it. |
TOLLBOOTH_URL | No | Tollbooth API base URL (default https://api.tollboothswap.xyz) |