
Mcp Coinbase Cdp
io.github.codesparPublished by GitHub account codesparv0.1.1Updated Oct 24, 2026
MCP server for Coinbase Developer Platform (CDP) — Trading, Wallets, Payments under one CDP key
Overview
A local MCP server for Coinbase Developer Platform that lets an assistant manage swaps, wallets and onchain payments under one CDP key.
- What you can do
- List, create, inspect and cancel onchain swaps, including status, executed amounts, gas and transaction hash. Create and list wallets, fetch a wallet by id, and list asset balances across addresses and networks. Send transfers from a wallet and look up single or historical transactions. Create, list, inspect and cancel outbound onchain payments to a payee.
- When to use it
- Use it when you want an assistant to work with Coinbase Developer Platform trading, wallet or payment operations from a desktop MCP client, rather than the separate Advanced Trade or Commerce servers.
- Requirements
- Runs locally as an npm package (Node.js) over stdio, or over HTTP when MCP_HTTP is set. Needs a CDP account and two environment variables: COINBASE_CDP_KEY_NAME (key id) and COINBASE_CDP_PRIVATE_KEY (full PEM block, including BEGIN/END lines). Network access to the CDP API host.
Installation
In SourceWeft
- Open Mcp Coinbase Cdp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@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
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)
Wallets (7)
Payments (4)
Install
Environment
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/ENDlines. When supplying via shell env, wrap in double quotes and preserve newlines (or use$'...'/ a.envfile).
Authentication
CDP signs every request with a fresh ES256 JWT in the Authorization: Bearer … header.
JWT claims (per request):
JWT header:
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
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
Source: packages/crypto/coinbase-cdp/README.md at commit d0a519a
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts