| name | mcp-sync |
| description | Use this skill when adding or modifying Model Context Protocol (MCP) server configurations to ensure they are synchronized across different tool settings. |
MCP Sync Convention
To ensure a consistent experience across different AI tools (like VS Code Copilot and Gemini CLI), any new MCP server must be added to all of the following locations:
- VS Code / Copilot:
dotfiles/code/mcp.json
- Format: Standard MCP JSON configuration within the
servers object.
- Gemini CLI:
dotfiles/.gemini/settings.json
- Format: Standard MCP JSON configuration within the
mcpServers object.
- Antigravity:
dotfiles/.gemini/antigravity/mcp_config.json
- Format: Standard MCP JSON configuration within the
mcpServers object.
Workflow
When a directive is issued to add an MCP server:
- Identify the command and arguments for the MCP server.
- Update
dotfiles/code/mcp.json.
- Update
dotfiles/.gemini/settings.json.
- Update
dotfiles/.gemini/antigravity/mcp_config.json.
- Verify that all files are valid JSON and contain matching configurations.