CCelo PayGrid

Documentation

MCP reference

Celo PayGrid exposes a remote MCP endpoint for AI agents and builder runtimes.

Endpoint

https://mcp.celopaygrid.xyz/mcp

List tools

curl -X POST https://mcp.celopaygrid.xyz/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Authentication

Read-only tools are public. Remote write tools require Authorization: Bearer <PAYGRID_MCP_API_KEY> or X-API-Key.

Current tools

ToolAuthPurpose
create_payment_requestAPI keyCreate an agent-owned payment request on Celo.
get_payment_requestpublicFetch a payment request and its state.
verify_paymentpublicVerify whether a payment request is paid.
list_agent_requestsAPI keyList requests owned by the configured ERC-8004 agent.
create_card_checkoutAPI keyCreate a card-funded checkout session for an existing request.
pay_x402_endpointAPI keyCall an x402-protected endpoint with caller-provided payment headers.
get_supported_stablecoinspublicList supported Celo stablecoins and configured addresses.
get_agent_capabilitiespublicReturn endpoints, auth model, current flows and guardrails.
get_agent_connection_guidepublicReturn MCP connection examples.
get_celo_defi_contextpublicReturn Celo DeFi context for future agent spend features.

Discover capabilities

curl -X POST https://mcp.celopaygrid.xyz/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_agent_capabilities","arguments":{}}}'

Create a payment request

curl -X POST https://mcp.celopaygrid.xyz/mcp \
  -H "content-type: application/json" \
  -H "authorization: Bearer <PAYGRID_MCP_API_KEY>" \
  -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"create_payment_request","arguments":{"amount":"10.00","token":"USDC","description":"Agent service payment","recipientAddress":"0x...","acceptedMethods":["crypto","card"]}}}'

Verify payment

curl -X POST https://mcp.celopaygrid.xyz/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"verify_payment","arguments":{"id":"<payment_request_id>"}}}'