Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Client adapters

Surjection writes MCP servers (and, for some clients, skills) into the native config files of 38 AI coding clients. This page lists every adapter, where it writes, what it can express, and how far each one has been checked against the real client. The design is in SPEC.md section 7; the user guide is user-guide.md.

omp (oh-my-pi) is the recommended client: Surjection is built and tested with omp first, and the app lists it first and marks it "Recommended" wherever it shows clients. That order is presentation only. The generated table below keeps the adapter table's order, which detection, scans and apply follow.

Supported clients

The table below is generated from the adapter table in crates/surjection-core/src/adapters/ by the test crates/surjection-core/tests/docs_adapters.rs. Do not edit it by hand: change the code, then run

SURJECTION_UPDATE_DOCS=1 cargo test -p surjection-core --test docs_adapters

(in PowerShell, set $env:SURJECTION_UPDATE_DOCS = "1" first).

How to read it:

  • Tier: A and B are the daily clients (checked at gates V1 and V2), C is supported, D is best effort or ported from SkillDock (SPEC 20.2). "read only" means Surjection imports from and shows the client's files but never writes them.
  • OS: the operating systems the client has an MCP config on ("all" is Windows, Linux and macOS).
  • Format and container: the file format and the key path of the server map inside the file. [name] marks a YAML list matched by its name key; <P> in a key path is the project folder.
  • Paths: ~ is your home folder (on Windows, your profile folder; HOME is ignored). <AppData> is %APPDATA% on Windows, ~/Library/Application Support on macOS and $XDG_CONFIG_HOME (default ~/.config) on Linux. $XDG_CONFIG_HOME means that variable, default ~/.config, on every OS including Windows. ${VAR:-x} means the value of the environment variable VAR when it is set to an absolute path (for PI_CONFIG_DIR, a folder name under home), else x. <P> is the project folder. When a cell lists several files joined by "or", Surjection writes the first one that exists, or creates the first one.
  • Project file / Project-local file: the shared project file (meant to be committed) and the private one. "none" means the client has no such scope in Surjection, and project servers for that client are reported as not supported at that scope.
  • Native disable: how Surjection turns an entry off without removing it. "none" means a disabled server's entry is removed instead.
  • Hide a user server in a project: how a project manifest's enabled = false for a system server is written for this client. "none" means it cannot be expressed (cannot_suppress_in_project).
  • Skill folders: where surject skills enable links or copies skills for the client (user scope, then project scope). "none" means Surjection does not distribute skills to that client yet.
IdNameTierOSFormat and containerUser fileProject fileProject-local fileTransportsNative disableHide a user server in a projectSkill folders (user, project)
claude-codeClaude CodeAalljson mcpServers${CLAUDE_CONFIG_DIR:-~}/.claude.json<P>/.mcp.json${CLAUDE_CONFIG_DIR:-~}/.claude.json at projects.<P>.mcpServersstdio, http, ssenonelisted in projects.<P>.disabledMcpServers${CLAUDE_CONFIG_DIR:-~/.claude}/skills, <P>/.claude/skills
ompoh-my-piAalljson mcpServers${PI_CODING_AGENT_DIR:-~/${PI_CONFIG_DIR:-.omp}/agent}/mcp.json; profiles: ~/${PI_CONFIG_DIR:-.omp}/profiles/<name>/agent/mcp.json<P>/.omp/mcp.jsonnonestdio, http, sseenabled: falsefull entry with enabled: false${PI_CODING_AGENT_DIR:-~/${PI_CONFIG_DIR:-.omp}/agent}/skills, <P>/.omp/skills
piPiBalljson mcpServers${PI_CODING_AGENT_DIR:-~/.pi/agent}/mcp.json<P>/.pi/mcp.jsonnonestdio, httpenabled: false{ enabled: false } entry${PI_CODING_AGENT_DIR:-~/.pi/agent}/skills, <P>/.pi/skills
codexCodexAalltoml mcp_servers${CODEX_HOME:-~/.codex}/config.toml<P>/.codex/config.tomlnonestdio, httpenabled: false{ enabled: false } entry${CODEX_HOME:-~/.codex}/skills, <P>/.agents/skills
claude-desktopClaude DesktopAwindows, macosjson mcpServers<AppData>/Claude/claude_desktop_config.json; mirror: %LOCALAPPDATA%/Packages/Claude_*/LocalCache/Roaming/Claude/claude_desktop_config.jsonnonenonestdiononenonenone
copilotGitHub CopilotBalljson mcpServers${COPILOT_HOME:-~/.copilot}/mcp-config.json<P>/.mcp.jsonnonestdio, http, ssenonenone${COPILOT_HOME:-~/.copilot}/skills, <P>/.github/skills
cursorGrok BuildBalljson mcpServers~/.cursor/mcp.json<P>/.cursor/mcp.jsonnonestdio, http, ssenonenone~/.cursor/skills, <P>/.cursor/skills
geminiGemini CLICalljson mcpServers~/.gemini/settings.json<P>/.gemini/settings.jsonnonestdio, http, ssenonelisted in mcp.excludednone
antigravityAntigravityCalljson mcpServers~/.gemini/config/mcp_config.json<P>/.agents/mcp_config.jsonnonestdio, httpnonenonenone
opencodeOpenCodeCalljsonc mcp$XDG_CONFIG_HOME/opencode/opencode.json or $XDG_CONFIG_HOME/opencode/opencode.jsonc<P>/opencode.json or <P>/opencode.jsonc or <P>/.opencode/opencode.json or <P>/.opencode/opencode.jsoncnonestdio, http, sseenabled: falsefull entry with enabled: falsenone
grokGrok Build TUICalltoml mcp_servers~/.grok/config.toml<P>/.grok/config.tomlnonestdio, httpnonenonenone
vscode-legacyVS Code (legacy mcp.json)D, read onlyalljsonc servers<AppData>/Code/User/mcp.json (computed, see notes)<P>/.vscode/mcp.jsonnonestdio, http, ssenonenonenone
windsurfWindsurfDalljson mcpServers~/.codeium/windsurf/mcp_config.json<P>/.windsurf/mcp_config.jsonnonestdio, http, ssedisabled: truenonenone
devinDevin DesktopDalljson mcpServers~/.config/devin/mcp_config.json (computed, see notes)<P>/.devin/mcp_config.json<P>/.devin/mcp_config.local.jsonstdio, http, ssenonenonenone
augmentAugmentDalljson mcpServers~/.augment/settings.jsonnonenonestdio, http, ssenonenonenone
clineClineDalljson mcpServers~/.cline/data/settings/cline_mcp_settings.jsonnonenonestdio, http, ssedisabled: truenonenone
roo-codeRoo CodeDalljson mcpServers<AppData>/Code/User/globalStorage/RooVeterinaryInc.roo-cline/settings/mcp_settings.jsonnonenonestdio, http, ssedisabled: truenonenone
kilo-codeKilo CodeDalljson mcpServers<AppData>/Code/User/globalStorage/kilocode.kilo-code/settings/mcp_settings.jsonnonenonestdio, http, ssedisabled: truenonenone
kiroKiroDalljson mcpServers~/.kiro/settings/mcp.jsonnonenonestdio, http, ssedisabled: truenonenone
junieJunieDalljson mcpServers~/.junie/mcp/mcp.jsonnonenonestdio, http, ssenonenonenone
droidFactory DroidDalljson mcpServers~/.factory/mcp.jsonnonenonestdio, http, ssenonenonenone
commandcodeCommand CodeDalljson mcpServers~/.commandcode/mcp.jsonnonenonestdio, http, ssenonenonenone
crushCrushDalljson mcp$XDG_CONFIG_HOME/crush/crush.jsonnonenonestdio, http, ssenonenonenone
qoderQoderDalljson mcpServers~/.config/Qoder/SharedClientCache/mcp.jsonnonenonestdio, http, ssenonenonenone
traeTraeDalljson mcpServers<AppData>/Trae/User/mcp.json (computed, see notes)nonenonestdio, http, ssenonenonenone
trae-cnTrae CNDalljson mcpServers<AppData>/Trae CN/User/mcp.json (computed, see notes)nonenonestdio, http, ssenonenonenone
codebuddyCodeBuddyDalljson5 mcpServers~/.codebuddy/.mcp.json or ~/.codebuddy/mcp.json or ~/.codebuddy.jsonnonenonestdio, http, ssenonenonenone
iflowiFlow CLIDalljson mcpServers~/.iflow/settings.json or ~/.iflow/mcp/config.jsonnonenonestdio, http, ssenonenonenone
qwen-codeQwen CodeDalljson mcpServers~/.qwen/settings.jsonnonenonestdio, http, ssenonenonenone
zencoderZencoderDalljson zencoder.mcpServers~/.zencoder/settings.jsonnonenonestdio, http, ssenonenonenone
openclawOpenClawDalljson5 mcp.servers~/.openclaw/openclaw.jsonnonenonestdio, http, sseenabled: falsenonenone
mimo-codeMiMo CodeDalljson mcp~/.config/mimocode/mimocode.jsonnonenonestdio, http, sseenabled: falsenonenone
workbuddyWorkBuddyDalljson mcpServers~/.workbuddy/.mcp.jsonnonenonestdio, http, ssenonenonenone
zcodeZCodeDalljson mcp.servers~/.zcode/cli/config.jsonnonenonestdio, http, ssenonenonenone
continueContinueDallyaml mcpServers.[name]~/.continue/config.yaml (computed, see notes)nonenonestdio, http, ssenonenonenone
gooseGooseDallyaml extensions$XDG_CONFIG_HOME/goose/config.yaml (computed, see notes)nonenonestdio, httpenabled: falsenonenone
hermesHermes AgentDallyaml mcp_servers~/.hermes/config.yamlnonenonestdio, http, ssenonenonenone
intellijIntelliJ IDEADnonenonenonenonenonenonenonenonenone

Notes on computed user files

Some clients' user files are computed at run time rather than taken from a fixed path; the table shows the default.

ClientHow the user file is chosen
vscode-legacy<AppData>/<variant>/User/mcp.json plus User/profiles/<id>/mcp.json for the selected profiles. Variants (Code, Code - Insiders, VSCodium) and profiles come from import_variants and import_profiles in store/clients.toml (default: Code, default profile only). Read only: Surjection never writes these files.
devin%APPDATA%\devin\mcp_config.json on Windows; ~/.config/devin/mcp_config.json on Linux and macOS (whatever XDG_CONFIG_HOME says).
trae, trae-cnUser/mcp.json plus every existing User/profiles/<id>/mcp.json, as SkillDock did.
continue~/.continue/config.yaml. While Continue still uses only config.json, the target is refused (read_only_format) instead of creating config.yaml, which would replace the JSON setup.
goose$GOOSE_PATH_ROOT/config/config.yaml when that variable is set, else <AppData>/Block/goose/config/config.yaml on Windows and $XDG_CONFIG_HOME/goose/config.yaml elsewhere.
ompThe default profile is the listed file; named profiles are selected with profiles = [...] under [omp] in store/clients.toml.
claude-desktopThe Microsoft Store (MSIX) build keeps a virtualized copy of the config; when it exists, both files are written and the apply reports msix_dual_write.

Verification status

verified means the adapter's paths, entry shape and capabilities were checked against the real client at gate V1 (Tier A) or V2 (Tier B); results are in docs/verify/. [verify] means the adapter is built from documentation and SkillDock's tables and still has open checks, listed by id from scripts/verify-clients.md. Every adapter is covered by automated tests (golden files, a fake environment, the apply engine); the ids below are about real clients only.

IdStatusCheckedOpen checks
claude-codeverifiedV1, Windows and Arch Linux (WSL): CC-1 to CC-11macOS not checked
ompverifiedV1, Windows and Arch Linux (WSL): OMP-1 to OMP-5, OMP-7 to OMP-9, OMP-11; V2: OMP-6, OMP-10OMP-9 unclear (omp's own enabledServers list, which Surjection never edits); macOS not checked
piverifiedV2, Windows: PI-1 to PI-12Linux and macOS not checked
codexverifiedV1, Windows and Arch Linux (WSL): CX-1 to CX-8, CX-11; V2: CX-9, CX-10macOS not checked
claude-desktopverified (Windows)V1 and V2, Windows: CD-1, CD-3 to CD-6CD-2 (MSIX copy), CD-7 (macOS)
copilotverifiedV2, Windows: COP-1 to COP-6, COP-8 to COP-11COP-7 (tool filter); Copilot CLI parts of COP-4, COP-5, COP-9 (blocked by an account policy)
cursorverifiedV2, Windows: CUR-1 to CUR-10Linux and macOS not checked
gemini[verify]noneGEM-1 to GEM-11
antigravity[verify]noneANT-1 to ANT-10
opencode[verify]noneOC-1 to OC-10
grok[verify]noneGRK-1 to GRK-10
vscode-legacyverified (Windows)V2, Windows: VSL-1 to VSL-6VSL-1 on Arch Linux; VSL-3 tool picker
windsurf[verify]noneWSF-1 to WSF-8
devin[verify]noneDEV-1 to DEV-8
augment[verify]noneTD-1, TD-2, TD-14, TD-15
cline[verify]noneTD-1, TD-3, TD-14, TD-15
roo-code[verify]noneTD-1, TD-3, TD-14, TD-15
kilo-code[verify]noneTD-1, TD-3, TD-14, TD-15
kiro[verify]noneTD-1, TD-2, TD-4, TD-14, TD-15
junie[verify]noneTD-1, TD-2, TD-14, TD-15
droid[verify]noneTD-1, TD-2, TD-14, TD-15
commandcode[verify]noneTD-1, TD-2, TD-14, TD-15
crush[verify]noneTD-1, TD-2, TD-14, TD-15
qoder[verify]noneTD-1, TD-2, TD-14, TD-15
trae[verify]noneTD-1, TD-2, TD-7, TD-14, TD-15
trae-cn[verify]noneTD-1, TD-2, TD-7, TD-14, TD-15
codebuddy[verify]noneTD-1, TD-2, TD-8, TD-14, TD-15
iflow[verify]noneTD-1, TD-2, TD-8, TD-14, TD-15
qwen-code[verify]noneTD-1, TD-10, TD-14, TD-15
zencoder[verify]noneTD-1, TD-2, TD-6, TD-14, TD-15
openclaw[verify]noneTD-1, TD-9, TD-14, TD-15
mimo-code[verify]noneTD-1, TD-9, TD-14, TD-15
workbuddy[verify]noneTD-1, TD-2, TD-14, TD-15
zcode[verify]noneTD-1, TD-2, TD-5, TD-14, TD-15
continue[verify]noneTD-1, TD-11, TD-14 to TD-17
goose[verify]noneTD-1, TD-12, TD-14 to TD-16
hermes[verify]noneTD-1, TD-13, TD-14, TD-15
intellij[verify]noneTD-15 (detection only; no MCP target)

Findings from the gates that changed adapter behavior (fix briefs FB-1 to FB-17) are described in docs/verify/README.md. Notable ones for users:

  • Claude Code keys projects in ~/.claude.json by the exact spelling of the folder path it was started in (CC-3). Start Claude Code from the folder path with the same case Surjection uses.
  • Claude Desktop starts newly added servers only after a full restart (quit it from the system tray or menu bar too); the apply report says so (restart_required).
  • Grok Build (the desktop app formerly named Cursor; it still reads .cursor/) lists servers from <P>/.cursor/mcp.json as disabled until you turn each on once in Grok Build (Customize > MCPs); Surjection reports client_enable_required. It runs a same-named user and project server side by side (duplicate_across_layers).
  • omp applies an entry's timeout (milliseconds) to server startup too, so a small value can stop a slow server (for example npx on its first run) from starting at all.
  • omp and Pi share one file when PI_CODING_AGENT_DIR is set; a timeout in such a file is blocked (timeout_unit_conflict) because omp reads it in milliseconds and Pi in seconds.