Skip to main content

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

ToolDescription
get_supported_chainsList all supported blockchain networks with chain IDs
search_tokensSearch tokens by name, symbol, or contract address
get_quoteGet a swap quote with estimated output, fees, and route details
create_transactionBuild a swap transaction with full route and step details
get_dapp_urlGenerate a pre-filled Router Protocol App URL
check_transaction_statusCheck transaction status (PENDING, DONE, FAILED)
get_toolsList available bridges and DEX exchanges
get_connectionsDiscover available connections between chains
get_instructionsShow 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