Skip to main content
Glama

MCP Coinbase Commerce Server

MCP Coinbaseコマースサーバー

これは、Coinbase Commerce API に接続するモデル コンテキスト プロトコル (MCP) サーバーであり、Claude などの AI アシスタントが暗号通貨の支払いリンクを生成できるようにします。

特徴

  • カスタマイズ可能な金額、通貨、説明を含む Coinbase Commerce の支払いリンクを生成します

  • 既存の料金に関する情報を取得する

  • 安全なAPIキー管理

  • Claude やその他の MCP 対応 AI アシスタントとの簡単な統合

前提条件

設定

  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 for Desktop での使用

サーバーが起動したら、Claude for Desktop に接続できます。

  1. デスクトップ版Claudeを開く

  2. クロードメニュー→設定→開発者をクリック

  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 Inspectorを使用してサーバーをテストできます。

npx @modelcontextprotocol/inspector node dist/index.js

ライセンス

マサチューセッツ工科大学

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

Related MCP Servers

  • -
    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 -
    13
    317
    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 -
    3
    11
    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 -
    3
  • A
    security
    F
    license
    A
    quality
    Provides AI assistants like Claude or Cursor with access to Payman AI's documentation, helping developers build integrations more efficiently.
    Last updated -
    5
    • Linux
    • Apple

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