Skip to main content
Glama

GOAT MCP Server

模型上下文协议

🚀 快速入门

此示例向您展示如何创建 MCP 服务器以将 GOAT 与 Claude for Desktop 连接起来。

它适用于 EVM(Base Sepolia)和 Solana 链,但可以更新以支持任何其他链、钱包和一系列工具。

要求

  • 已安装 Claude 桌面版。您可以从此处下载。

设置

  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-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 桌面版。

注意:更改代码时,您需要确保:

  1. model-context-protocol文件夹中运行pnpm build以生成更新的evm.jssolana.js文件。
  2. 如果您更新了 json 文件:请将其重新复制到~/Library/Application Support/Claude/目录,或者使用新值更新claude_desktop_config.json文件。您还需要重新启动 Claude。

用法

  1. 运行 Claude 桌面版
  2. 与代理聊天:
  • 检查您的 ERC-20 代币余额
  • 将 ERC-20 代币发送到另一个地址
  • 再次检查你的余额,查看你刚刚发送的代币

有关如何使用模型上下文协议的更多信息,请查看文档

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

一个将 Claude for Desktop 与区块链功能连接起来的 MCP 服务器,允许用户通过自然语言交互检查余额并在 EVM 和 Solana 链上发送代币。

  1. 🚀 快速入门
    1. 要求
      1. 设置
        1. 为 Claude 配置 MCP 服务器
      2. 用法

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          An MCP server that allows accessing and managing ledger files through Claude by providing account listing, balance checking, and transaction register viewing capabilities.
          Last updated -
          1
          Python
          GPL 3.0
          • Apple
        • A
          security
          F
          license
          A
          quality
          An MCP server that connects Claude to BrianKnows' blockchain knowledge base, allowing users to search for blockchain/DeFi information and interact with a specialized agent across multiple knowledge bases.
          Last updated -
          3
          JavaScript
        • -
          security
          A
          license
          -
          quality
          An MCP server that provides seamless integration with the Neo N3 blockchain, allowing Claude to interact with blockchain data, manage wallets, transfer assets, and invoke smart contracts.
          Last updated -
          22
          3
          MIT License
          • Linux
          • Apple
        • -
          security
          -
          license
          -
          quality
          An MCP server that enables Claude and other MCP clients to interact with Mattermost workspaces, providing channel management, messaging capabilities, and topic monitoring functionality.
          Last updated -
          TypeScript

        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/cryptoleek-team/goat-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server