Mcp Server For Ai To Blockchain Interactions — Balances, Swaps, Transfers, Gas, Prices. Non Custodial. Multi Chain.

by y0exchange

128 downloads
Not rated
GitHub

About

@y0exchange/mcp is a Model Context Protocol server that gives AI agents real-time access to DeFi — balances, prices, gas, swap quotes, transaction history, and the ability to execute swaps and transfers. It is designed for users of MCP-compatible AI clients who want their AI to…

Details

Author
y0exchange
Downloads
128
Categories
Other

- Real-time access to balances, prices, and gas
- Swap quotes and transaction history retrieval
- Ability to execute swaps and transfers
- Non-custodial — y0 never touches private keys
- Compatible with Claude, ChatGPT, and MCP-compatible clients

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Server For Ai To Blockchain Interactions — Balances, Swaps, Transfers, Gas, Prices. Non Custodial. Multi Chain.
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Connect the server to Claude, ChatGPT, or any MCP-compatible AI client. Users converse with the AI, which communicates with the blockchain through this server. For write operations (swaps and transfers), the server builds unsigned transactions that the user signs on their own device via the y0 Signing Service.

get_balance

Get native and ERC-20 token balances for a wallet address on a specific chain. If address is omitted, uses the wallet linked to the API key.

get_portfolio

Get aggregated portfolio view across all chains with USD values, per-chain breakdown, and allocation percentages. If address is omitted, uses the wallet linked to the API key.

get_price

Get current USD price and 24h change for one or more tokens. Accepts CoinGecko IDs (e.g. "ethereum") or symbols (e.g. "ETH").

get_quote

Get a swap quote with routing preview. Shows expected output, fees, and estimated gas. Does NOT execute — read-only price check.

get_gas

Get current gas prices across supported chains with USD estimates for common operations (transfer, swap, approve).

get_history

Get transaction history for a wallet address from block explorer (Etherscan/BSCScan). Supports filtering by type. If address is omitted, uses the wallet linked to the API key.

swap

Build an unsigned swap transaction. The user will approve and sign on their device — y0 never holds private keys. Requires Y0_API_KEY to be configured.

send

Build an unsigned transfer transaction. Supports native tokens and ERC-20. The user will approve and sign on their device. Requires Y0_API_KEY to be configured.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server for ai to blockchain interactions \u2014 balances, swaps, transfers, gas, prices. non custodial. multi chain.": {
            "y0": {
                "command": "npx",
                "args": [
                    "-y",
                    "@y0exchange/mcp"
                ],
                "env": {
                    "Y0_API_KEY": "y0_your_api_key_here"
                }
            }
        }
    }
}

McpServers

{
    "y0": {
        "command": "npx",
        "args": [
            "-y",
            "@y0exchange/mcp"
        ],
        "env": {
            "Y0_API_KEY": "y0_your_api_key_here"
        }
    }
}

What is this?

@y0exchange/mcp is a Model Context Protocol server that gives AI agents real-time access to DeFi — balances, prices, gas, swap quotes, transaction history, and the ability to execute swaps and transfers.

Connect it to Claude, ChatGPT, or any MCP-compatible AI client. Your users talk to AI, AI talks to the blockchain.

User → AI Agent → @y0exchange/mcp → Blockchain

y0 Signing Service (user signs on their device)
Non-custodial by design. y0 never touches private keys. Write operations build unsigned transactions — the user always signs on their own device.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.