# Relay

> Relay is an open-source MCP server. Cross-chain bridge and swap quotes, fee estimation, and transaction tracking via Relay Protocol. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://relay.link
- **Repository:** https://github.com/reservoirprotocol/relay-mcp
- **MCP Registry name:** io.github.reservoirprotocol/relay-mcp
- **Listing updated:** 2026-11-13

## About

Cross-chain bridge and swap quotes, fee estimation, and transaction tracking via Relay Protocol.

## Install

### Claude Code (Terminal)

```sh
claude mcp add relay-mcp --env RELAY_API_KEY='<RELAY_API_KEY>' -- npx -y @relayprotocol/relay-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "relay-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@relayprotocol/relay-mcp"
      ],
      "env": {
        "RELAY_API_KEY": "<RELAY_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "relay-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@relayprotocol/relay-mcp"
      ],
      "env": {
        "RELAY_API_KEY": "<RELAY_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "relay-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@relayprotocol/relay-mcp"
      ],
      "env": {
        "RELAY_API_KEY": "<RELAY_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "relay-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@relayprotocol/relay-mcp"
      ],
      "env": {
        "RELAY_API_KEY": "<RELAY_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "relay-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@relayprotocol/relay-mcp"
      ],
      "env": {
        "RELAY_API_KEY": "<RELAY_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Relay free?

Yes. Relay is open source, so you can use and self-host it for free.

### How do I add Relay to Claude Code?

Run this command in your terminal: claude mcp add relay-mcp --env RELAY_API_KEY='<RELAY_API_KEY>' -- npx -y @relayprotocol/relay-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/relay-10
