mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-26 06:24:32 +08:00
fafca841cb
All MCP operations already auto-sync to live configs: - upsert_server() → sync_server_to_apps() - toggle_app() → sync_server_to_app() or remove_server_from_app() - delete_server() → remove_server_from_all_apps() The manual 'Sync All' button was redundant and could confuse users into thinking they need to manually sync after each change. Changes: - Remove 'Sync All' button from UnifiedMcpPanel header - Remove useSyncAllMcpServers hook - Remove handleSyncAll function and syncAllMutation state - Remove RefreshCw icon import - Remove sync-related i18n translations (en/zh) Note: Backend sync_all_mcp_servers command remains for potential future use (e.g., recovery tool), but is no longer exposed in UI.