# io.github.codespar/mcp-coinbase-commerce (npm · @codespar/mcp-coinbase-commerce)

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

- Trust score: 71/100 (medium)
- Change this week: +32
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-coinbase-commerce`: 71/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce.md), [page](https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-coinbase-commerce`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 81/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 1636 tokens (~90/item across 18 items; 18 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-coinbase-commerce -- npx -y @codespar/mcp-coinbase-commerce
```

### Codex

```bash
codex mcp add codespar-mcp-coinbase-commerce -- npx -y @codespar/mcp-coinbase-commerce
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-coinbase-commerce": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-coinbase-commerce"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-coinbase-commerce --command npx --arg -y --arg @codespar/mcp-coinbase-commerce
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-coinbase-commerce:
    command: "npx"
    args: ["-y", "@codespar/mcp-coinbase-commerce"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-coinbase-commerce": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-coinbase-commerce"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 71, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-03 (score 70, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 66, +46)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-08-01 (score 20, −8)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-30 (score 46, +7)

No change was recorded against any check on this day. Schema Quality & AI Usability went from 0 to 29.

### 2026-07-28 (score 39, −7)

- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (18)

### `create_charge` (~199 tokens)

Create a crypto charge — a one-time merchant invoice priced in local fiat that a buyer can settle in BTC, ETH, USDC, and other supported assets. Returns a hosted_url the buyer can be redirected to, plus per-asset payment addresses.

Input parameters:

- `cancel_url` (string): Browser redirect if the buyer abandons the hosted page
- `description` (string, required): Longer human-readable description of what the buyer is paying for
- `local_price` (object): Fiat-denominated price the charge is quoted in. Required when pricing_type is fixed_price.
- `metadata` (object): Arbitrary JSON you want echoed back on events (customer_id, order_id, etc.)
- `name` (string, required): Short product/order name shown on the hosted payment page
- `pricing_type` (string, required): fixed_price: exact amount in local_price. no_price: buyer chooses (donations).
- `redirect_url` (string): Browser redirect after a successful payment

### `retrieve_charge` (~55 tokens)

Retrieve a charge by its Coinbase Commerce id OR its short code (the 8-character code embedded in the hosted URL). Returns current status, timeline, and payments.

Input parameters:

- `code_or_id` (string, required): Charge id or short code

### `list_charges` (~92 tokens)

List charges, newest first. Supports cursor pagination via starting_after / ending_before.

Input parameters:

- `ending_before` (string): Cursor: return results before this charge id
- `limit` (number): Max results per page (default 25, max 100)
- `order` (string): Sort order by created_at. Defaults to desc.
- `starting_after` (string): Cursor: return results after this charge id

### `cancel_charge` (~46 tokens)

Cancel a charge that has not yet been paid. Only charges in NEW status can be cancelled; once pending or completed the call will fail.

Input parameters:

- `code` (string, required): Charge short code

### `resolve_charge` (~48 tokens)

Manually resolve a charge as paid. Used for out-of-band settlement (e.g. underpayment you accept, delayed confirmation you want to honour).

Input parameters:

- `code` (string, required): Charge short code

### `create_checkout` (~126 tokens)

Create a reusable hosted checkout — think product-page-style link that can be paid multiple times. Good for evergreen SKUs and donation pages.

Input parameters:

- `description` (string, required): Longer description shown to buyers
- `local_price` (object): Fiat-denominated price. Required when pricing_type is fixed_price.
- `name` (string, required): Product / checkout name
- `pricing_type` (string, required): fixed_price: exact amount in local_price. no_price: buyer chooses.
- `requested_info` (array): Buyer fields Coinbase should collect on the hosted page (e.g. ["name", "email"])

### `retrieve_checkout` (~23 tokens)

Retrieve a checkout by id.

Input parameters:

- `id` (string, required): Checkout id

### `list_checkouts` (~94 tokens)

List reusable hosted checkouts, newest first. Cursor pagination via starting_after / ending_before.

Input parameters:

- `ending_before` (string): Cursor: return results before this checkout id
- `limit` (number): Max results per page (default 25, max 100)
- `order` (string): Sort order by created_at. Defaults to desc.
- `starting_after` (string): Cursor: return results after this checkout id

### `update_checkout` (~121 tokens)

Update an existing reusable checkout. Supply only the fields you want to change (Coinbase replaces the supplied fields). Use to retitle a product, change the price, or adjust which buyer fields are collected.

Input parameters:

- `description` (string): New checkout description
- `id` (string, required): Checkout id to update
- `local_price` (object): New fiat-denominated price
- `name` (string): New checkout / product name
- `pricing_type` (string): Update pricing model
- `requested_info` (array): New list of buyer fields to collect

### `delete_checkout` (~41 tokens)

Delete a reusable checkout. The hosted URL stops accepting new payments. Existing charges spawned by the checkout are unaffected.

Input parameters:

- `id` (string, required): Checkout id to delete

### `list_events` (~122 tokens)

List events — the lifecycle signals (charge:created, charge:confirmed, charge:failed, charge:delayed, charge:pending, charge:resolved) that Coinbase Commerce also delivers via webhook. Useful for reconciliation and agent polling.

Input parameters:

- `ending_before` (string): Cursor: return results before this event id
- `limit` (number): Max results per page (default 25, max 100)
- `order` (string): Sort order by created_at. Defaults to desc.
- `starting_after` (string): Cursor: return results after this event id

### `retrieve_event` (~59 tokens)

Retrieve a single event by id. Useful when auditing a webhook delivery or replaying state — fetch the event Coinbase Commerce recorded server-side and compare against what your endpoint received.

Input parameters:

- `id` (string, required): Event id (the id field on a webhook payload)

### `create_invoice` (~122 tokens)

Create an invoice — a directed bill sent to a specific named recipient. Unlike a charge, an invoice captures who it was issued to and has its own draft / viewed / paid lifecycle.

Input parameters:

- `business_name` (string, required): Your business name shown on the invoice
- `customer_email` (string, required): Email of the invoice recipient
- `customer_name` (string, required): Display name of the invoice recipient
- `local_price` (object, required): Fiat-denominated amount the invoice is quoted in
- `memo` (string): Free-form note to the recipient (appears on invoice)

### `retrieve_invoice` (~51 tokens)

Retrieve an invoice by code. Returns recipient details, status (DRAFT, OPEN, VIEWED, PAID, VOID), and the linked charge once payment begins.

Input parameters:

- `code` (string, required): Invoice short code

### `list_invoices` (~91 tokens)

List invoices, newest first. Cursor pagination via starting_after / ending_before.

Input parameters:

- `ending_before` (string): Cursor: return results before this invoice id
- `limit` (number): Max results per page (default 25, max 100)
- `order` (string): Sort order by created_at. Defaults to desc.
- `starting_after` (string): Cursor: return results after this invoice id

### `void_invoice` (~48 tokens)

Void an unpaid invoice. The recipient can no longer pay it. Already-paid invoices cannot be voided — refund out-of-band if needed.

Input parameters:

- `code` (string, required): Invoice short code to void

### `list_exchange_rates` (~86 tokens)

Fetch current Coinbase exchange rates for a base asset (e.g. BTC, ETH, USDC) against every supported fiat and crypto. Useful for quoting or reconciling fiat-equivalent amounts. This endpoint is public and does not require the API key.

Input parameters:

- `currency` (string): Base currency code (e.g. BTC, ETH, USDC, USD). Defaults to USD.

### `verify_webhook_signature` (~145 tokens)

Local helper — verify a Coinbase Commerce webhook payload using HMAC-SHA256. Pass the EXACT raw request body string (do not re-stringify the parsed JSON, byte-equivalence matters) and the X-CC-Webhook-Signature header value. The shared secret comes from COINBASE_COMMERCE_WEBHOOK_SECRET unless overridden. Returns { valid: boolean }.

Input parameters:

- `raw_body` (string, required): Exact raw request body bytes as a string
- `secret` (string): Override webhook shared secret. Defaults to COINBASE_COMMERCE_WEBHOOK_SECRET env var.
- `signature` (string, required): X-CC-Webhook-Signature header value (hex)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce#diagnostics

## Score history

- 2026-08-04: 71
- 2026-08-03: 70
- 2026-08-02: 66
- 2026-08-01: 20
- 2026-07-31: 28
- 2026-07-30: 46
- 2026-07-28: 39
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-coinbase-commerce
- Socket report: https://socket.dev/npm/package/@codespar/mcp-coinbase-commerce
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-coinbase-commerce/codespar-mcp-coinbase-commerce
