MCP Coinbase Commerce Server

Integrations

  • Manages environment variables for the MCP server, particularly for securely storing the Coinbase Commerce API key.

  • Connects to the Coinbase Commerce API, allowing the generation of cryptocurrency payment links with customizable amount, currency, and description, as well as retrieval of information about existing charges.

  • Provides access to the repository hosting the MCP server code, allowing users to clone and set up the server from the GitHub repository.

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

Coinbase Commerce API に接続し、Claude などの AI アシスタントが暗号通貨の支払いリンクを生成できるようにします。

  1. Features
    1. Prerequisites
      1. Setup
        1. Usage with Claude for Desktop
          1. Example Prompts for Claude
            1. API Tools
              1. create-charge
              2. get-charge
            2. Development
              1. Testing with MCP Inspector
                1. License
                  ID: p7ysbwvbea