Skip to main content
Glama

MCP Coinbase Commerce Server

MCP Coinbase商务服务器

这是一个连接到 Coinbase Commerce API 的模型上下文协议 (MCP) 服务器,允许像 Claude 这样的 AI 助手生成加密货币支付链接。

特征

  • 生成具有可自定义金额、货币和描述的 Coinbase Commerce 支付链接
  • 检索有关现有费用的信息
  • 安全 API 密钥管理
  • 轻松与 Claude 和其他兼容 MCP 的 AI 助手集成

先决条件

  • Node.js 16.0+
  • Coinbase Commerce 账户
  • Coinbase Commerce API 密钥(在此获取

设置

  1. 克隆此存储库:
    git clone https://github.com/zhangzhongnan928/mcp-coinbase-commerce.git cd mcp-coinbase-commerce
  2. 安装依赖项:
    npm install
  3. .env.example复制到.env并添加您的 Coinbase Commerce API 密钥:
    cp .env.example .env # Edit .env file with your API key
  4. 构建项目:
    npm run build
  5. 启动服务器:
    npm start

与 Claude 桌面版一起使用

服务器运行后,您可以将其连接到 Claude for Desktop:

  1. 打开桌面版 Claude
  2. 点击 Claude 菜单 → 设置 → 开发者
  3. 点击“编辑配置”打开claude_desktop_config.json
  4. 添加 MCP 服务器配置:
{ "mcpServers": { "coinbase-commerce": { "command": "node", "args": ["/path/to/mcp-coinbase-commerce/dist/index.js"], "env": { "COINBASE_COMMERCE_API_KEY": "your_api_key_here" } } } }
  1. 保存文件并重新启动 Claude for Desktop
  2. 您现在应该在聊天界面看到一个锤子图标,表示可用的工具

克劳德的示例提示

连接后,您可以要求 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

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

连接到 Coinbase Commerce API,允许像 Claude 这样的 AI 助手生成加密货币支付链接。

  1. 特征
    1. 先决条件
      1. 设置
        1. 与 Claude 桌面版一起使用
          1. 克劳德的示例提示
            1. API 工具
              1. create-charge
              2. get-charge
            2. 发展
              1. 使用 MCP Inspector 进行测试
                1. 执照

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    Connects Claude to Portkey's API for managing AI configurations, workspaces, analytics, and user access, providing comprehensive control over API usage and settings.
                    Last updated 6 months ago
                    9
                    TypeScript
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    Provides onchain tools for Claude AI to interact with the Base blockchain and Coinbase API, enabling wallet management, fund transfers, and smart contract deployment.
                    Last updated 2 months ago
                    28
                    262
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • A
                    security
                    A
                    license
                    A
                    quality
                    Provides tools for AI assistants to interact with the Ethereum blockchain through standard JSON-RPC methods, enabling queries for account balances, gas prices, and smart contract code.
                    Last updated 4 months ago
                    6
                    8
                    JavaScript
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables Claude AI to interact with Paybyrd's payment processing API, allowing for creating payment links, processing refunds, and retrieving order information.
                    Last updated 4 months ago
                    2
                    TypeScript

                  View all related MCP servers

                  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