cc-switch-cli

Manages AI coding assistant providers, MCP servers, prompts, skills, and proxies from one CLI.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill cc-switch-cli-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cc-switch-cli
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/cc-switch-cli
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill cc-switch-cli-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers using multiple AI coding assistants (Claude Code, Codex, Gemini, OpenCode, OpenClaw) must juggle separate config files, API keys, MCP server definitions, and prompt files for each tool. cc-switch-cli centralizes this configuration into a single Rust-based CLI with an interactive TUI, eliminating manual editing of scattered JSON and TOML files. ## Core Features & Use Cases - Provider Management: Add, switch, duplicate, export, speed-test, and stream-check API providers across five supported AI assistant apps via the global --app flag. - MCP Server Orchestration: Add, enable, disable, validate, import, and sync Model Context Protocol servers to each app's live config files. - Prompts, Skills & Proxy: Manage system prompt presets, install community skills from a repository, and run a local reverse proxy for multi-provider routing, plus WebDAV sync across machines. - Use Case: A developer switches Claude Code from a dev API to a production endpoint with cc-switch provider switch prod-api, then syncs the same provider to Codex and verifies both with provider current. ## Quick Start Ask the agent to install cc-switch-cli and switch your Claude Code provider to a new API endpoint, then sync your MCP servers.

Frequently Asked Questions about cc-switch-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch Claude Code API providers from the command line?▼

Run `cc-switch provider switch <name>` to activate a saved provider for Claude Code. Add new providers interactively with `cc-switch provider add`, which prompts for base URL, API key, and model ID.

How to manage MCP servers across multiple AI coding assistants?▼

Add servers with `cc-switch mcp add`, enable them per app using `cc-switch mcp enable <name> --app claude`, then run `cc-switch mcp sync` to write enabled servers into each app's live config file.

Does cc-switch-cli support Codex and Gemini CLI?▼

Yes, cc-switch supports five apps via the global `--app` flag: claude, codex, gemini, opencode, and openclaw. Commands like `cc-switch --app codex provider list` operate on app-specific configurations.

Can I sync my AI assistant configuration across multiple machines?▼

Yes, cc-switch includes WebDAV sync. Configure it with `cc-switch config webdav setup`, enable it with `config webdav enable`, and trigger transfers with `cc-switch config webdav sync`.

Why is my MCP server not showing up after adding it?▼

The server may not be enabled for your app or synced to live configs. Verify the command exists with `cc-switch mcp validate <command>`, check enabled apps via `cc-switch mcp list`, then run `cc-switch mcp sync`.

How do I install cc-switch-cli on macOS or Linux?▼

Run the install script: `curl -fsSL https://github.com/SaladDay/cc-switch-cli/releases/latest/download/install.sh | bash`. It installs to `~/.local/bin` by default, or set `CC_SWITCH_INSTALL_DIR` to override.