sync-diff
Compare MCP server configurations between Claude Code and other AI agents
Compare which MCP servers exist in Claude Code vs other AI agents.
Arguments
The user may pass target names: /sync-diff gemini
If no targets specified, compare all targets (gemini, codex, opencode, kiro, cursor, kimi, vibe, qwen, amp, cline, windsurf).
Optional flags:
--report json— output machine-readable JSON summary (CI-friendly)
Execution Flow
-
Parse targets from user arguments. Run:
npx sync-agents-settings diff --target <targets> -
Present the comparison for each target:
- Shared — servers that exist in both Claude and the target
- Only in Claude — servers that could be synced to the target
- Only in target — servers that exist in the target but not in Claude
-
If there are servers "Only in Claude", suggest: "Run
/syncto sync these servers to the target agents."- If
--report jsonis used, return raw JSON output and avoid text post-processing.
- If
Error Handling
- If
npxfails: suggestnpm install -g sync-agents-settingsas fallback. - Note: Codex and Vibe diff show a note instead of actual comparison (TOML format limitation).