New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@relayprotocol/relay-mcp

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relayprotocol/relay-mcp

MCP server for Relay Protocol — cross-chain bridge and swap quotes, token search, and fee estimation for AI agents

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
28
-53.33%
Maintainers
2
Weekly downloads
 
Created
Source

Relay MCP Server

A Model Context Protocol server for Relay Protocol — cross-chain bridge and swap tools for AI agents.

Tools

ToolDescription
get_supported_chainsList supported blockchain networks
get_supported_tokensSearch for tokens across chains
get_bridge_quoteQuote for bridging same token across chains
get_swap_quoteQuote for swapping between different tokens
estimate_feesFee breakdown for a bridge or swap
get_transaction_statusCheck status of a relay transaction
get_transaction_historyPast transactions for a wallet
get_relay_app_urlDeep link to the Relay web app with pre-filled parameters

Usage

Claude Desktop / Claude Code

{
  "mcpServers": {
    "relay": {
      "command": "npx",
      "args": ["-y", "@relayprotocol/relay-mcp"]
    }
  }
}

Run from source

npm install
npm run build
npm start

Environment variables

VariableDefaultDescription
RELAY_API_URLhttps://api.relay.linkRelay API base URL
RELAY_API_KEYOptional API key for higher rate limits

Architecture

  • Transport: Stdio (MCP spec)
  • Runtime: Node.js >=20
  • API: Direct HTTP calls to api.relay.link (no SDK dependency)
  • Read-only: Returns quotes, fees, and status. Does not sign or broadcast transactions.

Agent flow example

User: "Bridge 0.1 ETH from Ethereum to Base"

1. Agent calls get_supported_chains → resolves Ethereum=1, Base=8453
2. Agent calls get_bridge_quote → gets quote with fees and ETA
3. Agent shows user the quote and a link to execute on relay.link

License

MIT

Keywords

mcp

FAQs

Package last updated on 10 Mar 2026

Related posts