BUILD · AI AGENTS
Swaps for your agent, signed by its user
Your agent asks Stoa for a quote, checks the token, and gets an unsigned transaction back. The user's wallet signs; Stoa never holds keys or funds. No key and no account: 60 requests a minute.
ADD THE MCP SERVER
https://stoadex.com/mcpClaude, Cursor or any MCP client: add a remote (HTTP) server with this URL. In Claude Code:
claude mcp add --transport http stoa https://stoadex.com/mcpOR IN YOUR OWN CODE
npm i @stoadex/agent-toolsThe same tools for the Vercel AI SDK, LangChain and OpenAI function calling. Set a referrer and your wallet earns 10% of Stoa's fee on the swaps your agent builds.
Plain HTTP: GET stoadex.com/api/v1/quote returns the route and, with a taker, the transaction. API docs
TOOLS
- quoteEvery venue Stoa routes, compared for the exact amount: output after the 2 bps fee, minimum, price impact, route
- build_swapThe same quote plus an unsigned transaction for the user's wallet (and the approval it needs first)
- safety_checkA simulated buy and sell-back, nothing sent: tax, whether selling works, creator and top-10 holdings
- bridge_quoteBring ETH, USDC or USDT in from Base, Arbitrum, Ethereum, Optimism or BNB Chain, decoded before signing
- stock_tokensRobinhood Stock Tokens: Robinhood's price next to the on-chain price, liquidity, and whether Stoa routes them
- market_contextMarket context for a trade: BTC and ETH, total market, and up to 5 Robinhood Chain tokens
- spotlightThis week's Spotlight: bids, votes, phase and closing times
- stock_gapsStock tokens whose on-chain price is furthest from Robinhood's, with a 7-day gap history
- open_dataStoa's open datasets, and every routed swap, the Points board or venue quotes live
- list_tokensThe tokens Stoa lists on a network, with addresses and decimals
THE SAFE ORDER
- Take the token's address from a trusted source, never from a name alone.
- Run
safety_checkand show the user the verdict. - Show the user the quote: what they get, the minimum, the price impact.
- Build the swap and check that
tx.tois the router on Contracts. - The user's wallet signs. Nothing is sent without it.
AGENTS ALREADY USING STOA
- Nomad ↗Stoa's MCP tools built into the agent
- Autonomo ↗Stoa's safety check and swap quote as paid agent APIs (x402)
Building one? Open an issue on GitHub and we'll add it here once it's live. Not financial advice; listed tokens are not reviewed by Stoa.

