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:
- Create an API token in Settings
- Save your token to
~/.relay/mcp.json:{ "apiBase": "https://onrelay.app", "token": "relay_your_token_here" } - 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
| Client | MCP config | Transport | Instructions | Rules | Hooks | Skills | Default install | Tier |
|---|---|---|---|---|---|---|---|---|
| Claude Code Verified 2026-04-19 | ~/.claude.json | local, remote | CLAUDE.md, ~/.claude/CLAUDE.md | None | ~/.claude/settings.json | None | mcp, instructions, hooks | validated |
| Claude Desktop Verified 2026-04-19 | claude_desktop_config.json | local, remote | None | None | None | None | mcp | validated |
| Cursor (project) Verified 2026-04-19 | .cursor/mcp.json | local, remote | AGENTS.md | .cursor/rules/*.mdc | None | None | mcp, rules | validated |
| Cursor (global) Verified 2026-04-19 | ~/.cursor/mcp.json | local, remote | AGENTS.md | .cursor/rules/*.mdc | None | None | mcp, rules | validated |
| VS Code Verified 2026-04-19 | User mcp.json or .vscode/mcp.json | local, remote | .github/copilot-instructions.md, .github/instructions/*.instructions.md, AGENTS.md | None | None | None | mcp, instructions | supported |
| Windsurf Verified 2026-04-19 | ~/.codeium/mcp_config.json | local, remote | AGENTS.md | .windsurf/rules/*, ~/.codeium/windsurf/memories/global_rules.md | .windsurf/hooks.json, ~/.codeium/windsurf/hooks.json | None | mcp, rules, hooks | supported |
| OpenAI Codex Verified 2026-04-19 | ~/.codex/config.toml | local | AGENTS.md, $CODEX_HOME/AGENTS.md, model_instructions_file | None | None | $CODEX_HOME/skills/*/SKILL.md | mcp, instructions | validated |
| OpenCode Verified 2026-04-19 | ~/.config/opencode/opencode.json or opencode.json | local, remote | opencode.json[c] instructions, AGENTS.md | None | None | .opencode/skills/*/SKILL.md, .agents/skills/*/SKILL.md | mcp, instructions, skills | supported |
| Gemini CLI Verified 2026-04-19 | ~/.gemini/settings.json | local, remote | GEMINI.md, ~/.gemini/GEMINI.md, AGENTS.md (via context.fileName) | None | .gemini/settings.json, ~/.gemini/settings.json | None | mcp, instructions, hooks | validated |
| Warp Verified 2026-04-19 | ~/.warp/mcp.json | local, remote | AGENTS.md, Warp global rules | None | None | None | mcp | supported |
| Antigravity Verified 2026-04-19 | Experimental raw MCP config (client-managed) | local, remote | None | None | None | None | mcp | experimental |
| Cline Verified 2026-04-19 | Cline MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Continue Verified 2026-04-19 | Continue assistant config | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Zed Verified 2026-04-19 | ~/.config/zed/settings.json | local | AGENTS.md | None | None | None | mcp | experimental |
| JetBrains Verified 2026-04-19 | JetBrains AI Assistant MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Codex App Verified 2026-04-19 | ~/.codex/config.toml | local | AGENTS.md, $CODEX_HOME/AGENTS.md | None | None | $CODEX_HOME/skills/*/SKILL.md | mcp, instructions | experimental |
| Qodo Gen Verified 2026-04-19 | Qodo Gen MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Qwen Coder Verified 2026-04-19 | Qwen Coder MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Visual Studio Verified 2026-04-19 | Visual Studio MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Crush Verified 2026-04-19 | Crush MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| GitHub Copilot CLI Verified 2026-04-19 | GitHub Copilot CLI MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| GitHub Copilot Agent Verified 2026-04-19 | GitHub Copilot Agent MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Augment Verified 2026-04-19 | Augment MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Kiro Verified 2026-04-19 | Kiro MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| LM Studio Verified 2026-04-19 | LM Studio MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| BoltAI Verified 2026-04-19 | BoltAI MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Perplexity Verified 2026-04-19 | Perplexity MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Amazon Q Verified 2026-04-19 | Amazon Q MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Factory Verified 2026-04-19 | Factory Droid MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Amp Verified 2026-04-19 | Amp MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Vibe Verified 2026-04-19 | Vibe MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Roo Code Verified 2026-04-19 | Roo Code MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Kilo Code Verified 2026-04-19 | Kilo Code MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
| Trae Verified 2026-04-19 | Trae MCP settings | local, remote | AGENTS.md | None | None | None | mcp | experimental |
`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_briefLoad current project context and recent decisions
get_project_stateGet full project state including objectives and constraints
list_memoryInspect the current memory items Relay is carrying forward
get_memoryInspect one memory item with provenance, status, and relations
list_projectsList all Relay projects
list_sessionsInspect captured source sessions and work sessions affecting continuity
archive_sessionDetach or restore a captured source session
list_briefsInspect generated brief packets and their target profiles
regenerate_briefForce a fresh brief packet after cleanup or new capture
delete_briefRemove one stale or polluted brief packet
trace_context_sourcesExplain why a phrase or state field appears in Relay context
list_recent_activitySee recent captures, digests, memory mutations, and brief generation
add_memorySave a decision, constraint, or note to project memory
checkpoint_contextSave a mid-session snapshot without finalizing the work session
manage_memoryUpdate, archive, or delete a memory item
recall_contextSearch memory and pull project state in one call
search_contextSearch across project context and memory
save_contextSave a session summary with decisions and next steps
set_current_projectPin the active Relay project for the current MCP session
set_project_stateCorrect or bootstrap high-level project state
update_projectRename 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.