Relay MCP

Relay MCP brings your project context into AI coding tools like Claude Code, Cursor, and Windsurf. It syncs memory, decisions, and project state across all your AI conversations.

Quick install

Run the setup wizard to authenticate, install Relay MCP using local stdio, and auto-install native behavior bridges for supported clients. Relay uses instructions, rules, hooks, or skills only where the target tool has a real standards-based surface.

npx @onrelay/wizard

The default install path is local stdio. The wizard focuses on two surfaces only: the browser extension and MCP-connected coding agents.

Relay is designed to be used automatically and sparingly: start with get_brief, use recall only when local context is incomplete, and use save for durable writeback and cleanup.

Manual setup

If you prefer manual configuration:

  1. Create an API token in Settings
  2. Save your token to ~/.relay/mcp.json:
    {
      "apiBase": "https://onrelay.app",
      "token": "relay_your_token_here"
    }
  3. Add the MCP server to your client config. Relay follows each client's native format instead of forcing one shared JSON schema:
    {
      "mcpServers": {
        "relay": {
          "command": "npx",
          "args": ["-y", "-p", "@onrelay/mcp", "relay-mcp"]
        }
      }
    }

Compatibility matrix

ClientMCP configTransportInstructionsRulesHooksSkillsDefault installTier
Claude Code
Verified 2026-04-19
~/.claude.jsonlocal, remoteCLAUDE.md, ~/.claude/CLAUDE.mdNone~/.claude/settings.jsonNonemcp, instructions, hooksvalidated
Claude Desktop
Verified 2026-04-19
claude_desktop_config.jsonlocal, remoteNoneNoneNoneNonemcpvalidated
Cursor (project)
Verified 2026-04-19
.cursor/mcp.jsonlocal, remoteAGENTS.md.cursor/rules/*.mdcNoneNonemcp, rulesvalidated
Cursor (global)
Verified 2026-04-19
~/.cursor/mcp.jsonlocal, remoteAGENTS.md.cursor/rules/*.mdcNoneNonemcp, rulesvalidated
VS Code
Verified 2026-04-19
User mcp.json or .vscode/mcp.jsonlocal, remote.github/copilot-instructions.md, .github/instructions/*.instructions.md, AGENTS.mdNoneNoneNonemcp, instructionssupported
Windsurf
Verified 2026-04-19
~/.codeium/mcp_config.jsonlocal, remoteAGENTS.md.windsurf/rules/*, ~/.codeium/windsurf/memories/global_rules.md.windsurf/hooks.json, ~/.codeium/windsurf/hooks.jsonNonemcp, rules, hookssupported
OpenAI Codex
Verified 2026-04-19
~/.codex/config.tomllocalAGENTS.md, $CODEX_HOME/AGENTS.md, model_instructions_fileNoneNone$CODEX_HOME/skills/*/SKILL.mdmcp, instructionsvalidated
OpenCode
Verified 2026-04-19
~/.config/opencode/opencode.json or opencode.jsonlocal, remoteopencode.json[c] instructions, AGENTS.mdNoneNone.opencode/skills/*/SKILL.md, .agents/skills/*/SKILL.mdmcp, instructions, skillssupported
Gemini CLI
Verified 2026-04-19
~/.gemini/settings.jsonlocal, remoteGEMINI.md, ~/.gemini/GEMINI.md, AGENTS.md (via context.fileName)None.gemini/settings.json, ~/.gemini/settings.jsonNonemcp, instructions, hooksvalidated
Warp
Verified 2026-04-19
~/.warp/mcp.jsonlocal, remoteAGENTS.md, Warp global rulesNoneNoneNonemcpsupported
Antigravity
Verified 2026-04-19
Experimental raw MCP config (client-managed)local, remoteNoneNoneNoneNonemcpexperimental
Cline
Verified 2026-04-19
Cline MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Continue
Verified 2026-04-19
Continue assistant configlocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Zed
Verified 2026-04-19
~/.config/zed/settings.jsonlocalAGENTS.mdNoneNoneNonemcpexperimental
JetBrains
Verified 2026-04-19
JetBrains AI Assistant MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Codex App
Verified 2026-04-19
~/.codex/config.tomllocalAGENTS.md, $CODEX_HOME/AGENTS.mdNoneNone$CODEX_HOME/skills/*/SKILL.mdmcp, instructionsexperimental
Qodo Gen
Verified 2026-04-19
Qodo Gen MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Qwen Coder
Verified 2026-04-19
Qwen Coder MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Visual Studio
Verified 2026-04-19
Visual Studio MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Crush
Verified 2026-04-19
Crush MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
GitHub Copilot CLI
Verified 2026-04-19
GitHub Copilot CLI MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
GitHub Copilot Agent
Verified 2026-04-19
GitHub Copilot Agent MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Augment
Verified 2026-04-19
Augment MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Kiro
Verified 2026-04-19
Kiro MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
LM Studio
Verified 2026-04-19
LM Studio MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
BoltAI
Verified 2026-04-19
BoltAI MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Perplexity
Verified 2026-04-19
Perplexity MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Amazon Q
Verified 2026-04-19
Amazon Q MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Factory
Verified 2026-04-19
Factory Droid MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Amp
Verified 2026-04-19
Amp MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Vibe
Verified 2026-04-19
Vibe MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Roo Code
Verified 2026-04-19
Roo Code MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Kilo Code
Verified 2026-04-19
Kilo Code MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental
Trae
Verified 2026-04-19
Trae MCP settingslocal, remoteAGENTS.mdNoneNoneNonemcpexperimental

`validated` means Relay matches the current official format and has been checked recently. `supported` means Relay follows the published format but the integration surface is still narrower. `experimental` means the client is still installable, but Relay does not yet claim first-class polish.

Available tools

get_brief

Load current project context and recent decisions

recall

Search memory, inspect state, trace sources, and list continuity data

sources

Resolve, index, search, read, refresh, import, promote, delete, and purge project sources

save

Save sessions, checkpoint work, add memory, archive stale memory, and update state

list_projects

List all Relay projects

set_current_project

Pin the active Relay project for the current MCP session

Relay's MCP surface is intentionally compact. Legacy split tools are folded into recall and save, which keeps tool count and prompt tokens low while preserving explainability and cleanup actions.