mcpfold logomcpfold

← All features

Sync, diff, and drift control

See exactly what would change before you write it, fold your config out with one command, and catch drift when a client config wanders from the source — in your terminal or as a CI gate.

`mcpfold diff` shows the precise, per-client changes a fold would make before anything is written, so a sync is never a surprise. `mcpfold sync` then applies them deterministically, and can back up what it replaces so a change is always reversible.

Because the canonical config is the source of truth, mcpfold can detect drift — a client file that was hand-edited away from the config — and report it. Run that check in CI as a gate so a repo’s committed MCP config and the clients it targets can never silently diverge.

Import works the other way too: `mcpfold import` reads a client’s existing servers back into the canonical format, so adopting mcpfold never means retyping what you already have.

Preview, apply, and guard against drift

$ mcpfold diff # what would change, per client — before writing anything $ mcpfold sync # apply it (with a backup of what was replaced) $ mcpfold diff --check # non-zero exit if any client drifted — use it as a CI gate

Go deeper

Related features

Ready to try it? Install mcpfold — the CLI is free and MIT-licensed. Or head back to the overview.