Provides tools for cross-chain bridging, token swapping, and real-time price discovery on the Ethereum network.
Enables cross-chain bridging, multi-chain token swaps, and real-time price monitoring for the Optimism blockchain network.
Facilitates cross-chain bridging and token swaps on the Polygon network, including price discovery and transaction status tracking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Relay Protocol MCP ServerGet a quote to bridge 100 USDC from Ethereum to Polygon"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Relay Protocol MCP Server
Model Context Protocol (MCP) server for the Relay Protocol REST API enabling cross-chain bridging and token swapping operations.
Features
Cross-Chain Bridging - Bridge tokens between 50+ blockchain networks
Multi-Chain Swaps - Aggregate tokens from multiple chains into single destination
Real-Time Pricing - Get current token prices across all supported chains
Request Monitoring - Track execution status and transaction details
Currency Discovery - Browse 1000+ supported tokens with filtering
Zero Configuration - No API keys required (free public API)
Type Safety - Full TypeScript support with comprehensive validation
Quick Start
Option 1: Local Setup (Claude Desktop)
Cloud Deployment (SSE transport)
Deploy to Railway, Heroku, Render, or any cloud platform:
See RAILWAY.md for detailed Railway deployment guide.
MCP Integration
Stdio Transport (Local - Claude Desktop)
Add to your Claude Desktop configuration file:
Config Location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Option 2: Cloud Deployment (Railway)
Deploy Steps:
Push your code to GitHub
Go to railway.app → "New Project" → "Deploy from GitHub repo"
Select your repository (Railway auto-detects configuration)
Get your deployment URL:
https://your-app.railway.app
Claude Desktop Configuration:
Test Your Deployment:
Deployment Info:
Free tier: $5/month credits (plenty for personal use)
Memory usage: ~50-100MB RAM
Auto-sleeps after 30 minutes of inactivity
Railway CLI:
npm i -g @railway/cli(optional)
Available Tools (9 total)
Tool | Purpose | Example Use Case |
| List supported blockchain networks | "Show me all chains Relay supports" |
| Get real-time token prices | "What's the price of USDC on Ethereum?" |
| Discover tokens with advanced filtering | "Show verified tokens on Arbitrum" |
| Generate bridging/swap quotes | "Quote bridging 100 USDC from Ethereum to Polygon" |
| Execute multi-chain swaps | "Swap ETH + USDC from multiple chains to USDC on Base" |
| Track request progress | "Check status of my bridge transaction" |
| Monitor request history | "Show my recent cross-chain transactions" |
| Index transactions for tracking | "Register this transaction for monitoring" |
| Index specific transfers/wraps | "Track this specific transfer operation" |
Example Prompts
Development
Project Structure
Troubleshooting
"No available tools" in Claude:
Verify absolute path in config is correct
Test server:
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node dist/index.jsRestart Claude Desktop after config changes
Ensure Node.js >= 20.0.0 and
pnpm buildcompleted
Connection issues:
Run
pnpm buildbefore startingCheck server starts without errors:
pnpm devVerify JSON syntax in Claude config file
Requirements
Node.js >= 20.0.0
pnpm package manager
API Reference
Full access to Relay Protocol REST API with TypeScript types and validation. The Relay Protocol supports:
50+ Blockchain Networks including Ethereum, Polygon, Arbitrum, Optimism, Base, etc.
1000+ Tokens with real-time pricing and bridging support
Free Public API with no rate limits or authentication required
Production-Ready infrastructure handling millions in daily volume
License
MIT