MCP server + x402

Plinth exposes the same tools over the Model Context Protocol. Agents discover the server, call read_product, and pay per call in USDC on Base.

Endpoint

POST https://onplinth.io/api/mcp
Accept: application/json, text/event-stream

Payment (x402)

Tool calls without a valid payment header return 402 Payment Required with payment instructions. Currently settled on Base Sepolia (testnet). Mainnet flip on GA.

402 Payment Required
{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact",
    "network": "base-sepolia",
    "maxAmountRequired": "10000",   // 0.01 USDC (6 decimals)
    "asset": "USDC",
    "payTo": "0x… (the Plinth recipient)"
  }]
}