MCP Coinbase Commerce Server
MCP Coinbase商务服务器
这是一个连接到 Coinbase Commerce API 的模型上下文协议 (MCP) 服务器,允许像 Claude 这样的 AI 助手生成加密货币支付链接。
特征
生成具有可自定义金额、货币和描述的 Coinbase Commerce 支付链接
检索有关现有费用的信息
安全 API 密钥管理
轻松与 Claude 和其他兼容 MCP 的 AI 助手集成
Related MCP server: NWC MCP Server
先决条件
Node.js 16.0+
Coinbase Commerce 账户
Coinbase Commerce API 密钥(在此获取)
设置
克隆此存储库:
git clone https://github.com/zhangzhongnan928/mcp-coinbase-commerce.git cd mcp-coinbase-commerce安装依赖项:
npm install将
.env.example复制到.env并添加您的 Coinbase Commerce API 密钥:cp .env.example .env # Edit .env file with your API key构建项目:
npm run build启动服务器:
npm start
与 Claude 桌面版一起使用
服务器运行后,您可以将其连接到 Claude for Desktop:
打开桌面版 Claude
点击 Claude 菜单 → 设置 → 开发者
点击“编辑配置”打开
claude_desktop_config.json添加 MCP 服务器配置:
{
"mcpServers": {
"coinbase-commerce": {
"command": "node",
"args": ["/path/to/mcp-coinbase-commerce/dist/index.js"],
"env": {
"COINBASE_COMMERCE_API_KEY": "your_api_key_here"
}
}
}
}保存文件并重新启动 Claude for Desktop
您现在应该在聊天界面看到一个锤子图标,表示可用的工具
克劳德的示例提示
连接后,您可以要求 Claude 生成支付链接:
“您能为我的项目创建一个 10 美元捐款的支付链接吗?”
“为我的咖啡店生成一个 Coinbase Commerce 支付链接,价格为 5.50 美元”
“查找费用 ID 93e23c3e-8220-4e6c-9bc3-ea3548339621 的付款状态”
Claude 将使用适当的工具来满足这些请求,生成您可以与客户分享的付款链接。
API 工具
create-charge
使用以下参数生成新的支付链接:
name:付款/产品的名称description:付款用途的描述amount:付款金额(例如“10.00”)currency:货币代码(例如“USD”、“EUR”、“BTC”)redirectUrl(可选):付款完成后重定向的 URL
get-charge
使用以下方法检索有关现有费用的信息:
chargeId:要检索的费用的 ID
发展
要在开发模式下运行服务器:
npm run dev使用 MCP Inspector 进行测试
您可以使用MCP 检查器测试服务器:
npx @modelcontextprotocol/inspector node dist/index.js执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseNot gradedqualityFmaintenanceProvides onchain tools for Claude AI to interact with the Base blockchain and Coinbase API, enabling wallet management, fund transfers, and smart contract deployment.52351MIT- AlicenseBqualityFmaintenanceConnects a Bitcoin Lightning wallet to your LLM using Nostr Wallet Connect, enabling payment functionalities within language models like Claude.6915MIT
- AlicenseNot gradedqualityFmaintenanceProvides tools for interacting with the Coinbase Advanced Trading API, enabling autonomous crypto trading via a Claude skill.5MIT
- AlicenseCqualityDmaintenanceEnables Claude to integrate with Stripe for creating payment links, processing payments, and managing products and customers.1759MIT
Related MCP Connectors
Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
Keyless non-custodial crypto payments for AI agents: payment links and tip jars, no API key.
Agent Commerce Protocol MCP — bridges Stripe ACP + Google AP2 + Coinbase x402 for agent payments
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhangzhongnan928/mcp-coinbase-commerce'
If you have feedback or need assistance with the MCP directory API, please join our Discord server