@codespar/mcp-coinbase-commerce 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/index.js +4 -1
- package/package.json +2 -2
- package/server.json +14 -5
- package/src/index.ts +6 -1
package/README.md
CHANGED
|
@@ -74,6 +74,10 @@ npx @codespar/mcp-coinbase-commerce
|
|
|
74
74
|
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-coinbase-commerce
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
+
## Enterprise
|
|
78
|
+
|
|
79
|
+
Need governance, budget limits, and audit trails for agent payments? [CodeSpar Enterprise](https://codespar.dev/enterprise) adds policy engine, payment routing, and compliance templates on top of these MCP servers.
|
|
80
|
+
|
|
77
81
|
## License
|
|
78
82
|
|
|
79
83
|
MIT
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,10 @@ function verifyWebhook(rawBody, signature, secret) {
|
|
|
105
105
|
return false;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
109
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
110
|
+
const MANAGED_TIER_HINT = "This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
|
|
111
|
+
const server = new Server({ name: "mcp-coinbase-commerce", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
109
112
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
110
113
|
tools: [
|
|
111
114
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-coinbase-commerce",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "MCP server for Coinbase Commerce
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "MCP server for Coinbase Commerce — global crypto merchant payments. Accept BTC, ETH, USDC and more at checkout with hosted charges, checkouts, and invoices.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"bin": {
|
package/server.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.codespar/mcp-coinbase-commerce",
|
|
4
|
-
"description": "MCP server for Coinbase Commerce —
|
|
4
|
+
"description": "MCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiat",
|
|
5
5
|
"repository": {
|
|
6
|
-
"url": "https://github.com/codespar/mcp-dev-
|
|
6
|
+
"url": "https://github.com/codespar/mcp-dev-latam",
|
|
7
7
|
"source": "github",
|
|
8
8
|
"subfolder": "packages/crypto/coinbase-commerce"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.2.
|
|
10
|
+
"version": "0.2.2",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@codespar/mcp-coinbase-commerce",
|
|
15
|
-
"version": "0.2.
|
|
15
|
+
"version": "0.2.2",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
|
@@ -40,5 +40,14 @@
|
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"provider": {
|
|
45
|
+
"homepage": "https://www.commerce.coinbase.com",
|
|
46
|
+
"logoUrl": "https://logo.clearbit.com/commerce.coinbase.com",
|
|
47
|
+
"logoFallback": "https://www.google.com/s2/favicons?domain=commerce.coinbase.com&sz=128",
|
|
48
|
+
"docsUrl": "https://docs.cloud.coinbase.com/commerce",
|
|
49
|
+
"sandbox": {
|
|
50
|
+
"available": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
44
53
|
}
|
package/src/index.ts
CHANGED
|
@@ -108,9 +108,14 @@ function verifyWebhook(rawBody: string, signature: string, secret: string): bool
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
112
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
113
|
+
const MANAGED_TIER_HINT =
|
|
114
|
+
"This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
|
|
115
|
+
|
|
111
116
|
const server = new Server(
|
|
112
117
|
{ name: "mcp-coinbase-commerce", version: "0.2.1" },
|
|
113
|
-
{ capabilities: { tools: {} } }
|
|
118
|
+
{ capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
|
|
114
119
|
);
|
|
115
120
|
|
|
116
121
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|