Mesh Agent MCP Server

Official
by heurist-network
Verified
MIT License
9
  • Apple
  • Linux

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Supports configuration of API keys and server settings through environment variables stored in .env files.

  • Provides access to blockchain data and smart contract analysis, including token metrics and interactions with Ethereum-based networks.

  • Provides security analysis and blockchain data for tokens on the Fantom network through integrated tools.

网格代理 MCP 服务器

连接到Heurist Mesh API 的模型上下文协议 (MCP) 服务器,为 Claude 提供对各种区块链和 web3 工具的访问权限。

Heurist Mesh 是一个由专用 AI 代理和工具组成的开放网络,每个代理和工具都专注于特定的 Web3 领域,例如区块链数据分析、智能合约安全、代币指标和区块链交互。我们正在积极拓展 Heurist Mesh 生态系统,持续集成更多工具以扩展其功能。

特征

  • 连接到 Heurist Mesh API
  • 加载加密货币数据和 Web3 用例的工具
  • 支持 SSE 和 stdio 传输
  • 与 Cursor、Claude Desktop 和其他 MCP 兼容接口中的 Claude 配合使用
  • 使用一个 API 密钥访问多项服务(例如 CoinGecko 加密市场数据、GoPlus 代币安全审查)

托管 SSE 端点(Alpha 版本)

我们在https://sequencer-v2.heurist.xyz/mcp/sse提供了一个托管的 SSE 端点。它包含以下常用代理的所有工具:CoingeckoTokenInfoAgent、ElfaTwitterIntelligenceAgent、ExaSearchAgent、DexScreenerTokenInfoAgent 和 ZerionWalletAnalysisAgent。这是一个共享服务器,性能可能不稳定。

Cursor 可以直接访问 SSE 服务器。对于 Claude Desktop 用户,我们建议安装mcp-proxy来连接 SSE 服务器。

先决条件

安装

使用紫外线(推荐)

# Clone the repository git clone https://github.com/yourusername/heurist-mesh-agent-mcp.git cd heurist-mesh-agent-mcp # Install the package uv pip install -e .

使用 Docker

# Clone the repository git clone https://github.com/yourusername/heurist-mesh-agent-mcp.git cd heurist-mesh-agent-mcp # Build the Docker image docker build -t mesh-tool-server .

用法

选项 1:使用 stdio Transport 运行(适用于 Claude Desktop)

使用紫外线

要将其与 Claude Desktop 一起使用,请将以下内容添加到您的claude_desktop_config.json中:

{ "mcpServers": { "heurist-mesh-agent": { "command": "uv", "args": [ "--directory", "/path/to/heurist-mesh-mcp-server/mesh_mcp_server", // Update this path "run", "mesh-tool-server" ], "env": { "HEURIST_API_KEY": "your-api-key-here" // Update this key } } } }

使用 Docker

或者,您可以通过将其添加到claude_desktop_config.json中来将 Docker 与 Claude Desktop 一起使用:

{ "mcpServers": { "mesh-agent": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "TRANSPORT=stdio", "-e", "HEURIST_API_KEY=your-api-key-here", // Update this key "mesh-tool-server" ] } } }

/path/to/mesh-agent-mcp替换为存储库的实际路径,并将your-api-key-here为您的 Heurist API 密钥。

选项 2:使用 SSE Transport 运行(用于 Cursor)

.env中设置环境变量

cp .env.example .env HEURIST_API_KEY=your-api-key-here

使用紫外线:

uv run mesh-tool-server --transport sse --port 8000

使用 Docker:

docker run -p 8000:8000 -e PORT=8000 mesh-tool-server

然后,在 Cursor 中添加 MCP 服务器 URL: http://0.0.0.0: 8000/sse

可用工具

工具名称描述代理人参数必需参数
获取_coingecko_id通过名称搜索代币以获取其 CoinGecko IDCoinGeckoTokenInfoAgenttoken_name (字符串):要搜索的令牌名称令牌名称
获取令牌信息使用 CoinGecko ID 获取详细的代币信息和市场数据(不能使用代币地址、名称或符号)CoinGeckoTokenInfoAgentcoingecko_id (字符串):代币的 CoinGecko IDcoingecko_id
获取趋势币获取 CoinGecko 上当前最热门的加密货币CoinGeckoTokenInfoAgent-没有任何
获取特定对信息在 DexScreener 上通过链和交易对地址获取交易对信息DexScreenerTokenInfoAgentchain (字符串):链标识符(例如,solana、bsc、ethereum、base) pair_address (字符串):要查找的合约地址链,pair_address
获取令牌对在 DexScreener 上按链和代币地址获取交易对DexScreenerTokenInfoAgentchain (字符串):链标识符(例如,solana、bsc、ethereum、base) token_address (字符串):用于查找所有对的代币合约地址链,token_address
获取令牌配置文件从 DexScreener 获取最新代币的基本信息DexScreenerTokenInfoAgent-没有任何
搜索对通过代币名称、符号或地址在 DexScreener 上搜索交易对DexScreenerTokenInfoAgentsearch_term (字符串):搜索词(代币名称、符号或地址)搜索词
获取趋势代币获取 Twitter 上当前流行的代币ElfaTwitterIntelligence Agenttime_window (字符串):要分析的时间窗口没有任何
搜索账户通过提及搜索和帐户统计信息分析 Twitter 帐户ElfaTwitterIntelligence Agentusername (字符串):要分析的 Twitter 用户名(不带 @) days_ago (整数):回顾提及的天数limit (整数):提及结果的最大数量用户名
搜索提及在 Twitter 上搜索特定代币或主题的提及ElfaTwitterIntelligence Agent关键词(数组):要搜索的关键词列表days_ago (整数):回顾的天数limit (整数):最大结果数(最小值:20)关键词
回答使用 Exa 的答案 API 直接获取问题的答案ExaSearchAgent问题(字符串):要回答的问题问题
搜索搜索与查询相关的网页ExaSearchAgentsearch_term (字符串):搜索词限制(整数):返回的最大结果数(默认值:10)搜索词
搜索和答案对查询执行搜索和回答操作ExaSearchAgenttopic (字符串):要搜索和回答的主题话题
执行搜索通过阅读网页执行网络搜索查询Firecrawl搜索代理search_term (字符串):要执行的搜索词搜索词
生成查询生成可以扩展研究的主题的相关搜索查询Firecrawl搜索代理topic (字符串):要研究的主要主题num_queries (整数):要生成的查询数量话题
获取安全详细信息获取区块链代币合约的安全详细信息Goplus分析代理contract_address (字符串):代币合约地址chain_id['integer','string']):Solana 代币的区块链链 ID 或“solana”。支持的链:以太坊 (1)、Optimism (10)、Cronos (25)、BSC (56)、Gnosis (100)、HECO (128)、Polygon (137)、Fantom (250)、KCC (321)、zkSync Era (324)、ETHW (10001)、FON (201022)、Arbitrum (42161)、Avalanche (43114)、Linea Mainnet (59144)、Base (8453)、Tron (tron)、Scroll (534352)、opBNB (204)、Mantle (5000)、ZKFair (42766)、Blast (81457)、Manta Pacific (169)、Berachain Artio Testnet (80085)、Merlin (4200)、Bitlayer Mainnet (200901)、zkLink Nova (810180)、X Layer Mainnet (196)索拉纳(solana)合约地址

自定义支持的代理

服务器自带一组默认代理。要修改可用的代理,请执行以下操作:

  1. 打开server.py文件并找到Config类。
  2. 编辑DEFAULT_AGENTS列表以添加或删除Heurist Metadata 中列出的代理
DEFAULT_AGENTS = [ "CoinGeckoTokenInfoAgent", "DexScreenerTokenInfoAgent", "ElfaTwitterIntelligenceAgent", "ExaSearchAgent", "FirecrawlSearchAgent", "GoplusAnalysisAgent", # Add agents here "NewAgent" ]

执照

此 MCP 服务器遵循 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议服务器将 Claude 连接到 Heurist Mesh API,提供对各种区块链和 web3 工具的访问,包括加密货币数据、令牌安全、Twitter 智能和网络搜索功能。

  1. Features
    1. Hosted SSE Endpoint (Alpha Release)
      1. Prerequisites
        1. Installation
          1. Using UV (Recommended)
          2. Using Docker
        2. Usage
          1. Option 1: Run with stdio Transport (for Claude Desktop)
          2. Option 2: Run with SSE Transport (for Cursor)
        3. Available tools
          1. Customizing Supported Agents
            1. License
              ID: 6dmo0hl0qq