Skip to main content
Claude Code is the most complete runtime: four modes, MCP, Skills, plan approval, and the full permission dialogs all go through it. Install the Claude Agent SDK in Settings → SDK dependencies first, then configure a provider. Claude provider page

Four ways to connect

1. Add a provider (most common)

Click Add provider and fill in:
  • Provider name
  • API key
  • Request URL (official direct access is fixed to https://api.anthropic.com)
  • Optional: primary model, Haiku / Sonnet / Opus mapping, custom models
There is a visual form and a JSON editor. Official direct access sends requests to Anthropic. A third-party preset immediately routes them to that proxy endpoint. Built-in presets include Zhipu GLM, Kimi, DeepSeek, MiniMax, Xiaomi MiMo, Alibaba Qwen, OpenRouter, Bailian, LongCat, OpenCode Go, and others. After you pick a preset, you still enter your own key.
These settings stay on your computer. The plugin does not upload keys to a CC GUI server.

2. Use local settings.json

Use this if you already maintain ~/.claude/settings.json.
  • The plugin does not read this file by default
  • It reads only after you click Authorize and enable
  • The plugin does not modify the file
  • You can revoke access at any time. After you revoke it, Claude stays disabled until you enable another provider

3. Use CLI login

Use this for a Claude subscription account:
  1. Sign in to the Claude CLI in a system terminal and confirm you can ask a question
  2. Keep env empty in ~/.claude/settings.json
  3. In CC GUI, authorize Use CLI login
  4. Restart the IDE if needed
If that path fails, you can temporarily set local env to a proxy:

4. Import from another tool

The provider page can import from cc-switch or Claude Code Router. It lists new and updated items first. Confirm before it writes.

Models

The model picker at the bottom of the input box lists models for the current provider. You can add prices in Settings so usage stats can estimate cost. You can also pin models you use often.

Working directory and CLI override

In Settings → General → Environment:
  • Working directory: relative to the project root, or an absolute path. Leave empty to use the project root
  • Claude CLI path (override): when set, the plugin starts that binary instead of the bundled SDK
Most people do not need the CLI override.

Next steps