One command to sync MCP servers across every AI agent.
Add an MCP server to one agent and forget the rest? MCPSync reads every agent's config, merges the servers into one deduplicated list, and writes back to all of them. Atomic writes, automatic backups, zero runtime.
- ✓ 13 agents supported
- ✓ No runtime required
- ✓ Backs up before writing
Install
Pick the option that matches your setup — no runtime required once installed.
No Go required. The npm package downloads the correct pre-built binary for your platform. Needs Node 18+.
Or one-shot with npx: npx @anushkrishnav/mcpsync list
Make sure $(go env GOPATH)/bin is on your PATH, then run mcpsync now.
All builds available on the releases page.
Requires Go 1.21+. The compiled binary runs without Go installed.
Commands
Four commands cover every workflow. Run any with --help for full flags.
Supported agents
13 agents out of the box. Don't see yours? Open a request — adding one is usually ~10 lines of Go.
~/Library/…/claude_desktop_config.json
~/.claude.json
~/.cursor/mcp.json
~/.vscode/mcp.json
~/.codeium/windsurf/mcp_config.json
~/.config/zed/settings.json
~/.continue/config.json
~/.junie/mcp/mcp.json
~/.gemini/settings.json
~/.gemini/antigravity/mcp_config.json
~/.codex/config.json
~/.copilot/mcp-config.json
~/.config/github-copilot/mcp.json
Want your preferred agent supported?
If your agent isn't listed, it's easy to add. Just tell us the config file path — or submit the adapter yourself (usually ~10 lines of Go).
How it works
A predictable, auditable pipeline. Read everything, normalize to one shape, merge, write atomically, back up the originals.
- Read — each adapter reads its config and normalizes to a common
NormalizedServerstruct (type, command, args, env, url, headers). - Merge — servers are deduplicated by name. Conflicts surface interactively with side-by-side diffs.
- Write — adapters convert back to each agent's native format and write atomically (
.tmp→ rename). - Backup — every modified file is copied to
filename.old.jsonfirst (toggle with--no-maintain).
Open source. Community-driven.
MIT licensed. Add an agent in ~10 lines of Go, file a bug, or just say hi.