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, search only when local context is incomplete, and save only at meaningful boundaries.

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

get_project_state

Get full project state including objectives and constraints

list_memory

Inspect the current memory items Relay is carrying forward

get_memory

Inspect one memory item with provenance, status, and relations

list_projects

List all Relay projects

list_sessions

Inspect captured source sessions and work sessions affecting continuity

archive_session

Detach or restore a captured source session

list_briefs

Inspect generated brief packets and their target profiles

regenerate_brief

Force a fresh brief packet after cleanup or new capture

delete_brief

Remove one stale or polluted brief packet

trace_context_sources

Explain why a phrase or state field appears in Relay context

list_recent_activity

See recent captures, digests, memory mutations, and brief generation

add_memory

Save a decision, constraint, or note to project memory

checkpoint_context

Save a mid-session snapshot without finalizing the work session

manage_memory

Update, archive, or delete a memory item

recall_context

Search memory and pull project state in one call

search_context

Search across project context and memory

save_context

Save a session summary with decisions and next steps

set_current_project

Pin the active Relay project for the current MCP session

set_project_state

Correct or bootstrap high-level project state

update_project

Rename a project or refresh its description

Relay's MCP surface is intentionally split between resume tools, writeback tools, and explainability tools. The explainability layer is what lets coding agents inspect why a brief or project state looks the way it does before mutating anything.