EntRoute MCP
MCP Server cho phép các tác nhân AI khám phá và gọi các API trả phí theo yêu cầu thông qua EntRoute. Cung cấp cho Claude, Cursor, Windsurf hoặc bất kỳ tác nhân tương thích MCP nào quyền truy cập vào hơn 350 điểm cuối API x402 đã được xác minh trên 110+ khả năng — giá DeFi, tìm kiếm web, thị trường dự đoán, tin tức và nhiều hơn nữa.
Tài liệu
@entroute/mcp-server
MCP Server for AI agents to discover and call pay-per-request APIs via EntRoute.
Give Claude, Cursor, Windsurf, or any MCP-compatible agent access to 350+ verified x402 API endpoints across 110+ capabilities -- DeFi prices, web search, prediction markets, news, and more.
Install
Claude Code
claude mcp add entroute -- npx @entroute/mcp-server
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"entroute": {
"command": "npx",
"args": ["@entroute/mcp-server"]
}
}
}
Cursor / Windsurf
Add to your MCP settings with command npx @entroute/mcp-server.
Tools
discover_paid_api
Find ranked, verified API endpoints for any capability. Supports natural language intent or explicit capability IDs.
"Find me an API to get the current price of ETH"
-> Returns ranked endpoints with pricing, success rates, and latency metrics
list_capabilities
Browse all available capability types. Filter by tag or search by keyword.
call_paid_api
Execute a discovered endpoint. Optionally handles x402 payments automatically when a wallet is configured.
Payment (Optional)
To enable automatic x402 payments, set these environment variables:
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)
Without a wallet, the server still discovers endpoints -- you just can't auto-pay for 402-protected ones.
Environment Variables
| Variable | Default | Description |
|---|---|---|
EVM_PRIVATE_KEY | -- | Hex private key for x402 payments |
MAX_PAYMENT_PER_REQUEST | 0.05 | Spending cap per request in USD |
Example Usage
Once installed, ask your agent:
- "What APIs are available for DeFi?"
- "Find me a web search API"
- "Get the current price of ETH using a paid API"
- "Search the news for AI agent developments"
The agent will use discover_paid_api to find endpoints, show you the options with pricing, and call the best one.
Capabilities
EntRoute indexes 110+ capabilities across categories including:
- Finance/DeFi -- token prices, swap quotes, portfolio tracking, yield data
- Web -- search, scraping, URL shortening
- Identity -- wallet profiles, ENS resolution
- AI -- text generation, image generation
- News -- search, trending topics
- Security -- contract audits, threat intelligence
- Prediction -- market data, odds
Browse all capabilities at entroute.com/capabilities.
Links
License
MIT