Skip to main content
Glama
cryptoleek-team

GOAT MCP Server

モデルコンテキストプロトコル

🚀 クイックスタート

この例では、GOAT を Claude for Desktop に接続するための MCP サーバーを作成する方法を示します。

これは EVM (Base Sepolia) と Solana チェーンの両方に実装されていますが、他のチェーン、ウォレット、ツール シリーズをサポートするように更新できます。

Related MCP server: Monad MCP

要件

  • Claude for Desktopをインストールしてください。こちらからダウンロードできます。

設定

  1. リポジトリをクローンします。

git clone https://github.com/goat-sdk/goat.git && cd goat
  1. typescriptディレクトリから次のコマンドを実行します。

cd typescript
pnpm install
pnpm build
  1. サンプルディレクトリに移動します。

cd examples/by-framework/model-context-protocol

Claude 用の MCP サーバーを構成する

  1. mcp-evm.example.jsonファイルをmcp-evm.jsonにコピーします。

# For EVM
cp mcp-evm.example.json mcp-evm.json 

# For Solana
cp mcp-solana.example.json mcp-solana.json
  1. EVM または Solana の値を使用して json ファイルを更新します。

  • model-context-protocolフォルダの親フォルダへの絶対パス。model model-context-protocolフォルダでpwd実行すると取得できます。

  • WALLET_PRIVATE_KEY

  • RPC_PROVIDER_URL

  1. json ファイルをコピー/更新し、名前をclaude_desktop_config.jsonに変更して~/Library/Application Support/Claude/ディレクトリに保存します。

# For EVM
cp mcp-evm.json ~/Library/Application\ Support/Claude/claude_desktop_config.json

# For Solana
cp mcp-solana.json ~/Library/Application\ Support/Claude/claude_desktop_config.json

これは、Claude for Desktop に次のように伝えます。

  • 「goat-evm」/「goat-solana」という名前のMCPサーバーがあります

  • 指定されたコマンドを実行して起動します

  1. Claude for Desktop を再起動します。

注意: コードを変更するときは、次の点に注意してください。

  1. model-context-protocolフォルダーでpnpm build実行して、更新されたevm.jsファイルとsolana.jsファイルを生成します。

  2. json ファイルを更新する場合は、ファイルを~/Library/Application Support/Claude/ディレクトリに再度コピーするか、 claude_desktop_config.jsonファイルを新しい値で更新してください。また、Claude を再起動する必要があります。

使用法

  1. デスクトップ版Claudeを実行する

  2. エージェントとチャット:

  • ERC-20トークンの残高を確認する

  • ERC-20トークンを別のアドレスに送信する

  • 残高をもう一度確認して、送信したトークンを確認してください

モデル コンテキスト プロトコルの使用方法の詳細については、ドキュメントを参照してください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.
    37 npm
    166
    Apache 2.0
  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that allows querying MON token balances and NFT counts on the Monad testnet, enabling Claude Desktop to interact with the Monad blockchain.
    2
    -
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    An MCP server that allows Claude Desktop to query Monad testnet for MON token balances of accounts.
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    An enterprise-grade MCP server platform for executing real DeFi operations on Solana and EVM chains using natural language. It enables users to perform live trading, volume generation, and wallet management directly within Claude Desktop.
    29
    -