Answered from live records · 2026-09-15
Is there an MCP tool for swaps?
Yes — onchain_agent_swap over POST /api/mcp, answered by the same code as POST /api/swap/quote so the two lanes cannot disagree. It is write-labelled and returns unsigned objects only, as of 2026-09-15.
What the tool is and what it hands back. It is labelled as a write because build-tx produces an object a requester could sign — not because anything is signed here.
| Field | What it is |
|---|---|
| tool | onchain_agent_swap, over POST /api/mcp (Streamable HTTP). |
| HTTP equivalent | POST /api/swap/quote — the same code answers both, so the agent lane and the HTTP lane cannot disagree. |
| mode | "recommend" returns a venue and the reasons; "build-tx" adds an unsigned transaction when the gate allowed it. |
| write-labelled | The tool declares readOnlyHint false and is behind a confirm gate in the playground, because build-tx produces something a requester could sign. |
| returns | Unsigned objects, the fee sentence verbatim from the venue's adapter, the four verdicts, the policy in force and the simulation result. |
| schemas | swap-quote and swap-receipt, v1, served under /schemas and announced by a Link: rel=describedby header on signed responses. |
How this was answered
The onchain_agent_swap registration in lib/mcp/tools.ts, which calls the same module behind POST /api/swap/quote. One implementation, two transports, so the lanes cannot answer differently.
Every answer on this page is produced by one named function over Sato Hub's live records on the date shown. Nothing is typed by hand, no figure is carried over from a previous day, and an answer with nothing behind it says unknown rather than zero. The Sato Score measures how open, active and verifiable a project is — it is not a safety, quality or returns grade.
Go deeper
More questions
Sources — the projects' own repositories and docs
Cite this page
Sato Hub. "Is there an MCP tool for swaps?." Sato Hub, updated 2026-09-15, accessed 2026-09-16. https://satohub.ai/answers/is-there-an-mcp-tool-for-swapsData last refreshed 2026-09-15; this page is rebuilt daily. Citations carry the date so a reader can tell which snapshot a claim came from. Catalog data is licensed CC-BY-4.0 and the machine-readable copy is linked in the page's Dataset metadata.