Skip to main content
MCP server CX Codex

mcp-coinbase-commerce — Coinbase Commerce MCP server: what it does

Gives an agent 18 Coinbase Commerce tools: bill a buyer in local fiat, take crypto at checkout, check a webhook signature.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env COINBASE_COMMERCE_API_KEY=<COINBASE_COMMERCE_API_KEY> --env COINBASE_COMMERCE_API_VERSION=<COINBASE_COMMERCE_API_VERSION> --env COINBASE_COMMERCE_WEBHOOK_SECRET=<COINBASE_COMMERCE_WEBHOOK_SECRET> --transport stdio coinbase-commerce -- npx -y @codespar/mcp-coinbase-commerce
Open on GitHub

What mcp-coinbase-commerce does

This server connects your agent to the merchant side of Coinbase Commerce. You price an order in local fiat, the buyer pays in BTC, ETH or USDC, and Coinbase settles to you in crypto or fiat. The toolset covers one-time charges, reusable hosted checkouts, directed invoices, event listings and exchange rates.

Requests carry two headers, X-CC-Api-Key and X-CC-Version. No key, no calls. Create the key in the Coinbase Commerce security settings and put it in COINBASE_COMMERCE_API_KEY. Pin the version yourself so a future API change on Coinbase's side does not break your integration quietly.

Webhook payloads are verified locally with HMAC-SHA256, which needs COINBASE_COMMERCE_WEBHOOK_SECRET. The default transport is stdio; an HTTP mode on MCP_PORT exists for testing between services. Charges can also be marked paid by hand through resolve_charge — worth keeping an eye on if you reconcile payments from more than event stream alone.

What it helps with

  • bill a buyer in local currency and let them pay in crypto
  • put a reusable payment link on a product page
  • cancel an unpaid charge before it expires
  • verify an incoming webhook signature before acting on it
  • look up the current exchange rate for a base asset

Example prompts for the agent

  • Create a charge for 49.90 EUR and give me the payment link
  • List the latest events for that charge and tell me which are still unconfirmed
  • Check the webhook signature in payload.json against the secret in the environment

How to install mcp-coinbase-commerce

Platform CLI

claude mcp add --env COINBASE_COMMERCE_API_KEY=<COINBASE_COMMERCE_API_KEY> --env COINBASE_COMMERCE_API_VERSION=<COINBASE_COMMERCE_API_VERSION> --env COINBASE_COMMERCE_WEBHOOK_SECRET=<COINBASE_COMMERCE_WEBHOOK_SECRET> --transport stdio coinbase-commerce -- npx -y @codespar/mcp-coinbase-commerce

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-coinbase-commerce

How do I install mcp-coinbase-commerce in Claude Code?

One command: `claude mcp add mcp-coinbase-commerce -e COINBASE_COMMERCE_API_KEY=<COINBASE_COMMERCE_API_KEY> -e COINBASE_COMMERCE_WEBHOOK_SECRET=<COINBASE_COMMERCE_WEBHOOK_SECRET> -- npx -y @codespar/mcp-coinbase-commerce`. Use your own API key and webhook secret.

What does mcp-coinbase-commerce do?

It hands the agent Coinbase Commerce operations: create charges and checkout links, issue invoices, read events and rates, resolve a charge as paid.

What does the server need to run?

A COINBASE_COMMERCE_API_KEY from your Coinbase Commerce settings. The COINBASE_COMMERCE_WEBHOOK_SECRET is used to verify webhook signatures locally with HMAC-SHA256.

Similar MCP servers

Everything for Finance and business →

From the same set40

mcp-evolution-api Gives your agent 25 WhatsApp tools backed by your own Evolution API instance: messages, groups, contacts, connection state. CX Codex +1 ★ 274repo stars mcp-ebanx Hands your agent 18 EBANX tools: take a payment, refund it, send a payout, read an exchange rate. Useful when the product charges customers in Latin America. CX Codex +1 ★ 274repo stars mcp-culqi An MCP server for Culqi, Peru's payment provider: charges, refunds, saved cards, Yape and PagoEfectivo orders, subscription plans. CX Codex +1 ★ 274repo stars mcp-conta-azul An MCP server that connects an AI agent to Conta Azul: customers, products, services, sales, receivables and a financial summary. CX Codex +1 ★ 274repo stars mcp-clip An MCP server for taking payments through Clip (PayClip) in Mexico. Agents get hosted payment links, card-token charges, refunds and payment lookups, priced in MXN. CX Codex +1 ★ 274repo stars mcp-cielo Wires Cielo payments into your coding agent: card sales, boleto, Pix, recurring charges and payment links, as 22 callable tools. Handy when billing logic lives in the repo you are editing. CX Codex +1 ★ 274repo stars mcp-celcoin An MCP server that hands your agent Celcoin's payment API: Pix charges, boletos, TED/DOC transfers, top-ups. Handy when a Brazilian payment has to happen from the chat. CX Codex +1 ★ 274repo stars mcp-c6 An MCP server exposing Pix, boleto and account calls for C6 Bank to your coding agent. The npm package is deprecated and its hosts do not resolve. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor