Skip to main content
CC

Coinbase CDP Payments

@codespar/mcp-coinbase-cdp Β· v0.1.1

🌐 GlobalCryptoAuth · JWT-ECDSAbeta4 tools2 env vars

Onchain payment infrastructure on Coinbase Developer Platform. Distinct from Coinbase Commerce (merchant accept) β€” CDP Payments is programmatic payment rails for agent-to-agent / agent-to-wallet flows. Endpoint set provisional.

Get started Β· freeView docs

MIT Β· runs locally with your own credentials

Limitations

  • The server does not start without its environment variables set, not even to list its tools.
  • Hosted calls with a test key are not available: the runtime has not recorded this provider's test behaviour (test venue unclassified).
Package
@codespar/mcp-coinbase-cdp
Version
0.1.1
npm dist-tag
latest
Category
Crypto
Auth
JWT-ECDSA
Country
🌐 Global
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, with your own credentials.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables2 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 4 tools. Try create_payment first.
terminal
# Claude Code claude mcp add coinbase-cdp-payments -e COINBASE_CDP_KEY_NAME=… -e COINBASE_CDP_PRIVATE_KEY=… -- npx -y @codespar/mcp-coinbase-cdp@0.1.1 # then: /mcp to confirm the server is connected
Environment variables2 variables
COINBASE_CDP_KEY_NAMECDP key id of the form organizations/<org>/apiKeys/<id>. Mint at https://portal.cdp.coinbase.com.required
COINBASE_CDP_PRIVATE_KEYPEM-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.requiredsecret

Names read from the package code (@codespar/mcp-coinbase-cdp@0.1.1). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

First call democreate_payment

"Create an onchain payment"

tools/callcreate_paymentresult returned

Tools

What your agent can call.

4 tools, as the package's tools/list returns them.

create_payment

Create an onchain payment (outbound transfer to a payee). Returns the payment id and initial status. Endpoint set provisional.

list_payments

List historical payments under the authenticated CDP account. Cursor-paginated. Endpoint set provisional.

get_payment

Get a single payment by id β€” full status, tx hash, gas. Endpoint set provisional.

cancel_payment

Cancel a pending payment before it lands onchain. Endpoint set provisional.

Names and descriptions come from the package's tools/list (@codespar/mcp-coinbase-cdp@0.1.1). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

codespar_discover lists this server's tools, but a project with a test key cannot call them yet: the runtime has not recorded what this provider does in test mode, and refuses rather than guess.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Coinbase CDP Payments MCP server?

Run npx -y @codespar/mcp-coinbase-cdp@0.1.1 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required.

What can my agent do with Coinbase CDP Payments?

Coinbase CDP Payments exposes 4 tools for crypto. Your agent calls them directly; the full list is above.

How does Coinbase CDP Payments authenticate, and how are credentials stored?

Coinbase CDP Payments uses JWT-ECDSA. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Coinbase CDP Payments handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.1.1, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Coinbase CDP Payments open source? How do I report a bug?

Yes. Coinbase CDP Payments is MIT-licensed and published on npm as @codespar/mcp-coinbase-cdp, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

Add the config above, set the variables, and your agent calls the tools.

Start in seconds demo
Add the server to your client with the config above.
Set the environment variables listed above.
Ask your agent for the first call.
Coinbase CDP Payments β€” MCP server Β· 4 tools | CodeSpar