{"_id":"@codespar/mcp-coinbase-commerce","_rev":"5-a240e3add746af2ab9f237a4450a5300","name":"@codespar/mcp-coinbase-commerce","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@codespar/mcp-coinbase-commerce","version":"0.1.0","keywords":["mcp","coinbase","coinbase-commerce","crypto","merchant","payments","checkout","btc","eth","usdc","stablecoin"],"license":"MIT","_id":"@codespar/mcp-coinbase-commerce@0.1.0","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-coinbase-commerce":"dist/index.js"},"dist":{"shasum":"324c816a0651edb0430cd68a97c583bd4c081066","tarball":"https://registry.npmjs.org/@codespar/mcp-coinbase-commerce/-/mcp-coinbase-commerce-0.1.0.tgz","fileCount":6,"integrity":"sha512-Dq/xFw73krMsjTDDeoCApyYkR94rCejZyQPFLX6FrQAEypHH/6Xo0JATOD9y0lmgoQ7fccssyTudLbvMLsg/qA==","signatures":[{"sig":"MEQCIDMByJQP9JZ9mw6zfqi3gYmk49YqWcaJhkyvCiudNqThAiAWGoLQxRnR8rC/1ryRLcnGcCvKbX/btpNS8QxW/4Ck4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38065},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b2ef93b78816f2643cd387941a09940b2d7619e9","mcpName":"io.github.codespar/mcp-coinbase-commerce","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-coinbase-commerce_0.1.0_1776996450602_0.8460165093016674","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@codespar/mcp-coinbase-commerce","version":"0.2.0","keywords":["mcp","coinbase","coinbase-commerce","crypto","merchant","payments","checkout","btc","eth","usdc","stablecoin"],"license":"MIT","_id":"@codespar/mcp-coinbase-commerce@0.2.0","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-coinbase-commerce":"dist/index.js"},"dist":{"shasum":"108d14e0e466ee5c579d9ad59a8e278f0784021a","tarball":"https://registry.npmjs.org/@codespar/mcp-coinbase-commerce/-/mcp-coinbase-commerce-0.2.0.tgz","fileCount":6,"integrity":"sha512-hZAxDK4gLeBvvbzpxJt0ndrTeJuvjzZGKMaQo/f2W1mM+0hzrbUqMba6U3pBHXcpYviAZRlbi6xzJvYW+38wAg==","signatures":[{"sig":"MEQCIAmOkvOQ+kMlfHq7DBIK16jkjvNX7Hg4bcLIxcMEoCHIAiBWyBsjIn8MeCCy1d0vUwgUUvtQsjDRvUUVpDOaF8qYuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59199},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"67945e20ee596c2c3f388bf366a80236dc032b40","mcpName":"io.github.codespar/mcp-coinbase-commerce","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-coinbase-commerce_0.2.0_1777118606093_0.3963104695484103","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@codespar/mcp-coinbase-commerce","version":"0.2.1","keywords":["mcp","coinbase","coinbase-commerce","crypto","merchant","payments","checkout","btc","eth","usdc","stablecoin"],"license":"MIT","_id":"@codespar/mcp-coinbase-commerce@0.2.1","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-coinbase-commerce":"dist/index.js"},"dist":{"shasum":"663c575ef3f68007c4b2810ab4cb0fb422459e2c","tarball":"https://registry.npmjs.org/@codespar/mcp-coinbase-commerce/-/mcp-coinbase-commerce-0.2.1.tgz","fileCount":6,"integrity":"sha512-cy9xGLe/qVhVb0s1H8Xct+gSiD98qobAS6S8EJN64d2AcgHFEVQISbWS2ixUy+DUVT0Pp5LY8APWtPI9IqPeYQ==","signatures":[{"sig":"MEYCIQD9dc80LT+Z8E5+hQRgOhyzlRrvR/j+3VbbZQ/QN5zlCwIhALkxI2Edcwo7LLS58db/ruvTwU/Y3U0+pLTWxYaeRXhV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60097},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"0ab801a863239f0cb986bbda65abbaee3c621b44","mcpName":"io.github.codespar/mcp-coinbase-commerce","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-coinbase-commerce_0.2.1_1777123012418_0.328800477403312","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@codespar/mcp-coinbase-commerce","version":"0.2.2","description":"MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.","type":"module","main":"./dist/index.js","bin":{"mcp-coinbase-commerce":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"devDependencies":{"@types/node":"^25.5.0","typescript":"^5.8.0"},"license":"MIT","keywords":["mcp","coinbase","coinbase-commerce","crypto","merchant","payments","checkout","btc","eth","usdc","stablecoin"],"mcpName":"io.github.codespar/mcp-coinbase-commerce","_id":"@codespar/mcp-coinbase-commerce@0.2.2","gitHead":"e8f2ad023876683538fe7b66a2fc88ab8d8ef92f","types":"./dist/index.d.ts","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-cpK+9UCjFV7PXQ66u3q+29o9RARGJmWj+4TFFfO3l2sLostRu+sYepwRKs80JHSNZJOZ3Q6j8M087n3oR63ZMQ==","shasum":"c1b93d114a2bb5c56ab6c2e637caea722d5ef613","tarball":"https://registry.npmjs.org/@codespar/mcp-coinbase-commerce/-/mcp-coinbase-commerce-0.2.2.tgz","fileCount":6,"unpackedSize":61548,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD3IZhnrmOk7st9HF5sN/5JBRwgtEIpRxHq3NyDUBpT2gIgbwIzEVHhGSvMBAsMp9TKmYuzgeqswaaRPrHeDFLxvvE="}]},"_npmUser":{"name":"codespar-npm","email":"fabiano@codespar.dev"},"directories":{},"maintainers":[{"name":"codespar-npm","email":"fabiano@codespar.dev"},{"name":"dangazineu","email":"daniel.gazineu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-coinbase-commerce_0.2.2_1782153518005_0.8150467666213586"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-24T02:07:30.515Z","modified":"2026-06-22T18:38:38.269Z","0.1.0":"2026-04-24T02:07:30.737Z","0.2.0":"2026-04-25T12:03:26.230Z","0.2.1":"2026-04-25T13:16:52.572Z","0.2.2":"2026-06-22T18:38:38.162Z"},"license":"MIT","keywords":["mcp","coinbase","coinbase-commerce","crypto","merchant","payments","checkout","btc","eth","usdc","stablecoin"],"description":"MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.","maintainers":[{"name":"codespar-npm","email":"fabiano@codespar.dev"},{"name":"dangazineu","email":"daniel.gazineu@gmail.com"}],"readme":"# @codespar/mcp-coinbase-commerce\n\nMCP server for [Coinbase Commerce](https://commerce.coinbase.com) — global crypto merchant payments.\n\nCoinbase 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.\n\n## Positioning vs the rest of the catalog\n\n| Server | Use case | Direction |\n|--------|----------|-----------|\n| `@codespar/mcp-coinbase-commerce` | **Merchants accept crypto at checkout** | Buyer pays merchant |\n| `@codespar/mcp-unblockpay` | BRL / MXN <-> USDC corridor | Value transfer |\n| `@codespar/mcp-moonpay` | End-user fiat <-> crypto (100+ assets) | Onramp / offramp |\n| `@codespar/mcp-transak` | End-user fiat <-> crypto (broad geo) | Onramp / offramp |\n\nUse Coinbase Commerce when an agent needs to **bill a buyer in crypto** — hosted charge page, reusable checkout, or directed invoice.\n\n## Tools (18)\n\n| Tool | Purpose |\n|---|---|\n| `create_charge` | Create a crypto charge — a one-time merchant invoice priced in local fiat that a buyer can settle in BTC, E... |\n| `retrieve_charge` | Retrieve a charge by its Coinbase Commerce id OR its short code (the 8-character code embedded in the hoste... |\n| `list_charges` | List charges, newest first. |\n| `cancel_charge` | Cancel a charge that has not yet been paid. |\n| `resolve_charge` | Manually resolve a charge as paid. |\n| `create_checkout` | Create a reusable hosted checkout — think product-page-style link that can be paid multiple times. |\n| `retrieve_checkout` | Retrieve a checkout by id. |\n| `list_checkouts` | List reusable hosted checkouts, newest first. |\n| `update_checkout` | Update an existing reusable checkout. |\n| `delete_checkout` | Delete a reusable checkout. |\n| `list_events` | List events — the lifecycle signals (charge:created, charge:confirmed, charge:failed, charge:delayed, charg... |\n| `retrieve_event` | Retrieve a single event by id. |\n| `create_invoice` | Create an invoice — a directed bill sent to a specific named recipient. |\n| `retrieve_invoice` | Retrieve an invoice by code. |\n| `list_invoices` | List invoices, newest first. |\n| `void_invoice` | Void an unpaid invoice. |\n| `list_exchange_rates` | Fetch current Coinbase exchange rates for a base asset (e.g. |\n| `verify_webhook_signature` | Local helper — verify a Coinbase Commerce webhook payload using HMAC-SHA256. |\n\n## Install\n\n```bash\nnpm install @codespar/mcp-coinbase-commerce\n```\n\n## Environment\n\n```bash\nCOINBASE_COMMERCE_API_KEY=\"...\"         # API key (required, secret)\nCOINBASE_COMMERCE_API_VERSION=\"...\"     # Optional. Defaults to 2018-03-22.\n```\n\nCreate an API key at <https://beta.commerce.coinbase.com/settings/security>.\n\n## Authentication\n\nEvery request carries two headers:\n\n```\nX-CC-Api-Key: <COINBASE_COMMERCE_API_KEY>\nX-CC-Version: 2018-03-22\n```\n\nThe version header is required. Pin it so future API changes don't silently break your integration.\n\n## Run\n\n```bash\n# stdio (default — for Claude Desktop, Cursor, etc)\nnpx @codespar/mcp-coinbase-commerce\n\n# HTTP (for server-to-server testing)\nMCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-coinbase-commerce\n```\n\n## Enterprise\n\nNeed governance, budget limits, and audit trails for agent payments? [CodeSpar Enterprise](https://codespar.dev/enterprise) adds policy engine, payment routing, and compliance templates on top of these MCP servers.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}