EntRoute MCP
Official@entroute/mcp-server
用于 AI 代理通过 EntRoute 发现并调用按请求付费 API 的 MCP 服务器。
让 Claude、Cursor、Windsurf 或任何兼容 MCP 的代理能够访问 110 多种功能类别中的 350 多个经过验证的 x402 API 端点,包括 DeFi 价格、网络搜索、预测市场、新闻等。
安装
Claude Code
claude mcp add entroute -- npx @entroute/mcp-serverClaude Desktop
添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"entroute": {
"command": "npx",
"args": ["@entroute/mcp-server"],
"env": {
"ENTROUTE_API_URL": "https://api.entroute.com"
}
}
}
}Cursor / Windsurf
使用命令 npx @entroute/mcp-server 添加到你的 MCP 设置中。
工具
discover_paid_api
查找针对任何功能经过排名和验证的 API 端点。支持自然语言意图或明确的功能 ID。
"Find me an API to get the current price of ETH"
→ Returns ranked endpoints with pricing, success rates, and latency metricslist_capabilities
浏览所有可用的功能类型。按标签过滤或按关键字搜索。
call_paid_api
执行已发现的端点。配置钱包后,可选择自动处理 x402 付款。
付款(可选)
要启用自动 x402 付款,请设置以下环境变量:
EVM_PRIVATE_KEY=0x... # Wallet private key for USDC payments on Base
MAX_PAYMENT_PER_REQUEST=0.05 # Max USD per request (default: $0.05)如果没有钱包,服务器仍然可以发现端点,只是无法自动支付受 402 保护的端点费用。
环境变量
变量 | 默认值 | 描述 |
|
| EntRoute API 基础 URL |
| — | 用于 x402 付款的十六进制私钥 |
|
| 每次请求的支出上限(美元) |
使用示例
安装完成后,询问你的代理:
“有哪些可用的 DeFi API?”
“帮我找一个网络搜索 API”
“使用付费 API 获取 ETH 的当前价格”
“搜索关于 AI 代理发展的新闻”
代理将使用 discover_paid_api 查找端点,向你展示带有定价的选项,并调用最佳的一个。
功能
EntRoute 索引了 110 多种功能,涵盖以下类别:
金融/DeFi — 代币价格、兑换报价、投资组合跟踪、收益数据
网络 — 搜索、抓取、URL 缩短
身份 — 钱包资料、ENS 解析
AI — 文本生成、图像生成
新闻 — 搜索、热门话题
安全 — 合约审计、威胁情报
预测 — 市场数据、赔率
在 entroute.com/capabilities 浏览所有功能。
链接
许可证
MIT
Latest Blog Posts
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/entroute/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server