Tollbooth Swap API
xyz.tollboothswap.api由 api.tollboothswap.xyz 发布官方发布者v1.0.3更新于 Oct 24, 2026
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
概览
让助手在 8 条链上解析代币、获取兑换报价、检测蜜罐风险并生成未签名兑换交易,付费调用通过 x402 以 USDC 结算。
- 可以做什么
- 按 DEX 流动性排序,把代币符号解析为合约地址,并获取含手续费的指示性兑换报价
- 检测代币的蜜罐、卷款跑路、冻结权限和卖出税风险,给出结论与发现项
- 生成未签名、可直接签名的兑换交易及 HMAC 签名回执,可选先检测两种代币
- 按 id 验证以往生成的回执,并读取链、费用与定价的服务清单
- 适用场景
- 适合助手需要在 Solana、Base、Ethereum、Arbitrum、Polygon、Optimism、BSC 或 Avalanche 上兑换代币,并希望在兑换前做安全检查的场景。报价和符号查询免费,可先不付费试用。
- 运行要求
- 可作为远程端点使用,也可通过 npx tollboothswap-mcp 在本地运行(需 Node.js)。无需账号或 API 密钥;可选环境变量 TOLLBOOTH_PAYER_KEY 存放持有 Base 上 USDC 的 EVM 私钥,用于自动支付费用。TOLLBOOTH_URL 可覆盖 API 基础地址。需要能访问 Tollbooth API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Tollbooth Swap API,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/xyz.tollboothswap.api%2Ftollbooth/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"tollbooth-swap-api": {
"type": "http",
"url": "https://api.tollboothswap.xyz/mcp"
}
}
}README
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
Claude Desktop / Cursor / any MCP client
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
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
来源:README.md,提交 79b1363
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分