Payment rails for AI agents. Pay merchants in USDC on Base. Dual-protocol: x402 + OKX APP.
Connect Remote server
claude mcp add --transport http coal https://mcp.usecoal.xyz/api/mcp --header "X-Coal-Agent-Key: <X_COAL_AGENT_KEY>" --header "X-Coal-Api-Key: <X_COAL_API_KEY>"
{
"mcpServers": {
"coal": {
"url": "https://mcp.usecoal.xyz/api/mcp",
"headers": {
"X-Coal-Agent-Key": "<X_COAL_AGENT_KEY>",
"X-Coal-Api-Key": "<X_COAL_API_KEY>"
}
}
}
}
{
"servers": {
"coal": {
"type": "http",
"url": "https://mcp.usecoal.xyz/api/mcp",
"headers": {
"X-Coal-Agent-Key": "<X_COAL_AGENT_KEY>",
"X-Coal-Api-Key": "<X_COAL_API_KEY>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://mcp.usecoal.xyz/api/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools 13 found in our last check
discover_merchantsTHE DEFAULT FIRST CALL whenever the user wants to buy, get, fetch, grab, order, purchase, shop for, find, or browse anything (digital goods, ebooks, APIs, prompts, datasets). Returns a Markdown product grid with images, prices, and merchant payout addresses inline — so you can g…
search_productsSearch products across all Coal merchants. Filter by name, max price, or tag. Returns a Markdown product grid with images. Use this when looking for something specific like "find a figurine under $1".
get_merchant_profileGet the full profile of a Coal merchant including products (with images), paywalls, supported networks/tokens, and 0G Storage proof. Returns rendered Markdown.
query_merchant_memoryAsk a natural language question about a merchant's products, policies, or catalog. Powered by 0G Compute with Sealed Inference (TEE). Needs a Coal API key — set once via Claude config header `X-Coal-Api-Key:YOUR_KEY`, or pass per-call as `coalApiKey`. Get one at https://usecoal.…
check_paywallCheck whether an address has paid for a specific x402 paywall. Returns pricing info if not paid, or content access status if paid.
create_checkoutCreate a Coal checkout session to pay for a product or amount. Settles in USDC on Base (~2s). Returns a checkout URL. Needs a Coal API key — set once via Claude config header `X-Coal-Api-Key:YOUR_KEY`, or pass per-call as `coalApiKey`. Get one at https://usecoal.xyz/console/keys.
get_checkout_statusCheck the payment status of a checkout session: pending, verifying, confirmed, expired, failed.
verify_receiptVerify a payment receipt and see its 3-step proof trail: (1) Base TX, (2) 0G Storage receipt, (3) 0G Chain anchor.
get_0g_healthCheck the live status of all 5 0G components: Storage, Chain, Compute, KV, DA.
agent_wallet_statusCheck the USDC balance for your agent wallet (or any address). If `X-Coal-Agent-Key` is set in your Claude config header, this auto-resolves your wallet's address. Otherwise pass `address` or `agentPrivateKey`. The server holds NO long-lived keys — every payment is signed per-re…
pay_merchantSend USDC on Base to any merchant payout address (the `payoutAddress` field shown by discover_merchants — NOT the merchantId). Use this whenever the user has confirmed they want to buy, purchase, pay, or send money for something. Gasless for you — Coal pays gas. Returns the on-c…
download_productRetrieve / download / get the file for a digital product after the user paid for it. Use after `pay_merchant` succeeds for digital goods (PDFs, ebooks, cheatsheets, datasets). Pass the on-chain `txHash` from `pay_merchant` OR a Coal checkout `sessionId`. Returns a verified downl…
setup_instructionsPrint step-by-step instructions for using Coal MCP from Claude / Cursor / any MCP client. Run this FIRST if you are unsure how to authenticate or which credentials to provide.
Headers
| Name | Description |
|---|---|
X-Coal-Agent-KeyOptional, secret | Wallet private key (0x... 64-char hex). Signs payments via EIP-3009 on Base. Optional — read-only tools work without it. |
X-Coal-Api-KeyOptional, secret | Coal API key for create_checkout + query_merchant_memory. Get one at https://usecoal.xyz/console/keys. Optional. |
Details
| Endpoint | https://mcp.usecoal.xyz/api/mcp (Streamable HTTP) |
| First published | 7 May 2026 |
| Last updated | 7 May 2026 |
| Registry name | io.github.emmanuel39hanks/coal |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
