Sponsored by Deepsite.site

MCP Coinbase Commerce Server

Created By
zhangzhongnan928a year ago
MCP server for generating Coinbase Commerce payment links
Content

MCP Coinbase Commerce Server

This is a Model Context Protocol (MCP) server that connects to the Coinbase Commerce API, allowing AI assistants like Claude to generate cryptocurrency payment links.

Features

  • Generate Coinbase Commerce payment links with customizable amount, currency, and description
  • Retrieve information about existing charges
  • Secure API key management
  • Easy integration with Claude and other MCP-compatible AI assistants

Prerequisites

  • Node.js 16.0+
  • A Coinbase Commerce account
  • Coinbase Commerce API key (Get one here)

Setup

  1. Clone this repository:

    git clone https://github.com/zhangzhongnan928/mcp-coinbase-commerce.git
    cd mcp-coinbase-commerce
    
  2. Install dependencies:

    npm install
    
  3. Copy .env.example to .env and add your Coinbase Commerce API key:

    cp .env.example .env
    # Edit .env file with your API key
    
  4. Build the project:

    npm run build
    
  5. Start the server:

    npm start
    

Usage with Claude for Desktop

Once the server is running, you can connect it to Claude for Desktop:

  1. Open Claude for Desktop
  2. Click on the Claude menu → Settings → Developer
  3. Click "Edit Config" to open claude_desktop_config.json
  4. Add the MCP server configuration:
{
  "mcpServers": {
    "coinbase-commerce": {
      "command": "node",
      "args": ["/path/to/mcp-coinbase-commerce/dist/index.js"],
      "env": {
        "COINBASE_COMMERCE_API_KEY": "your_api_key_here"
      }
    }
  }
}
  1. Save the file and restart Claude for Desktop
  2. You should now see a hammer icon in the chat interface, indicating available tools

Example Prompts for Claude

Once connected, you can ask Claude to generate payment links:

  • "Can you create a payment link for $10 USD donations to my project?"
  • "Generate a Coinbase Commerce payment link for my coffee shop with a price of $5.50"
  • "Look up the payment status for charge ID 93e23c3e-8220-4e6c-9bc3-ea3548339621"

Claude will use the appropriate tools to fulfill these requests, generating payment links you can share with customers.

API Tools

create-charge

Generates a new payment link with the following parameters:

  • name: Name of the payment/product
  • description: Description of what the payment is for
  • amount: Payment amount (e.g., "10.00")
  • currency: Currency code (e.g., "USD", "EUR", "BTC")
  • redirectUrl (optional): URL to redirect after payment completes

get-charge

Retrieves information about an existing charge using:

  • chargeId: ID of the charge to retrieve

Development

To run the server in development mode:

npm run dev

Testing with MCP Inspector

You can test the server using the MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Amap Maps高德地图官方 MCP Server
ChatWiseThe second fastest AI chatbot™