Synchronize MCP server configurations across 20+ AI agents
Project description
mcp-synchro
One config file. Every AI agent. Synced.
Keep your MCP (Model Context Protocol) server list in a single master file and push it to Claude Desktop, Cursor, Codex CLI, Gemini CLI, VS Code, Windsurf, Cline, Roo, and 15+ more — all at once.
The problem
MCP servers are tools that AI agents can call: a filesystem browser, a web search tool, a database connector, a code executor. Every agent you use has its own config file in its own format, in its own folder, on its own path.
Add a new MCP server manually and you are editing a dozen files. Rename one and you are hunting through JSON and TOML spread across ~/Library/, ~/.config/, and %APPDATA%. One agent uses mcpServers, another uses mcp_servers. One wants JSON, one wants TOML with snake_case keys.
The solution
mcp-synchro maintains a single Source of Truth file (mcp.json). You edit that one file. Then:
mcp-synchro push # stamp your MCP servers into every agent config on this machine
mcp-synchro pull_new # grab any servers an agent has that your master file doesn't
mcp-synchro pull_all # rebuild the master file from scratch using every agent's current config
The tool reads each agent's native config format, updates only the MCP servers section, and leaves everything else (API keys, UI preferences, keybindings) untouched.
What MCP is
Model Context Protocol is an open standard that lets AI agents talk to external tools and data sources. Instead of baking every tool directly into an agent, you run small MCP servers locally (or remotely) and point agents at them. One MCP server for filesystem access, one for GitHub, one for your internal database — and every agent that supports MCP can use all of them.
The configuration is simple:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/projects"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_TOKEN": "ghp_..." }
}
}
}
The problem is that every AI agent invents its own variation of this format — different key names, different file locations, sometimes TOML instead of JSON.
Install
pip install mcp-synchro
# or
uv pip install mcp-synchro
Quick start
# See which agents are detected on this machine
mcp-synchro list
# Pull all agent configs into a fresh master file
mcp-synchro pull_all
# Preview what push would do without writing anything
mcp-synchro push --dry-run
# Push your master config to all agents
mcp-synchro push
The master config file lives at the OS-appropriate user config directory (e.g. ~/.config/mcp-synchro/mcp.json on Linux/macOS, %APPDATA%\mcp-synchro\mcp.json on Windows).
Supported agents
Claude Desktop, Cursor, VS Code (Copilot), Windsurf, Cline, Roo Code, Codex CLI, Gemini CLI, OpenCode, 5ire, Jan, Qwen Chat, Crush, and more. Agent definitions live in a bundled JSON file and can be extended with a local override.
Config format
The Source of Truth file uses the standard Claude Desktop JSON shape:
{
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you"],
"env": {}
},
"brave-search": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": { "BRAVE_API_KEY": "BSA..." }
}
}
When pushing to Codex CLI (which uses TOML), mcp-synchro automatically converts camelCase keys to snake_case and writes the correct TOML structure. When pulling from Codex, it converts back.
What gets preserved
Only the MCP servers section of each agent's config is touched. Claude Desktop's globalShortcut, Cursor's UI settings, VS Code's extension preferences — none of that is read or written.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_synchro-1.0.4.tar.gz.
File metadata
- Download URL: mcp_synchro-1.0.4.tar.gz
- Upload date:
- Size: 66.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b970caf29f541b5c7162b1e48fbe66ce27c8a1b60c8ab7799561471ad77179
|
|
| MD5 |
4ce3f5bba3d37d8bcd96a221e0d79488
|
|
| BLAKE2b-256 |
96a6982d755787a4d6b2834e72fd3d05e5edd007d9405ad44737cceabefbffc2
|
File details
Details for the file mcp_synchro-1.0.4-py3-none-any.whl.
File metadata
- Download URL: mcp_synchro-1.0.4-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a11554173de814f590a747a949aa78ce891bd99ce28fe986d635eb3fd12f13f4
|
|
| MD5 |
b56b619a6c0511bdc77d94225b48fd37
|
|
| BLAKE2b-256 |
4f134dc81dba1aeed4782a6cda95db573c11e8e3bfc35be93b3df0f1c472898c
|