Surjection

Open source · MIT · Windows and Linux · Early development

The same setup,
onto every client.

Surjection keeps your MCP servers, skills and secret references in one versioned, offline store and writes them into each AI coding client's own config file. It changes only the entries it wrote, and secret values stay out of the store.

Windows and Linux apps, and a CLI for macOS. All install options

Formerly Loadout. Existing installs move over on their own, and the loadout command keeps working. What changed

Storegit · 0cc3f1a
  • githubstdio
  • context7http
  • playwrightstdio
  • sentryhttp
  • code-reviewskill

Secrets GITHUB_PAT · SENTRY_TOKEN
Aliases only. Values stay in env vars, the OS keyring or 1Password.

Clients38 adapters
  • ompRecommended
  • Claude Code
  • Codex
  • Grok Build+1 foreign, untouched
  • GitHub Copilot
  • Gemini CLI
  • Claude Desktop · Pi · OpenCode · Grok Build TUI · Windsurf · and 27 more
Each cable is one native entry Surjection wrote and owns. Hand-written entries stay where they are.

The problem

One server. Six clients. Six files.

Every AI coding client keeps its MCP servers in its own file, in its own format, under its own key. Running several of them side by side means doing every change by hand, several times.

How it works

Store. Plan. Apply. Undo.

  1. 01 / Store

    Define it once

    store/servers/github.toml
    transport = "stdio"
    command = "npx"
    args = ["-y",
      "@modelcontextprotocol/server-github"]
    
    [env]
    GITHUB_PERSONAL_ACCESS_TOKEN =
      "${secret:GITHUB_PAT}"

    Plain TOML files in a local git repository. Turn each server on for the clients you want. Secrets are aliases that point at an env var, the OS keyring or 1Password.

  2. 02 / Plan

    See every write first

    pending changes
    ~/.omp/agent/mcp.json  +1 ~0 -0
    ~/.codex/config.toml   +1 ~0 -0
    ~/.cursor/mcp.json     +0 ~1 -0
    not managed (foreign)  2 · skipped

    The plan compares what the store wants, what each file holds and what Surjection last wrote, per file and per entry. surject diff shows the exact file diffs.

  3. 03 / Apply

    Write it, safely

    apply
    Apply: 3 files written
    backups   3 · taken before each write
    commit    0cc3f1a

    Each file is backed up, edited in place, checked and written atomically. Comments, key order and indentation stay as they were. One apply is one commit.

  4. 04 / Undo

    Keep the way back

    history
    0cc3f1a  Apply: 3 files written
             Undo this apply
    
    or on the command line
    $ surject rollback last

    Undo this apply in History, or surject rollback last. Entries you edited by hand since are not overwritten without asking.

Bring your setup in

Start from what you already have.

Your clients already have MCP servers, skill folders and project folders. Surjection leaves them alone until you bring them in: the first start offers it, and the Import page does it any time. Scanning only reads.

Not managed by Surjection lists each client's other entries on the MCP page and in Tools, with Import… on each, and a one-line sidebar notice (“7 not managed”) says when new ones appear. An import that moved secrets out of a file offers to remove the backups that still hold the old values. Details: user guide, Importing in the app.

Install from anywhere, safely

Ask first. Scan always. Pin everything.

Skills and MCP servers can come from any Git repository or folder. Code from someone else runs with your permissions, so Surjection asks before it trusts a new source, scans what it fetched before anything is saved, and pins what it installs to the exact commit or version it checked.

Trust is never implicit: --yes never grants it, and a run without a terminal needs an explicit --trust-source. Details: user guide, Source trust and Security model.

Catalogs and agents

Find it, check it, then install it.

Browse MCP servers and skills from public catalogs inside Surjection, and give your coding agent a skill that explains your setup without letting it change anything.

Registry trust is keyed on what actually runs (the package or the server's host), never on the repository a publisher claims, which is shown as unverified. Data from the Official MCP Registry is shown as published there, with no endorsement implied, and the Official mark is kept for Anthropic's own skills and plugins. Details: user guide, Catalogs and The Surjection skill for agents.

One entry, many dialects

Written the way each client reads it.

You define a server once. Surjection renders it into each client's own file, in that client's own syntax, down to how it spells a secret reference. Here the alias GITHUB_PAT points at an environment variable.

Store store/servers/github.toml

transport = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]

[env]
GITHUB_PERSONAL_ACCESS_TOKEN = "${secret:GITHUB_PAT}"

[enable]
clients = ["omp", "cursor", "opencode"]

omp ~/.omp/agent/mcp.json

"github": {
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-github"],
  "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PAT}" }
}

Grok Build ~/.cursor/mcp.json

"github": {
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-github"],
  "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_PAT}" }
}

OpenCode opencode.jsonc

"github": {
  "type": "local",
  "command": ["npx", "-y", "@modelcontextprotocol/server-github"],
  "environment": { "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PAT}" }
}

When the alias points at the OS keyring or 1Password, or a client cannot expand references, Surjection starts the server through surject exec, which fetches the value in memory at launch. A secret that cannot be resolved on a machine blocks that server there instead of writing an empty value.

Clients

38 client adapters, native formats.

JSON, JSONC, JSON5, TOML and YAML, edited in place. Client names are trademarks of their owners; Surjection is not affiliated with any of them.

Daily

Tiers A and B · checked against the real clients

Daily clients and their user config files
ClientUser file
omp Recommended~/.omp/agent/mcp.json
Claude Code~/.claude.json
Codex~/.codex/config.toml
Claude Desktop Windows, macOS<AppData>/Claude/claude_desktop_config.json
Pi~/.pi/agent/mcp.json
GitHub Copilot~/.copilot/mcp-config.json
Grok Build~/.cursor/mcp.json

Supported

Tier C

  • Gemini CLI
  • Antigravity
  • OpenCode
  • Grok Build TUI

Best effort

Tier D

  • Windsurf
  • Devin Desktop
  • Augment
  • Cline
  • Roo Code
  • Kilo Code
  • Kiro
  • Junie
  • Factory Droid
  • Command Code
  • Crush
  • Qoder
  • Trae
  • Trae CN
  • CodeBuddy
  • iFlow CLI
  • Qwen Code
  • Zencoder
  • OpenClaw
  • MiMo Code
  • WorkBuddy
  • ZCode
  • Continue
  • Goose
  • Hermes Agent
  • VS Code (legacy mcp.json, read only)
  • IntelliJ IDEA (detection only)

omp is listed first because Surjection is built and tested with omp first. Tiers C and D are built from each client's documentation and covered by automated tests; their checks against the real clients are still open. Every file path, format and capability: Supported clients.

Safety and trust

Built so it can't make a mess.

Threat model and design: Security model. Report a vulnerability: SECURITY.md.

Read-only aware

Locked files stay locked.

Some client files can be read but not written by your account: a project folder managed by a security-focused installer, a file marked read only, a read-only network share. Surjection shows them, says why, and plans around them.

The desktop app

Everything in view.

The app and the surject command line work on the same data. Screenshots use sample data.

Patch in

Install Surjection

Downloads come from the latest GitHub release. Each release lists the SHA-256 hash of every file in SHA256SUMS.

Windows

Signed per-user installer: no administrator rights, puts surject on your PATH and updates itself. Windows 11, x64.

Download the installer Surjection_X.Y.Z_x64-setup.exe
  • wingetPending
    winget install --id DailenG.Surjection

    Submitted to winget-pkgs (kept at the latest release) and waiting for a moderator's review. Until then, use the installer above.

  • ChocolateyPending
    choco install surjection

    Waiting for moderation on the Chocolatey Community Repository (a new package's first versions are reviewed by hand). It installs per user, like the installer.

Linux

The AppImage runs on most distributions and updates itself. Prefer your package manager? Use the .deb or .rpm. x86_64.

chmod +x surjection_*_amd64.AppImage
sudo apt install ./surjection_*_amd64.deb
sudo dnf install ./surjection-*.x86_64.rpm
  • AUR: surjection-binPending
    yay -S surjection-bin

    Not on the AUR yet: AUR account registration is closed for now. Until then, build it from the repository (below).

  • AUR: surjection (source)Pending
    yay -S surjection

    Not on the AUR yet: AUR account registration is closed for now.

Arch Linux, until the AUR packages are published: git clone https://github.com/DailenG/surjection, then makepkg -si in packaging/aur/surjection-bin.

macOS and CLI

A macOS app is in development, and we need testers: if you have a Mac and would like to help, say so in an issue. Until then, the surject command line builds on macOS, and on any system with stable Rust, straight from the repository:

cargo install --git https://github.com/DailenG/surjection surjection
  • crates.ioPending
    cargo install surjection

    Not on crates.io yet; use the git install above.

Check the install with surject --version. Then follow Getting started.

Per-OS details, checksums, updates and uninstalling: user guide, Install.

Open source

Read it, run it, check it.

MIT licensed and developed in the open. Every claim on this page can be checked against the repository.