Web3智能代理服务器

Heurist Mesh MCP Server是一个连接Web3智能代理的模型上下文协议服务器,提供30+专业加密分析代理,优化AI输入输出格式,适用于加密货币分析和Web3应用开发。

  • by heurist-network
  • Python
  • 本地部署
  • 67 星标
  • 更新于
在 GitHub 查看 heurist-network/heurist-mesh-mcp-server

使用说明

启发式网格MCP服务器

连接到的模型上下文协议(MCP)服务器 启发式网格 API-您通往Web3智能的门户。

启发式网格 是人工智能代理的技能市场。通用人工智能模型缺乏关于Web3的专业知识,往往无法提供准确的结果。Heurist Mesh提供30多个专业的AI代理,他们是加密分析的专家,随时可以为您的AI应用程序提供所需的Web3专业知识。

特性

  • Web3智能网关:通过MCP访问30多个专门的加密分析代理
  • 针对AI进行了优化:针对AI代理优化的输入/输出格式-更少的工具调用,更少的令牌使用
  • 支持SSE和stdio传输
  • 适用于Claude、Cursor、Claude Desktop和其他MCP兼容接口
  • 使用一个API密钥访问多个服务(CoinGecko、DexScreener、Twitter分析等)

🔥 即时:定制您的代理并按需创建托管MCP服务器

您可以使用 启发式网格控制台 创建SSE MCP服务器。选择您的代理,为您的任务组成一个个性化的群!

托管SSE端点

我们在以下位置提供托管的SSE端点https://mesh.heurist.xyz/mcp/sse. 需要身份验证 -你需要一个 Heurist API密钥 (使用邀请码“claude”获得免费积分)。

通过以下方式提供您的API密钥:

  • X-HEURIST-API-KEY 标题(推荐)
  • Authorization: Bearer <your-api-key> 头球
  • api_key 查询参数

此端点包括来自推荐代理的工具,用于全面的Web3智能:

代理 描述
TokenResolverAgent 按地址/符号/名称查找令牌,返回标准化配置文件和顶级DEX池
TrendingTokenAgent 聚合来自GMGN、CoinGecko、Pump.fun、Dexscrender、Zora和Twitter的趋势代币
TwitterIntelligenceAgent 推特/X时间线、推特细节和智能搜索
ExaSearchDigestAgent 具有简洁LLM摘要的网络搜索
FundingRateAgent 币安融资利率、未平仓合约和现货期货机会
AIXBTProjectInfoAgent 趋势项目信息、基本面分析和市场总结
ZerionWalletAnalysisAgent EVM钱包代币和NFT持有量分析

这是一个共享服务器,性能可能不稳定。对于生产使用,我们建议自托管或使用 启发式网格控制台 创建专用服务器。

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

先决条件

安装

使用紫外线(推荐)

# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server

# Install the package
uv pip install -e .

使用Docker

# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server

# Build the Docker image
docker build -t mesh-tool-server .

用法

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

使用UV

要在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

或者,您可以将Docker与Claude Desktop一起使用,方法是将其添加到您的 claude_desktop_config.json:

{
  "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/heurist-mesh-mcp-server 具有指向存储库的实际路径,以及 your-api-key-here 使用您的Heurist API密钥。

选项2:使用SSE传输运行(适用于游标)

在中设置环境变量 .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

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

可用工具

访问https://mesh.heurist.ai/metadata.json或https://mesh.heurist.ai/console查看所有30多个可用代理及其工具。

推荐工具

我们推荐的代理提供的这些工具涵盖了大多数Web3智能用例:

工具名称 描述 代理
token_search 按地址、符号、名称或CoinGecko ID查找令牌 TokenResolverAgent
token_profile 获取包含市场数据、社交和顶级池的全面令牌配置文件 TokenResolverAgent
get_trending_tokens 来自多个来源的聚合趋势令牌 TrendingTokenAgent
get_market_summary 人工智能生成的所有趋势来源的市场摘要 TrendingTokenAgent
twitter_search 智能推特加密主题搜索 TwitterIntelligenceAgent
user_timeline 获取Twitter用户的最新推文 TwitterIntelligenceAgent
tweet_detail 获取特定推文的详细信息 TwitterIntelligenceAgent
exa_web_search 基于AI摘要的web搜索 ExaSearchDigestAgent
exa_scrape_url 抓取和总结网页内容 ExaSearchDigestAgent
get_all_funding_rates 获取所有币安永久合约的融资利率 融资利率代理
get_symbol_oi_and_funding 获取特定交易品种的未平仓合约和资金 资金比率代理
find_spot_futures_opportunities 寻找现货和期货之间的套利机会 融资比率代理
search_projects 用基本面分析搜索趋势项目 AIXBTProjectInfoAgent
get_market_summary 从AIXBT获取AI市场摘要 AIXBTProjectInfoAgent
fetch_wallet_tokens 获取EVM钱包代币持有量 ZerionWalletAnalysisAgent
fetch_wallet_nfts 获取EVM钱包NFT持有量 ZerionWalletAnalysis Agent

自定义支持的代理

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

  1. 打开 server.py 文件并定位 Config 类。
  2. 编辑 DEFAULT_AGENTS 列表以添加或删除列出的代理 在Heurist元数据
DEFAULT_AGENTS = [
    "TokenResolverAgent",        # Comprehensive token lookup
    "TrendingTokenAgent",        # Aggregated trending tokens
    "TwitterIntelligenceAgent",  # Twitter/X analytics
    "ExaSearchDigestAgent",      # Web search with summarization
    "FundingRateAgent",          # Binance funding & OI data
    "AIXBTProjectInfoAgent",     # Project analysis
    "ZerionWalletAnalysisAgent", # Wallet holdings
    # Add more agents as needed
]

许可证

此MCP服务器根据MIT许可证获得许可。这意味着您可以根据MIT许可证的条款和条件自由使用、修改和分发软件。