farion1231/cc-switch
Tauri desktop manager for AI coding providers, local routing, and MCP config
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
CC Switch is a Tauri desktop app that manages the native configuration of existing AI coding clients. The repository separates the Rust desktop side in src-tauri/ from the TypeScript frontend in src/. The frontend uses Vite, @tauri-apps/api for desktop integration, and CodeMirror packages for JSON and Markdown editing. Provider switches update connection fields—endpoint, key, and model—rather than replacing unrelated hooks, plugins, or MCP settings.
In Direct mode, the coding client calls its provider without CC Switch forwarding requests. In Routing mode, a local forwarder handles requests and can translate supported API formats and fail over between providers. Aggregation exposes models from multiple providers in one client menu and routes each request according to the selected model. MCP management is separate from the inference path: CC Switch imports or creates server definitions and syncs them to selected clients.
Key Capabilities & Differentiators
More than 90 provider presets, including AWS Bedrock and NVIDIA NIM, sit alongside custom configurations. Claude Code and Codex support both routing and aggregation; for example, routing can connect Claude Code to an OpenAI- or Gemini-format provider or Codex to a Claude provider. The modes are not uniform across clients: Claude Desktop offers model mapping rather than general local routing or aggregation, while clients such as OpenCode and Hermes can keep multiple provider entries instead of switching a single active entry.
Beyond provider configuration, CC Switch can distribute MCP definitions and Skills to selected clients, maintain prompts per client, and turn supported session logs into a searchable reading view. Token and spend tracking can work without local routing. Antigravity gained routing, failover, and aggregation in v4.0.46, but those modes do not yet translate to or from OpenAI Responses or Anthropic Messages.
Trade-offs & Limitations
For one client with a stable provider, native configuration has fewer moving parts. CC Switch earns its place when switching providers or keeping MCP configurations aligned across clients becomes recurring work. Direct mode preserves the client-to-provider request path; routing adds a local process that must remain available and whose compatibility needs testing. Aggregation is model-based dispatch, not a guarantee that every provider's features work identically through every client.
Compared with a shared API gateway, the practical advantage is workstation integration: CC Switch edits native configuration and can switch providers from the tray. Do not assume that optional config sync provides centralized policy, team credential administration, or fleet-wide observability. Before wider rollout, validate the modes for each client and the credential handling of each upstream. Sync encryption protects the upload, not requests sent to a chosen provider or relay.
Hardware & Deployment Guide
Install on Windows 10 or later via MSI or portable ZIP, with ARM64 builds available. macOS 12 or later has a Homebrew cask and a signed, notarized Universal build. Linux packages cover x86_64 and ARM64 in DEB, RPM, and AppImage formats; the baseline is glibc 2.35+ and WebKitGTK 4.1. Flatpak is a self-build option, not an official release artifact.
Run CC Switch on the workstation that owns the client configurations. It is not an inference server: local configuration work does not require a GPU, and calls to hosted providers still need network access. A configuration switch takes effect without a restart in Claude Code, whereas Codex and Gemini CLI need a CLI or terminal restart and Claude Desktop needs an app restart. In v4.0.47, configuring an encryption key for optional WebDAV or S3 sync encrypts data before upload and prevents devices with a mismatched key from overwriting it.
Developers who use several AI coding clients and want one workstation app for provider switching, selective MCP sync, and optional failover or model aggregation on supported clients.
One client's native settings are enough, or your primary requirement is local inference or a centrally administered team gateway.
Quick Start & Installation
brew install --cask cc-switchComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| cc-switch ★ | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| claude-code-router | 38.5k | +101 | TypeScript | MIT | Local model gateway for routing coding agents across providers |
| magpie | 45.5k | +2.9k | Go | MIT | A local API gateway that pools model subscriptions across coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/farion1231/cc-switch.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about cc-switch
What changes when I switch providers, and is MCP part of the routing path?
Does CC Switch need a GPU or dedicated VRAM?
Can a company deploy CC Switch commercially and use its own sync storage?
When should I choose CC Switch over native settings or a shared API gateway?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy