Skip to content

Commit e7bffb3

Browse files
authored
Add Coinbase CDP MCP server (#215)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent bbf4782 commit e7bffb3

1 file changed

Lines changed: 105 additions & 0 deletions

File tree

servers/com.coinbase-mcp-npx.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.coinbase-mcp-npx",
4+
"name": "Coinbase CDP (npx)",
5+
"alias": "coinbase",
6+
"description": "Official Coinbase Developer Platform MCP server (from @coinbase/cdp-cli). Gives agents typed tool access to every CDP API endpoint - EVM/Solana accounts, onchain data, faucets, swaps, and the encode-sign-send pipeline. Tools are generated from the CDP OpenAPI spec, so new endpoints appear automatically.",
7+
"logo": "https://avatars.githubusercontent.com/u/1885080?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools"
11+
],
12+
"tags": [
13+
"coinbase",
14+
"crypto",
15+
"web3",
16+
"payments",
17+
"wallet",
18+
"blockchain",
19+
"evm"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"@coinbase/cdp-cli",
27+
"mcp"
28+
],
29+
"env": {
30+
"CDP_KEY_ID": "${input:CDP_KEY_ID}",
31+
"CDP_KEY_SECRET": "${input:CDP_KEY_SECRET}",
32+
"CDP_WALLET_SECRET": "${input:CDP_WALLET_SECRET}"
33+
},
34+
"metadata": {
35+
"inputs": [
36+
{
37+
"id": "CDP_KEY_ID",
38+
"label": "CDP API Key ID",
39+
"description": "Coinbase Developer Platform API key ID (the 'key id' / name portion). Create an API key in the CDP Portal under API keys.",
40+
"type": "text",
41+
"required": true,
42+
"secret": false,
43+
"placeholder": "00000000-0000-0000-0000-000000000000",
44+
"obtain": {
45+
"url": "https://portal.cdp.coinbase.com/projects/api-keys",
46+
"instructions": "1. Sign in at portal.cdp.coinbase.com\n2. Open your project and go to API keys\n3. Click 'Create API key'\n4. Copy the Key ID (and the Key Secret shown only once)",
47+
"button_label": "Create API Key"
48+
}
49+
},
50+
{
51+
"id": "CDP_KEY_SECRET",
52+
"label": "CDP API Key Secret",
53+
"description": "Secret for your CDP API key. Used to sign short-lived JWTs for every request. Shown only once at key creation time - store it securely.",
54+
"type": "text",
55+
"required": true,
56+
"secret": true,
57+
"placeholder": "****************************************",
58+
"obtain": {
59+
"url": "https://portal.cdp.coinbase.com/projects/api-keys",
60+
"instructions": "1. Sign in at portal.cdp.coinbase.com\n2. Open your project and go to API keys\n3. Click 'Create API key'\n4. Copy the Key Secret (displayed only once)",
61+
"button_label": "Create API Key"
62+
}
63+
},
64+
{
65+
"id": "CDP_WALLET_SECRET",
66+
"label": "CDP Wallet Secret (optional)",
67+
"description": "Wallet secret required only for account WRITE operations (create account, sign, send). Read-only API and onchain-data tools work without it. Generate it in the CDP Portal Server Wallet section.",
68+
"type": "text",
69+
"required": false,
70+
"secret": true,
71+
"placeholder": "****************************************",
72+
"obtain": {
73+
"url": "https://portal.cdp.coinbase.com/products/server-wallet/accounts",
74+
"instructions": "1. Sign in at portal.cdp.coinbase.com\n2. Go to Server Wallet > Accounts\n3. Click 'Generate Wallet Secret'\n4. Copy / download the wallet secret (needed only for write/sign/send operations)",
75+
"button_label": "Generate Wallet Secret"
76+
}
77+
}
78+
]
79+
}
80+
},
81+
"auth": {
82+
"type": "api_key",
83+
"instructions": "Create a CDP API key at portal.cdp.coinbase.com (API keys) to get CDP_KEY_ID and CDP_KEY_SECRET. For account write/sign/send operations, also generate a Wallet Secret (CDP_WALLET_SECRET) under Server Wallet."
84+
},
85+
"contributor": {
86+
"name": "Coinbase",
87+
"github": "coinbase",
88+
"url": "https://www.coinbase.com/developer-platform"
89+
},
90+
"links": {
91+
"repository": "https://github.com/coinbase/cdp-cli",
92+
"homepage": "https://www.coinbase.com/developer-platform",
93+
"documentation": "https://docs.cdp.coinbase.com/get-started/build-with-ai/cdp-for-agents"
94+
},
95+
"platforms": [
96+
"all"
97+
],
98+
"capabilities": {
99+
"tools": true,
100+
"resources": false,
101+
"prompts": false,
102+
"read_only_mode": false
103+
},
104+
"changelog_url": "https://www.npmjs.com/package/@coinbase/cdp-cli?activeTab=versions"
105+
}

0 commit comments

Comments
 (0)