Open app

Quickstart: connect an MCP client

Add Ayo to Claude, Cursor or any MCP client so it pays listed services from a private balance.

You need a Solana wallet in your browser with some SOL and USDC, Node 22, and an MCP client that supports stdio servers (such as Claude Desktop or Cursor).

  1. Make a private wallet and deposit

    Open /app, connect your wallet, press Make a private wallet and sign. Then press Deposit and move some USDC into your private balance.

  2. Create the agent

    Go to /app/agents, press New agent, name it, pick USDC and set an allowance. Sign the two transactions. Copy AYO_AGENT_KEY from the done screen: it's shown once, beside the MCP config and the SDK snippet.

  3. Add Ayo to your MCP client

    Add the ayo server to your client's MCP configuration file:

    mcp.json
    {
      "mcpServers": {
        "ayo": {
          "command": "npx",
          "args": ["-y", "--package=https://ayo.money/ayo-mcp-0.1.0.tgz", "ayo-mcp"],
          "env": {
            "AYO_AGENT_KEY": "<your-agent-key>",
            "AYO_RING": "spr",
            "AYO_RPC_URL": "<your-helius-mainnet-rpc-url>",
            "AYO_API_URL": "https://api.ayo.money"
          }
        }
      }
    }

    Restart the client so it starts ayo-mcp and loads its two tools: ayo_balance and ayo_fetch.

  4. Check the balance and make a paid call

    Ask the client to check its Ayo balance. It calls ayo_balance and returns the agent's shielded balance per mint along with its agent and Ring addresses.

    Then ask it to fetch any listed service endpoint from /app/services. It calls ayo_fetch. On a 402 with Ayo-Hello, the server opens a tab, repeats the request with a signed voucher, and returns the response. Free URLs pass through without opening a tab.

  5. Watch it

    Open the agent's page in the app. Each paid call appears in the live owner feed with its amount. Switch to the chain view to see what anyone else sees: a tab opened between two addresses, with no amount. When the client closes (or after the tab sits idle), ayo-mcp settles open tabs with one confidential transfer.

Next