Skip to main content

midos-mcp-sync

PyPI version Python License: MIT

Stop editing JSON files. Start building.

Detect, validate, and synchronize MCP server configurations across all your AI tools — Claude Desktop, Cursor, VS Code Copilot, Windsurf, and more.

The Problem

Using 2+ MCP clients? Every new MCP server means manually editing 3-6 separate config files in different locations and formats. Configs drift between machines and teammates. midos-mcp-sync fixes this.

Install

pip install midos-mcp-sync

Quick Start

# 1. Detect all MCP configs on your machine
midos-mcp-sync detect

# 2. Validate a config file
midos-mcp-sync validate

# 3. Preview what sync would change (dry-run by default)
midos-mcp-sync sync

# 4. Apply sync across all clients
midos-mcp-sync sync --apply

Commands

detect — Find all MCP configs

Auto-discovers configs from Claude Desktop, Cursor, VS Code Copilot, Windsurf, and project-level .mcp.json files.

midos-mcp-sync detect
midos-mcp-sync detect --project ./my-project
midos-mcp-sync detect --json

validate — Check config correctness

Validates structure, server entries, transport types, and best practices.

midos-mcp-sync validate
midos-mcp-sync validate path/to/.mcp.json

sync — Synchronize across clients

Merges all detected configs using union strategy. Conflicts resolved by newest-file-wins.

# Preview changes (dry-run, default behavior)
midos-mcp-sync sync
midos-mcp-sync sync --dry-run

# Apply changes
midos-mcp-sync sync --apply

# Output sync plan as JSON
midos-mcp-sync sync --json

diff — Compare two configs

midos-mcp-sync diff config-a.json config-b.json

merge — Combine configs

midos-mcp-sync merge base.json overlay.json
midos-mcp-sync merge base.json overlay.json -o merged.json

init — Create template config

midos-mcp-sync init
midos-mcp-sync init path/to/.mcp.json
midos-mcp-sync init --force  # overwrite existing

export — Export in different formats

midos-mcp-sync export .mcp.json --format json
midos-mcp-sync export .mcp.json --format yaml

list / register — Local config registry

midos-mcp-sync register .mcp.json --name my-project
midos-mcp-sync list

Supported Surfaces

Client Config Location Status
Claude Desktop ~/.config/claude/claude_desktop_config.json Detected
Cursor ~/.cursor/mcp.json Detected
VS Code Copilot .vscode/settings.json (mcp section) Detected
Windsurf ~/.windsurf/mcp.json Detected
Claude Code .mcp.json (project root) Detected
Custom Any .mcp.json via register Supported

How Sync Works

  1. Detect all MCP configs across installed AI clients
  2. Merge servers using union strategy (all servers from all configs)
  3. Resolve conflicts — same server name with different settings: newest file wins
  4. Preview changes in dry-run mode (default)
  5. Apply writes the merged config back to each client's config file

Optional Dependencies

# For YAML export support
pip install midos-mcp-sync[yaml]

YAML export works without pyyaml using a built-in minimal formatter.

Development

git clone https://github.com/midos-community/midos-mcp-sync.git
cd midos-mcp-sync
pip install -e ".[dev]"
pytest

License

MIT

Metadata

Release files for midos-mcp-sync 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for midos-mcp-sync 0.1.0
File Size Uploaded Provenance
midos_mcp_sync-0.1.0.tar.gz 17.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for midos-mcp-sync 0.1.0
File Interpreter ABI Platform
midos_mcp_sync-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.5 kB

Release files / midos_mcp_sync-0.1.0.tar.gz

Download URL midos_mcp_sync-0.1.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0087b937a338a3eb75a57bc16fb85bee6f503b9d2cac8897d758f641619aed7d
BLAKE2b-256 checksum
How to use checksums
d16269c3ec5163e3090105a164fa735015bd55ce7e742a1d59fd0d8d0122e69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.

Transparency log

Release files / midos_mcp_sync-0.1.0-py3-none-any.whl

Download URL midos_mcp_sync-0.1.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a696c1fd8cd0b4509f43190a667bdefbb31e20f53700d3fbb1fa2154cab2b0aa
BLAKE2b-256 checksum
How to use checksums
79e3ac8dc7491e92457b3f15d7e62c89541604b9bed36497af738a7df5921db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.

Transparency log

Security for midos-mcp-sync 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for midos_mcp_sync-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page