Xplore MCP
The Xplore MCP Server is a Model Context Protocol (MCP) server that enables AI agents to interact with Router Protocol's Xplore API. It allows AI assistants to find optimal cross-chain and same-chain swap routes, check fees, track transactions, and initiate trades across major blockchain networks.
Key Features
AI-Native Swap Interface
Exposes 9 MCP tools that let any MCP-compatible AI agent — Claude, Cursor, GitHub Copilot, and more — perform token swaps without writing REST API calls directly.
Cross-Chain and Same-Chain Swaps
Supports both cross-chain swaps (e.g., Ethereum to Arbitrum) and same-chain swaps (e.g., USDC to ETH on Ethereum), powered by Router Protocol's routing engine.
Full Swap Lifecycle
Covers the entire swap workflow: resolve chains and tokens, get quotes with fee estimates, build transactions ready for signing, generate dApp URLs for browser-based execution, and track transaction status.
Flexible Transport
Runs in stdio mode for local agent frameworks or HTTP streaming mode for containerized and web-based deployments. Docker support included.
Route Discovery
Explore available bridges, DEX exchanges, and token connections between chains before committing to a swap route.
Available Tools
| Tool | Description |
|---|---|
get_supported_chains | List all supported blockchain networks with chain IDs |
search_tokens | Search tokens by name, symbol, or contract address |
get_quote | Get a swap quote with estimated output, fees, and route details |
create_transaction | Build a swap transaction with full route and step details |
get_dapp_url | Generate a pre-filled Router Protocol App URL |
check_transaction_status | Check transaction status (PENDING, DONE, FAILED) |
get_tools | List available bridges and DEX exchanges |
get_connections | Discover available connections between chains |
get_instructions | Show the built-in workflow guide |
Quick Navigation
- Getting Started — Setup, installation, and agent framework configuration
- Tools Reference — Detailed documentation for all MCP tools and their parameters
- Workflow — Step-by-step guide for executing swaps via the MCP server
Resources
- NPM Package:
@routerprotocol/xplore-mcp - GitHub: router-protocol/xplore-mcp