Skip to content

CC-Switch Quick Configuration Tool

CC-Switch is an All-in-One AI CLI manager. It provides a desktop UI for managing provider configurations, MCP servers, system prompts, and extension workflows for tools such as Claude Code, Codex, and Gemini CLI.

Best For

Use CC-Switch when you frequently switch between official services, PotatoAI.cc, and other relay configurations. It reduces formatting mistakes from manually editing config files.

ResourceLink
GitHub Releasesgithub.com/farion1231/cc-switch/releases
GitHub Repositorygithub.com/farion1231/cc-switch
CC-Switch Docsccswitch.lovable.app
PotatoAI.cc API KeyCreate an API Key

Overview

CC-Switch is a cross-platform desktop app for managing Claude Code, Codex, and Gemini CLI from one place. It offers provider switching, API endpoint tests, MCP server management, system prompt management, and Claude Skills management through a visual interface.

CC-Switch interface

Core Features

FeatureDescription
Provider switchingSave multiple endpoints and API keys for Claude Code, Codex, and Gemini CLI, then switch with one click.
API endpoint checksTest endpoint speed and use quality indicators to evaluate availability.
System prompt presetsManage multiple prompt presets for different development tasks.
MCP server managementManage MCP server configuration with a unified structure.
Claude Skills managementDiscover and install Claude Skills.
Backup and restoreKeep the latest 10 configuration backups automatically.
Deep linksSupport ccswitch:// deep-link workflows.
Environment checksDetect environment variable conflicts that may affect tool calls.

Installation

Windows

Recommended: MSI Installer

  1. Open GitHub Releases.
  2. Download the latest .msi installer.
  3. Run the installer and follow the setup wizard.
  4. Launch CC-Switch from the Start menu.
Portable Version
  1. Download the .zip portable package.
  2. Extract it to any folder.
  3. Run cc-switch.exe.

macOS

Homebrew is recommended:

bash
brew tap farion1231/ccswitch
brew install --cask cc-switch
Manual Install
  1. Open GitHub Releases.
  2. Download the .dmg installer.
  3. Open the DMG and drag CC-Switch into the Applications folder.
  4. Launch it from Launchpad or Applications.

Linux

bash
sudo dpkg -i cc-switch_*.deb
sudo apt-get install -f
bash
chmod +x cc-switch_*.AppImage
./cc-switch_*.AppImage
bash
paru -S cc-switch-bin
# Or use yay
yay -S cc-switch-bin

Quick Start

1. Initialize Settings

Open CC-Switch, go to Settings, then open the General tab and enable the recommended Window Behavior options.

CC-Switch initialization settings

Recommended Options

Enable startup launch, silent launch, Claude Code plugin integration, skip first-install confirmation, and minimize to tray on close for the smoothest desktop experience.

2. Add a Claude or Gemini Provider

Click the plus button in the upper-right corner to add a provider configuration for Claude Code or Gemini CLI.

Add Claude or Gemini provider

Gemini Users

If you use Gemini CLI, create a Gemini-specific token on PotatoAI.cc instead of reusing a Claude token group.

3. Add a Codex Provider

Click the plus button again to add a Codex provider configuration.

Add Codex provider

FieldSuggested Value
Base URLhttps://www.potatoai.cc/v1. If the console shows a different dedicated URL, use the console value.
API KeyUse the key created for the matching tool token group.
ModelCopy the full model ID from Model Square or the console.
Tool typeClaude Code, Codex, and Gemini CLI should use separate configurations.

Important

Different AI tools require different token groups. Do not reuse tokens across Claude Code, Codex, and Gemini CLI, or you may see unavailable-model or permission errors.

4. Switch Providers

  1. Select the configuration you want in the provider list.
  2. Click Enable or Use Current.
  3. You can also switch instantly from the system tray icon.

System Tray Switching

Right-click the CC-Switch tray icon, then choose the tool and provider configuration from the menu. Claude Code supports hot reload; other tools usually work best after a restart.

5. Apply the Configuration

After switching, close and restart the corresponding AI tool so it reads the new configuration.

ToolRecommendation After Switching
Claude CodeUsually supports hot reload; restart if anything looks wrong.
Codex / Codex CLIClose the app or terminal session, then start it again.
Gemini CLIClose the terminal session, then start it again.

Full Documentation

For detailed configuration and advanced features, see the CC-Switch docs site.

Project Resources

ItemLink
GitHub Repositorygithub.com/farion1231/cc-switch
IssuesGitHub Issues
Latest VersionReleases page

Start Using It

You can now use CC-Switch to manage multiple AI coding tool configurations: create separate tokens for each tool, save multiple relay providers, and switch from the main window or system tray.