
Mcp Coinbase Cdp
io.github.codespar由 GitHub 帳號 codespar 發布v0.1.1更新於 Oct 24, 2026
MCP server for Coinbase Developer Platform (CDP) — Trading, Wallets, Payments under one CDP key
概覽
面向 Coinbase Developer Platform 的本機 MCP 伺服器,讓助理用同一把 CDP 金鑰管理兌換、錢包與鏈上付款。
- 可以做什麼
- 列出、建立、查詢與取消鏈上兌換,包含狀態、成交數量、gas 與交易雜湊。建立與列出錢包、依 id 取得錢包,並列出跨地址與網路的資產餘額。從錢包發起轉帳,並查詢單筆或歷史交易。建立、列出、查詢與取消給收款方的鏈上對外付款。
- 適用情境
- 當你想在桌面 MCP 用戶端中讓助理操作 Coinbase Developer Platform 的交易、錢包或付款功能,而不是使用獨立的 Advanced Trade 或 Commerce 伺服器時使用。
- 執行需求
- 以 npm 套件形式在本機執行(需要 Node.js),預設走 stdio;設定 MCP_HTTP 後可透過 HTTP 執行。需要 CDP 帳戶與兩個環境變數:COINBASE_CDP_KEY_NAME(金鑰 id)和 COINBASE_CDP_PRIVATE_KEY(完整 PEM 區塊,含 BEGIN/END 行)。需要連線至 CDP API 主機的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Coinbase Cdp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
來源:packages/crypto/coinbase-cdp/README.md,提交 d0a519a
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分