Sync MCP Servers Across Agents
sync_mcp_across_agentsSync MCP server configurations across Antigravity, Claude Code, Cursor, and Codex by mirroring a source agent, merging all active servers, or applying an explicit list, with dry-run preview and automatic rollback backup.
Instructions
Synchronize MCP server configurations across Antigravity, Claude Code, Cursor, and Codex by mirroring a source agent, syncing the union of all active servers, or applying an explicit list. Supports dryRun preview and creates an automatic rollback backup before writing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_mcp_across_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Sync mode: mirror (copy sourceAgent to targets), union (merge all active), or explicit | |
| dryRun | No | If true, computes exact per-agent diff without modifying files (recommended first) | |
| sourceAgent | No | Source agent to mirror when mode is 'mirror' (default: antigravity) | |
| targetAgents | No | Destination agents to update (defaults to all other agents for mirror, or all 4 agents) | |
| enabledServers | No | Explicit server IDs when mode is 'explicit' |