mcp-coinbase-commerce MCP Server
MCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiat
mcp-coinbase-commerce scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 18 tools. Filed under Finance. Package registries report about 76 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
81/100 for listing completeness. Lost points: short README, 4 of 18 tools barely described, short summary.
How quality is graded
Where the 45 comes from
22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "codespar-coinbase-commerce": { "command": "npx", "args": [ "-y", "@codespar/mcp-coinbase-commerce@0.2.2" ], "env": { "COINBASE_COMMERCE_API_KEY": "YOUR_COINBASE_COMMERCE_API_KEY", "COINBASE_COMMERCE_API_VERSION": "", "COINBASE_COMMERCE_WEBHOOK_SECRET": "YOUR_COINBASE_COMMERCE_WEBHOOK_SECRET" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
COINBASE_COMMERCE_API_KEYSecret | Required | Coinbase Commerce API key. Create one at https://beta.commerce.coinbase.com/settings/security. |
COINBASE_COMMERCE_API_VERSION | Optional | Coinbase Commerce API version pin (X-CC-Version header). Defaults to 2018-03-22. |
COINBASE_COMMERCE_WEBHOOK_SECRETSecret | Optional | Shared secret used to verify X-CC-Webhook-Signature on incoming webhooks. Only required for the verify_webhook_signature tool. |
Tools18Tool docs quality grade C
All capabilitiescancel_chargetoolCancel a charge that has not yet been paid.
create_chargetoolCreate a crypto charge — a one-time merchant invoice priced in local fiat that a buyer can settle in BTC, E...
create_checkouttoolCreate a reusable hosted checkout — think product-page-style link that can be paid multiple times.
create_invoicetoolCreate an invoice — a directed bill sent to a specific named recipient.
delete_checkouttoolDelete a reusable checkout.
list_chargestoolList charges, newest first.
list_checkoutstoolList reusable hosted checkouts, newest first.
list_eventstoolList events — the lifecycle signals (charge:created, charge:confirmed, charge:failed, charge:delayed, charg...
Fetch current Coinbase exchange rates for a base asset (e.g.
list_invoicestoolList invoices, newest first.
resolve_chargetoolManually resolve a charge as paid.
retrieve_chargetoolRetrieve a charge by its Coinbase Commerce id OR its short code (the 8-character code embedded in the hoste...
About
@codespar/mcp-coinbase-commerce
MCP server for Coinbase Commerce — global crypto merchant payments.
Coinbase Commerce is the merchant-accept side of crypto. Your store prices an order in local fiat (USD, BRL, EUR, MXN, ...), the buyer settles in BTC / ETH / USDC / and other supported assets, and Coinbase settles to you in the crypto or fiat of your choice.
Positioning vs the rest of the catalog
| Server | Use case | Direction |
|---|---|---|
@codespar/mcp-coinbase-commerce | Merchants accept crypto at checkout | Buyer pays merchant |
@codespar/mcp-unblockpay | BRL / MXN <-> USDC corridor | Value transfer |
@codespar/mcp-moonpay | End-user fiat <-> crypto (100+ assets) | Onramp / offramp |
@codespar/mcp-transak | End-user fiat <-> crypto (broad geo) | Onramp / offramp |
Use Coinbase Commerce when an agent needs to bill a buyer in crypto — hosted charge page, reusable checkout, or directed invoice.
Tools (18)
| Tool | Purpose |
|---|---|
create_charge | Create a crypto charge — a one-time merchant invoice priced in local fiat that a buyer can settle in BTC, E... |
retrieve_charge | Retrieve a charge by its Coinbase Commerce id OR its short code (the 8-character code embedded in the hoste... |
list_charges | List charges, newest first. |
cancel_charge | Cancel a charge that has not yet been paid. |
resolve_charge | Manually resolve a charge as paid. |
create_checkout | Create a reusable hosted checkout — think product-page-style link that can be paid multiple times. |
retrieve_checkout | Retrieve a checkout by id. |
list_checkouts | List reusable hosted checkouts, newest first. |
update_checkout | Update an existing reusable checkout. |
delete_checkout | Delete a reusable checkout. |
list_events | List events — the lifecycle signals (charge:created, charge:confirmed, charge:failed, charge:delayed, charg... |
retrieve_event | Retrieve a single event by id. |
create_invoice | Create an invoice — a directed bill sent to a specific named recipient. |
retrieve_invoice | Retrieve an invoice by code. |
list_invoices | List invoices, newest first. |
void_invoice | Void an unpaid invoice. |
list_exchange_rates | Fetch current Coinbase exchange rates for a base asset (e.g. |
verify_webhook_signature | Local helper — verify a Coinbase Commerce webhook payload using HMAC-SHA256. |
Install
npm install @codespar/mcp-coinbase-commerce
Environment
COINBASE_COMMERCE_API_KEY="..." # API key (required, secret)
COINBASE_COMMERCE_API_VERSION="..." # Optional. Defaults to 2018-03-22.
Create an API key at https://beta.commerce.coinbase.com/settings/security.
Authentication
Every request carries two headers:
X-CC-Api-Key: <COINBASE_COMMERCE_API_KEY>
X-CC-Version: 2018-03-22
The version header is required. Pin it so future API changes don't silently break your integration.
Run
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-coinbase-commerce
# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-coinbase-commerce
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Frequently asked questions
What is mcp-coinbase-commerce MCP Server?
MCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiat
How do I install mcp-coinbase-commerce MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-coinbase-commerce MCP Server runs locally from the npm package @codespar/mcp-coinbase-commerce with the command npx -y @codespar/mcp-coinbase-commerce@0.2.2.
Does mcp-coinbase-commerce MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-coinbase-commerce MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp-coinbase-commerce MCP Server provide?
mcp-coinbase-commerce MCP Server provides 18 tools, including cancel_charge, create_charge, create_checkout, and create_invoice. See the full tool list for descriptions and parameters.
How is mcp-coinbase-commerce MCP Server's trust score calculated?
mcp-coinbase-commerce MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.