跳到正文
FunCoding

mcp-coinbase-commerce

官方 MCP Registry 已收录

MCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiat

Star
278
分类
金融
版本
v0.2.2
许可证
MIT
最近提交
2026年11月13日

@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

ServerUse caseDirection
@codespar/mcp-coinbase-commerceMerchants accept crypto at checkoutBuyer pays merchant
@codespar/mcp-unblockpayBRL / MXN <-> USDC corridorValue transfer
@codespar/mcp-moonpayEnd-user fiat <-> crypto (100+ assets)Onramp / offramp
@codespar/mcp-transakEnd-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)

ToolPurpose
create_chargeCreate a crypto charge — a one-time merchant invoice priced in local fiat that a buyer can settle in BTC, E...
retrieve_chargeRetrieve a charge by its Coinbase Commerce id OR its short code (the 8-character code embedded in the hoste...
list_chargesList charges, newest first.
cancel_chargeCancel a charge that has not yet been paid.
resolve_chargeManually resolve a charge as paid.
create_checkoutCreate a reusable hosted checkout — think product-page-style link that can be paid multiple times.
retrieve_checkoutRetrieve a checkout by id.
list_checkoutsList reusable hosted checkouts, newest first.
update_checkoutUpdate an existing reusable checkout.
delete_checkoutDelete a reusable checkout.
list_eventsList events — the lifecycle signals (charge:created, charge:confirmed, charge:failed, charge:delayed, charg...
retrieve_eventRetrieve a single event by id.
create_invoiceCreate an invoice — a directed bill sent to a specific named recipient.
retrieve_invoiceRetrieve an invoice by code.
list_invoicesList invoices, newest first.
void_invoiceVoid an unpaid invoice.
list_exchange_ratesFetch current Coinbase exchange rates for a base asset (e.g.
verify_webhook_signatureLocal 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

同类 MCP Server

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k近 7 天新增 253 个 star

精选

CCXT

连接 100+ 交易所和预测市场,获取行情数据,管理订单和账户。

CCccxt/ccxt45k近 7 天新增 78 个 star

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k近 7 天新增 169 个 star

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k近 7 天新增 28 个 star

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k近 7 天新增 75 个 star

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k近 7 天新增 15 个 star