MCP Coinbaseコマースサーバー
これは、Coinbase Commerce API に接続するモデル コンテキスト プロトコル (MCP) サーバーであり、Claude などの AI アシスタントが暗号通貨の支払いリンクを生成できるようにします。
特徴
- カスタマイズ可能な金額、通貨、説明を含む Coinbase Commerce の支払いリンクを生成します
- 既存の料金に関する情報を取得する
- 安全なAPIキー管理
- Claude やその他の MCP 対応 AI アシスタントとの簡単な統合
前提条件
- Node.js 16.0以上
- Coinbase Commerceアカウント
- Coinbase Commerce API キー (こちらから取得)
設定
- このリポジトリをクローンします:
- 依存関係をインストールします:
.env.example
を.env
にコピーし、Coinbase Commerce API キーを追加します。- プロジェクトをビルドします。
- サーバーを起動します。
Claude for Desktop での使用
サーバーが起動したら、Claude for Desktop に接続できます。
- デスクトップ版Claudeを開く
- クロードメニュー→設定→開発者をクリック
- 「設定の編集」をクリックして
claude_desktop_config.json
を開きます。 - MCP サーバー構成を追加します。
- ファイルを保存し、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
発達
サーバーを開発モードで実行するには:
MCP Inspectorによるテスト
MCP Inspectorを使用してサーバーをテストできます。
ライセンス
マサチューセッツ工科大学
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Coinbase Commerce API に接続し、Claude などの AI アシスタントが暗号通貨の支払いリンクを生成できるようにします。
Related MCP Servers
- AsecurityAlicenseAqualityEnables Claude to interact with Ethereum nodes, allowing users to check ENS token balances, view smart contract code, and decode transactions through natural language.Last updated -51JavaScriptMIT License
- -securityFlicense-qualityEnables secure interactions with cryptocurrency daemon RPC interfaces through AI assistants, supporting transaction management, wallet operations, and daemon monitoring for Bitcoin-derived cryptocurrencies.Last updated -1TypeScript
Base MCP Serverofficial
-securityAlicense-qualityProvides 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 -73245TypeScriptMIT License- AsecurityAlicenseAqualityProvide the latest cryptocurrency news to AI agents.Last updated -140PythonMIT License