Tollbooth Swap API MCP Server
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
Tollbooth Swap API scores 60 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under Finance. GitHub shows 1 stars. Package registries report about 65 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
60 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: short README, 6 of 6 tools barely described, short summary.
How quality is graded
Where the 60 comes from
22 + 10 + 4 + 10 + 4 + 10 = 60. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "soundsparkaudiolab-tollboothswap-mcp": { "command": "npx", "args": [ "-y", "tollboothswap-mcp@1.0.3" ], "env": { "TOLLBOOTH_PAYER_KEY": "YOUR_TOLLBOOTH_PAYER_KEY", "TOLLBOOTH_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
TOLLBOOTH_PAYER_KEYSecret | Optional | Optional 0x-prefixed EVM private key holding USDC on Base; pays x402 tolls automatically and gaslessly. Free tools work without it. |
TOLLBOOTH_URL | Optional | Tollbooth API base URL (default https://api.tollboothswap.xyz) |
Tools6Tool docs quality grade F
All capabilitiesbuild_swaptool~$0.005
check_tokentool$0.01
get_quotetoolfree
get_receipttoolfree
get_service_infotoolfree
resolve_tokentoolfree
About
tollboothswap-mcp — Token Swaps & Honeypot Checks for AI Agents (MCP Server)
MCP server for Tollbooth: non-custodial token swap execution and token safety screening on 8 chains — Solana, Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, Avalanche. Quotes and symbol resolution are free; swap builds (~$0.005) and safety checks ($0.01) are paid per-call in USDC via the x402 protocol — no API keys, no accounts, no subscriptions.
Quick start
npx tollboothswap-mcp
Claude Desktop / Cursor / any MCP client
{
"mcpServers": {
"tollbooth": {
"command": "npx",
"args": ["-y", "tollboothswap-mcp"],
"env": {
"TOLLBOOTH_PAYER_KEY": "0x<EVM private key holding USDC on Base>"
}
}
}
}
TOLLBOOTH_PAYER_KEY is optional: without it the free tools
(resolve_token, get_quote, get_service_info, get_receipt) work fully,
and paid tools return x402 payment instructions instead of results. With it,
tolls are paid automatically and gaslessly (EIP-3009 — the key never spends
gas, only USDC).
Tools
| Tool | Cost | What it does |
|---|---|---|
resolve_token | free | Ticker symbol → contract addresses, ranked by DEX liquidity |
get_quote | free | Fee-inclusive indicative swap quote |
check_token | $0.01 | Honeypot / rug-pull / freeze-authority / sell-tax screening with verdict + findings |
build_swap | ~$0.005 | Unsigned, ready-to-sign swap transaction + HMAC-signed receipt (safeMode screens both tokens first) |
get_receipt | free | Verify a past build receipt by id |
get_service_info | free | Service manifest: chains, fees, pricing |
Trust model
Tollbooth is non-custodial: it builds transactions but never holds keys or funds. Your agent signs and submits everything with its own wallet. Every paid build returns a signed receipt for audit trails.
Links
- Full tutorial: https://api.tollboothswap.xyz/guides/agent-swaps.md
- Agent usage guide: https://api.tollboothswap.xyz/skill.md
- Runnable HTTP examples: https://github.com/soundsparkaudiolab/tollbooth-examples
License
MIT
Frequently asked questions
What is Tollbooth Swap API MCP Server?
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
How do I install Tollbooth Swap API MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Tollbooth Swap API MCP Server runs locally from the npm package tollboothswap-mcp with the command npx -y tollboothswap-mcp@1.0.3.
Is Tollbooth Swap API MCP Server free and open source?
Yes. Tollbooth Swap API MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Tollbooth Swap API MCP Server support remote (HTTP) connections?
Yes. Tollbooth Swap API MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Tollbooth Swap API MCP Server provide?
Tollbooth Swap API MCP Server provides 6 tools, including build_swap, check_token, get_quote, and get_receipt. See the full tool list for descriptions and parameters.
How is Tollbooth Swap API MCP Server's trust score calculated?
Tollbooth Swap API MCP Server scores 60 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.