Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Tollbooth Swap API

NPM · TOLLBOOTHSWAP-MCP · 2 COMPONENTS · SCANNED AUG 6

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

66 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Known CVEs were checked across the 113 of 117 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Dependency health was assessed across the 113 of 117 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability78
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 765 tokens (~127/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · tollboothswap-mcp

# add to Claude Code
claude mcp add xyz-tollboothswap-api-tollbooth -- npx -y tollboothswap-mcp
# add to Codex CLI
codex mcp add xyz-tollboothswap-api-tollbooth -- npx -y tollboothswap-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "xyz-tollboothswap-api-tollbooth": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "tollboothswap-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add xyz-tollboothswap-api-tollbooth --command npx --arg -y --arg tollboothswap-mcp
# ~/.hermes/config.yaml
mcp_servers:
  xyz-tollboothswap-api-tollbooth:
    command: "npx"
    args: ["-y", "tollboothswap-mcp"]
// mcp.json
{
  "mcpServers": {
    "xyz-tollboothswap-api-tollbooth": {
      "command": "npx",
      "args": [
        "-y",
        "tollboothswap-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 5 Aug 26 +22
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Dependency health: unverified → partial functional
  • 4 Aug 26 44

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 6 Aug 2026 · Analysed npm/[email protected]

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm
Dependencies 113 packages
Packages resolved 113
Deprecated 112
Stale 29
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools · 6 exposed · ~616 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
build_swap ~202

Build an unsigned swap transaction for the taker wallet to sign and submit. Costs an x402 toll (paid automatically when TOLLBOOTH_PAYER_KEY is set). Returns the transaction, the quote, and a signed receipt.

NameTypeReqDescription
amountstringyesSell amount as an integer string in the input token's base units
chainstringyesChain to swap on
inputTokenstringyesToken being sold: mint address (solana) or ERC-20 address (EVM chains)
outputTokenstringyesToken being bought: mint address (solana) or ERC-20 address (EVM chains)
safeModebooleanScreen both tokens first; refuses the build if either is critical-risk (honeypot etc.)
slippageBpsintegerMax slippage in bps (default 100)
takerstringyesWallet address that will sign and send the swap
NameTypeReqDescription
acceptsarrayx402 payment options when unpaid
chainstring
errorstringPresent when the request failed or payment is required
nextobjectSuggested follow-up calls
quoteobjectQuote the transaction was built from
receiptobjectSigned receipt for this build
safetyobjectSafety reports when safeMode was requested
transactionobjectUnsigned transaction for the taker to sign

No examples provided.

check_token ~103

Token safety screen before trading: honeypot, rug-pull, freeze/mint authority, transfer hooks, sell tax, blacklists. Returns verdict (ok/warn/critical/unknown), a 0-100 risk score, and itemized findings. Costs an x402 toll.

NameTypeReqDescription
chainstringyesChain to swap on
tokenstringyesToken to screen: mint address (solana) or ERC-20 address (EVM chains)
NameTypeReqDescription
acceptsarrayx402 payment options when unpaid
chainstring
errorstringPresent when the request failed or payment is required
findingsarrayIndividual risk findings
nextobjectSuggested follow-up calls
riskScorenumber0 (safe) to 100 (critical)
sourcestringData source used for the screen
tokenstring
verdictstringok, warn, critical, or unknown

No examples provided.

get_quote ~139

Get a free indicative swap quote (output amount includes Tollbooth's fee). Use before build_swap to decide whether to trade.

NameTypeReqDescription
amountstringyesSell amount as an integer string in the input token's base units
chainstringyesChain to swap on
inputTokenstringyesToken being sold: mint address (solana) or ERC-20 address (EVM chains)
outputTokenstringyesToken being bought: mint address (solana) or ERC-20 address (EVM chains)
slippageBpsintegerMax slippage in bps (default 100)
NameTypeReqDescription
chainstring
feeBpsnumberTollbooth fee in basis points
inputAmountstringSell amount in base units
inputTokenstring
nextobjectHow to build the swap transaction
outputAmountstringEstimated buy amount in base units, after fees
outputTokenstring
slippageBpsnumber

No examples provided.

get_receipt ~36

Fetch a signed Tollbooth receipt by id and verify its signature.

NameTypeReqDescription
idstringyesReceipt id returned by build_swap
NameTypeReqDescription
errorstringPresent when the receipt was not found
idstringReceipt id
receiptobjectReceipt payload
signaturestringServer signature over the receipt
validbooleanWhether the signature verified

No examples provided.

get_service_info ~27

Get Tollbooth service metadata: supported chains, swap fee, x402 toll pricing.

Input schema present but exposes no named parameters.

NameTypeReqDescription
descriptionstringWhat the service does
endpointsobjectHTTP endpoints exposed by the service
namestringService name
paymentobjectx402 payment networks and pricing

No examples provided.

resolve_token ~109

Resolve a token ticker symbol (e.g. PEPE, WIF, USDC) to contract addresses on a chain, free. Curated majors return one verified match; others return live DEX matches ranked by liquidity so you can pick the real token over imitations. Use before get_quote when you only know the symbol.

NameTypeReqDescription
chainstringyesChain to swap on
symbolstringyesTicker symbol to resolve, e.g. USDC, PEPE, WIF
NameTypeReqDescription
chainstringChain searched
matchesarrayMatching tokens, best first
nextobjectSuggested follow-up calls
symbolstringSymbol searched

No examples provided.