CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE
Updated by Alex Sorokoletov
CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE is a Claude Code environment variable. Added between v2.1.326 and v2.1.331 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added between v2.1.326 and v2.1.331 |
| Category | Network and proxy |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE": "<value>"
}
}Related variables
CLAUDE_CODE_DESKTOP_CONNECTOR_NAMES: Carries desktop connector names into the session from the host.CLAUDE_CODE_HOME_SEED_HOLD_TIMEOUT_MS: Maximum time in milliseconds to hold for the home settings seed; capped at the built-in default, so it can only shorten the wait.CLAUDE_CODE_MCP_CONNECTOR_PREWAIT_MS: Milliseconds to wait for MCP connectors before the first input, capped at an internal maximum and applied only for SDK-URL sessions.CLAUDE_CODE_STREAM_EVENT_NO_SUBSCRIBER_HOLD_MS: Milliseconds to hold a stream event when nothing is subscribed; used only when CLAUDE_CODE_STREAM_EVENT_HOLD_MS is also set.CLAUDE_CODE_STREAM_EVENT_HOLD_MSANTHROPIC_BASE_URL: Custom endpoint for Anthropic services.API_FORCE_IDLE_TIMEOUTAPI_TIMEOUT_MS: Request timeout in milliseconds.
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE?
Added between v2.1.326 and v2.1.331 and still present in v2.1.332.
How do I set CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE?
Export it before starting Claude Code (export CLAUDE_CODE_STARTER_MAY_HOLD_CONNECTOR_FILE=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.