🔌 cc-switch
All-in-One Manager for Claude Code, Codex & Gemini CLI — right inside VS Code.
Switch AI providers, manage MCP servers / skills / sessions, and track usage — without leaving the editor.
✨ What it is
A VS Code extension that acts as a single control panel for the AI coding CLIs — Claude Code, Codex, and Gemini CLI. Instead of hand-editing config files or juggling terminal commands, you get a webview panel to switch providers, manage MCP servers / skills / sessions, and see usage analytics, all from the editor.
🎯 Highlights
- 🔀 One-click provider switching — swap the active provider for Claude Code / Codex / Gemini CLI without touching config files.
- 🗂️ MCP server management — enable, disable, and configure Model Context Protocol servers from the panel.
- 🧠 Skills & sessions — manage skills and switch/inspect CLI sessions.
- 📊 Usage analytics — built-in usage view to track spend/tokens across providers.
- 💼 Config export / import — back up or migrate your whole setup as a portable config.
- 🖥️ Webview UI — a rich in-editor panel (not just command-palette text).
🎛 Commands
| Command | Action |
|---|---|
CC Switch: Open Panel |
Open the management webview |
CC Switch: Switch AI Provider |
Switch the active provider |
CC Switch: Quick Switch Provider |
Fast provider switch |
CC Switch: Add Provider |
Register a new provider |
CC Switch: Open Settings |
Extension settings |
CC Switch: Show Usage Analytics |
Usage / token dashboard |
CC Switch: Manage MCP Servers |
Enable / configure MCP servers |
CC Switch: Manage Skills |
Manage skills |
CC Switch: Manage Sessions |
Manage CLI sessions |
CC Switch: Export Configuration |
Export your config |
CC Switch: Import Configuration |
Import a config |
🏗 Architecture
cc-switch-vscode/
├── package.json # contributes.commands (11 commands), activation, views
├── src/
│ ├── extension/ # extension host logic — command handlers, provider state
│ └── webview/ # the management panel UI
└── dist/ # compiled output (dist/extension/extension.js is the entry)
🚀 Installation
From a .vsix build:
code --install-extension cc-switch-1.0.0.vsix
Or for development:
npm install
npm run build # compiles src/ → dist/
Then press F5 in VS Code to launch an Extension Development Host with cc-switch loaded.
🕹 Usage
- Run
CC Switch: Open Panelfrom the Command Palette (Ctrl/Cmd+Shift+P). - Add a provider via
CC Switch: Add Provider. - Use
CC Switch: Switch AI Provider(or Quick Switch) to activate it for your CLI. - Manage MCP servers / skills / sessions from the panel; check Show Usage Analytics anytime.
📄 License
MIT