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.

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

讓助理在 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 的網路。
安裝前請注意
付費工具按次收取 USDC(產生兌換交易約 0.005 美元,安全檢查 0.01 美元),助理可能因此花費資金。TOLLBOOTH_PAYER_KEY 是私鑰,需持有 Base 上的 USDC,持有者即可控制該錢包。產生的交易未簽名,須由使用者自己的錢包簽署並送出;代幣偵測僅供參考,並非保證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tollbooth Swap API,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
npx tollboothswap-mcp

Claude Desktop / Cursor / any MCP client

json
{  "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

ToolCostWhat it does
resolve_tokenfreeTicker symbol → contract addresses, ranked by DEX liquidity
get_quotefreeFee-inclusive indicative swap quote
check_token$0.01Honeypot / rug-pull / freeze-authority / sell-tax screening with verdict + findings
build_swap~$0.005Unsigned, ready-to-sign swap transaction + HMAC-signed receipt (safeMode screens both tokens first)
get_receiptfreeVerify a past build receipt by id
get_service_infofreeService 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

License

MIT

來源:README.md,提交 79b1363

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.3最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分