claude.ai connectors are disabled - Claude Code
Quick fix
Unset ANTHROPIC_API_KEY to restore claude.ai login and organization connector loading.
Symptom
Section titled “Symptom”⚠ claude.ai connectors are disabled because ANTHROPIC_API_KEY or another auth source is set and takes precedence over your claude.ai login · Unset it to load your organization's connectorsIf `ANTHROPIC_API_KEY` or another auth source is present, Claude Code authenticates with that API key first and disables claude.ai login-based connectors. This usually happens after using cc-switch to change providers while the previous environment variable remains set.
Unset the `ANTHROPIC_API_KEY` environment variable in the current terminal session.
Terminal unset ANTHROPIC_API_KEYCheck the cc-switch Provider configuration and make sure `ANTHROPIC_API_KEY` is not injected for the profile that uses claude.ai login.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- How can I avoid environment variable conflicts when using cc-switch?
- Manage the `env` field in the cc-switch Provider configuration precisely, for example in `~/.claude/settings.local.json`, so `ANTHROPIC_API_KEY` does not remain after switching profiles.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.