MCP Server

Give your AI agent
blockchain superpowers

Install the y0 MCP server and let Claude, GPT, or any AI agent read balances, get quotes, swap tokens, and send transactions — non-custodially.

$npm install @y0exchange/mcp

Quick start

Three steps to get your AI agent on-chain

1

Install

npm install @y0exchange/mcp
2

Configure

{
  "mcpServers": {
    "y0": {
      "command": "npx",
      "args": ["@y0exchange/mcp"]
    }
  }
}
3

Use

"What is the ETH balance
 of 0xd8dA...6045?

 Swap 100 USDC to ETH
 on Ethereum."

10 MCP Tools

6 read-only + 4 write tools — all included in the free tier

read
get_balance

Native + ERC-20 token balances across chains

read
get_portfolio

Aggregated portfolio with USD values

read
get_price

Real-time token prices via CoinGecko

read
get_quote

Swap/bridge quote with routing preview

read
get_gas

Gas prices with USD estimates

read
get_history

Transaction history with classification

write
swap

Build unsigned swap tx via 1inch/0x

write
send

Build unsigned transfer tx (native/ERC-20)

write
bridge

Build unsigned bridge tx via LI.FI

write
approve

Build unsigned ERC-20 approve tx

Non-custodial write operations

Write tools never touch private keys. Here is how it works:

AI Agent

Calls swap/send tool via MCP protocol

MCP Server

Builds unsigned transaction, sends to signing service

Signing Service

Queues tx, notifies user via WebSocket/push

User Device

Reviews tx details, signs with own wallet, broadcasts to chain

Supported chains

All EVM chains through a unified API

E
Ethereum
B
BNB Chain
A
Arbitrum
B
Base
P
Polygon

Start building today

Free tier: full mainnet access, all 10 tools, unlimited wallets & transactions.

$npm install @y0exchange/mcp