MCP

Connect agents to Micropay. Browse models for free; paid chat, image, and audio still go through the normal wallet-paid HTTP APIs.

Server endpoint

MCP HTTP handler at POST /mcp.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_models",
    "arguments": {}
  }
}
Open /mcp

Available tools

  • free
    list_models

    List available models with display prices.

  • free
    micropay_endpoints

    Describe the paid HTTP APIs agents can call (chat, images, audio, IDE, and more).

  • free
    compile_puya_ts

    Compile Algorand TypeScript (single source or multi-file project) to TEAL.

Paid requests use the HTTP APIs with a wallet-capable client. MCP lists model info only; payment happens on the paid routes.