bridge-rates-mcp
桥接速率 MCP 服务器
MCP 服务器提供实时跨链桥接速率和最优传输路径,支持链上 AI 代理的决策。
特征
获取桥接率:检索代币对的跨链桥接率,包括美元价值、gas 成本、路线提供商和标签,以 Markdown 表的形式呈现。
列出支持的链:获取 LI.FI 支持的区块链网络的排序列表。
列出支持的桥梁:获取可用于跨链传输的桥梁和交易所的排序列表。
Related MCP server: mcp-chain-of-thought
先决条件
Node.js :版本 18 或更高版本。
npm :用于依赖管理。
MCP 客户端:与 MCP 兼容的客户端(例如,Claude Desktop)用于与服务器交互。
安装
克隆存储库:
git clone https://github.com/kukapay/bridge-rates-mcp.git cd bridge-rates-mcp安装依赖项:
npm install与 MCP 客户端集成:配置您的 MCP 客户端(例如 Claude Desktop)以连接到服务器。对于 Claude Desktop,请编辑配置文件(例如,在 Mac 上为
~/Library/Application Support/Claude/claude_desktop_config.json,在 Windows 上为%APPDATA%\Claude\claude_desktop_config.json):{ "mcpServers": { "bridge-rates": { "command": "node", "args": ["/absolute/path/to/bridge-rates-mcp/index.js"] } } }重新启动 Claude Desktop 并验证工具是否可用(查找锤子图标)。
工具
1. getBridgeRates
获取两个链之间的代币对的跨链桥接率,返回 Markdown 表中所有可用的路由。
参数:
fromChainId(字符串,必需):源链 ID(例如,以太坊为“1”)。toChainId(字符串,必需):目标链 ID(例如,“10”表示乐观)。fromTokenAddress(字符串,必需):源代币合约地址。toTokenAddress(字符串,必需):目标代币合约地址。fromAmount(字符串,可选):以最小令牌单位桥接的金额(默认值:“10000000”)。
示例提示:
What's the bridge rate from Arbitrum USDC to Optimism DAI?示例输出:
| From Amount | From Amount USD | To Amount | To Amount USD | To Amount Min | Gas Cost USD | Providers | Tags |
|-------------|-----------------|-----------|---------------|---------------|--------------|-----------|----------------------|
| 10000000 | 10.00 | 9980000 | 9.98 | 9940000 | 0.2300 | hop | RECOMMENDED,CHEAPEST |
| 10000000 | 10.00 | 9975000 | 9.97 | 9935000 | 0.2500 | connext | None |2. getSupportedChains
获取 LI.FI 支持的用于跨链桥接的链的排序列表,以 Markdown 表的形式呈现。
参数:无。
示例提示:
List all supported chains for bridging.示例输出:
| Chain Type | ID | Key | Name | Native Token |
|------------|----|-----|---------------|--------------|
| EVM | 1 | eth | Ethereum | ETH |
| EVM | 10 | opt | Optimism | ETH |
| EVM | 137| pol | Polygon | MATIC |
| SVM | 101| sol | Solana | SOL |3. getSupportedBridges
获取 LI.FI 支持的桥梁和交易所的排序列表,以 Markdown 表的形式呈现。
参数:无。
示例提示:
List all supported bridges for cross-chain bridging.示例输出:
| Key | Name | Type |
|---------------|---------------------|----------|
| across | Across | BRIDGE |
| connext | Connext | BRIDGE |
| hop | Hop Protocol | BRIDGE |
| sushiswap | SushiSwap | EXCHANGE |
| uniswap | Uniswap | EXCHANGE |执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server that provides real-time funding rate data across major crypto exchanges.8MIT
- AlicenseBqualityDmaintenanceShrimp Task Manager is a task tool built for AI Agents, emphasizing chain-of-thought, reflection, and style consistency. It converts natural language into structured dev tasks with dependency tracking and iterative refinement, enabling agent-like developer behavior in reasoning AI systems.155221MIT
- AlicenseAqualityFmaintenanceAn MCP server that gives AI agents fast access to verified EVM chain information, including RPC URLs, chain IDs, explorers, and native tokens.22MIT
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kukapay/bridge-rates-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server