Skip to content
MCP server
Registry

mcp-coinbase-cdp MCP Server

MCP server for Coinbase Developer Platform (CDP) — Trading, Wallets, Payments under one CDP key

mcp-coinbase-cdp scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 14 tools. Filed under Finance. Package registries report about 73 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by codesparNo license
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "codespar-coinbase-cdp": {      "command": "npx",      "args": [        "-y",        "@codespar/mcp-coinbase-cdp@0.1.1"      ],      "env": {        "COINBASE_CDP_KEY_NAME": "",        "COINBASE_CDP_PRIVATE_KEY": "YOUR_COINBASE_CDP_PRIVATE_KEY"      }    }  }}

Environment variables

NameRequiredNotes
COINBASE_CDP_KEY_NAMERequiredCDP key id of the form organizations/<org>/apiKeys/<id>. Mint at https://portal.cdp.coinbase.com.
COINBASE_CDP_PRIVATE_KEYSecretRequiredPEM-encoded ECDSA P-256 private key downloaded once at mint time from https://portal.cdp.coinbase.com. Pass the full PEM including BEGIN/END lines.

Tools14Tool docs quality grade C

All capabilities
  • Cancel a pending payment before it lands onchain.

  • Cancel a pending swap before it lands onchain.

  • Create an onchain payment (outbound transfer to a payee).

  • Create an onchain swap between two assets.

  • Create a new wallet (smart / embedded / MPC).

  • Get a single payment by id.

  • Get a single swap by id — full status, executed amounts, gas, tx hash.

  • Get a single transaction by id.

  • Get a single wallet by id.

  • List asset balances across all addresses + networks.

  • List historical payments.

  • List recent swap quotes minted under the authenticated CDP account.

About

@codespar/mcp-coinbase-cdp

MCP server for the Coinbase Developer Platform (CDP) — single npm package covering three CDP product surfaces under one key:

  • Trading — onchain swap / trade API
  • Wallets — Smart / Embedded / MPC wallet primitives
  • Payments — onchain outbound payment infrastructure

All three live on the same CDP account, share one ES256 JWT-signed key, and share one base URL (https://api.cdp.coinbase.com) — so they ship as one package, not three.

Positioning vs the rest of the catalog

ServerCoinbase surfaceAuth
@codespar/mcp-coinbaseAdvanced Trade exchange (legacy retail)HMAC API keys (CB-ACCESS-*)
@codespar/mcp-coinbase-commerceCommerce merchant gateway (accept BTC/ETH/USDC at checkout)API key (X-CC-Api-Key)
@codespar/mcp-coinbase-cdpDeveloper Platform (Trading + Wallets + Payments)ES256 JWT (this package)

Each surface has a separate API host, a separate key type, and a separate dashboard — they do not share credentials. Mint the right key for the surface you want.

Tools (15)

Trading (4)

ToolPurpose
list_quotesList recent swap quotes minted under the authenticated CDP account.
create_swapCreate an onchain swap between two assets.
get_swapGet a single swap by id — full status, executed amounts, gas, tx hash.
cancel_swapCancel a pending swap before it lands onchain.

Wallets (7)

ToolPurpose
create_walletCreate a new wallet (smart / embedded / MPC).
list_walletsList wallets under the authenticated CDP account.
get_walletGet a single wallet by id.
list_balancesList asset balances across all addresses + networks.
transferSend a transfer from a wallet to a destination address.
get_transactionGet a single transaction by id.
list_transactionsList historical transactions for a wallet.

Payments (4)

ToolPurpose
create_paymentCreate an onchain payment (outbound transfer to a payee).
list_paymentsList historical payments.
get_paymentGet a single payment by id.
cancel_paymentCancel a pending payment before it lands onchain.

Install

npm install -g @codespar/mcp-coinbase-cdp

Environment

COINBASE_CDP_KEY_NAME="organizations/<org>/apiKeys/<id>"
COINBASE_CDP_PRIVATE_KEY="-----BEGIN EC PRIVATE KEY-----
...
-----END EC PRIVATE KEY-----"

Mint the key (and download the PEM once — it is not recoverable later) at https://portal.cdp.coinbase.com. The same key authenticates Trading, Wallets, and Payments.

Important — the PEM must be the full multi-line block including BEGIN/END lines. When supplying via shell env, wrap in double quotes and preserve newlines (or use $'...' / a .env file).

Authentication

CDP signs every request with a fresh ES256 JWT in the Authorization: Bearer … header.

JWT claims (per request):

ClaimValue
subCOINBASE_CDP_KEY_NAME
iss"cdp"
aud["cdp_service"]
nbfnow (unix seconds)
expnow + 120
uri"<METHOD> api.cdp.coinbase.com<path>" (path includes any query string)

JWT header:

FieldValue
alg"ES256"
typ"JWT"
kidCOINBASE_CDP_KEY_NAME
noncerandom 16-byte hex (per request)

Signed with the ECDSA P-256 private key from COINBASE_CDP_PRIVATE_KEY. The PEM is imported once at startup and cached — only the JWT is minted per request.

Run

# stdio (default — for Claude Desktop, Cursor, etc.)
npx @codespar/mcp-coinbase-cdp

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-coinbase-cdp

Enterprise

Need governance, budget limits, and audit trails for agent-driven onchain transactions? 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-cdp MCP Server?

MCP server for Coinbase Developer Platform (CDP) — Trading, Wallets, Payments under one CDP key

How do I install mcp-coinbase-cdp 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-cdp MCP Server runs locally from the npm package @codespar/mcp-coinbase-cdp with the command npx -y @codespar/mcp-coinbase-cdp@0.1.1.

Does mcp-coinbase-cdp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mcp-coinbase-cdp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does mcp-coinbase-cdp MCP Server provide?

mcp-coinbase-cdp MCP Server provides 14 tools, including cancel_payment, cancel_swap, create_payment, and create_swap. See the full tool list for descriptions and parameters.

How is mcp-coinbase-cdp MCP Server's trust score calculated?

mcp-coinbase-cdp 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server