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

  1. Parse targets from user arguments. Run: npx sync-agents-settings diff --target <targets>

  2. 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
  3. If there are servers "Only in Claude", suggest: "Run /sync to sync these servers to the target agents."

    • If --report json is used, return raw JSON output and avoid text post-processing.

Error Handling

  • If npx fails: suggest npm install -g sync-agents-settings as fallback.
  • Note: Codex and Vibe diff show a note instead of actual comparison (TOML format limitation).