Skip to main content
Glama

Sync MCP Servers Across Agents

sync_mcp_across_agents

Sync 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

NameRequiredDescriptionDefault
modeNoSync mode: mirror (copy sourceAgent to targets), union (merge all active), or explicit
dryRunNoIf true, computes exact per-agent diff without modifying files (recommended first)
sourceAgentNoSource agent to mirror when mode is 'mirror' (default: antigravity)
targetAgentsNoDestination agents to update (defaults to all other agents for mirror, or all 4 agents)
enabledServersNoExplicit server IDs when mode is 'explicit'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral burden and does disclose key traits: it writes configurations, supports a dryRun preview, and creates an automatic rollback backup before writing. It does not state permissions required, exactly which files are modified, or what happens on partial failure, but the safety-relevant behavior is clearly surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with zero wasted wording. The core operation and modes are front-loaded, followed immediately by the safety-relevant dryRun and rollback behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a multi-agent configuration-writing tool with no annotations and no output schema, the description covers the main operation and safety net but omits return/report format, permissions, and failure behavior. It is minimally adequate, especially since the schema documents all parameters, but not fully complete for a mutation tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in the input schema. The description reinforces the mode concepts and dryRun/backup behavior but adds no syntax, defaults, or constraint details beyond what the schema already provides, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: synchronize MCP server configurations across four named agents. It also names the three operational modes (mirror, union, explicit), which helps distinguish it from a generic profile tool, though it does not explicitly differentiate itself from sibling preview or rollback tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lists the three modes but does not explain when an agent should choose mirror versus union versus explicit, nor when to use this tool instead of siblings like app_preview_apply or app_rollback_backup. The dryRun recommendation appears in the schema rather than the description, leaving usage guidance implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.