Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Write a credential helper changedthird-party/claude-desktop/credential-helper

Nearest release: v2.1.329, published 2 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 19 Nov 2026 15:49 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 19 Nov 2026 16:07 UTC.

Upstream edited
Recorded here
Lines+11added
Lines−0removed
From line 80 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits13to this page, all time

## Install the helper for Claude Code in the terminal

The whole hunk

from line 80, old and new numbered
/
lines
from line 80
8080 
8181By default, when a running session's credential is rejected, Claude Desktop re-runs the helper with `CLAUDE_HELPER_CONTEXT=mid-session-refresh` to recover without interrupting the user. If your helper can't run safely outside the `interactive` context, set `inferenceCredentialHelperSilentRefreshEnabled` to `false`. Claude Desktop then keeps the cached credential until the next session start and surfaces an expiry prompt instead of re-running the helper mid-session.
8282 
83## Install the helper for Claude Code in the terminal
84 
85If you [manage Claude Code in the terminal from the Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md), Claude Code can also run the **Helper script** on your **Connection** page. Claude Code checks the script before it runs it:
86 
87* **On macOS and Linux**: the script runs only if the developer's account can't change any of these: the script, the interpreter on its `#!` line, any file that an argument names, and every folder above those files. For example, make them all owned by root with mode `755`. Start the script with the full path of its interpreter, such as `#!/bin/bash`, not `#!/usr/bin/env`. The script doesn't run when Claude Code runs as root.
88* **On Windows**: install the script, and any file that an argument names, under `C:\Program Files`, not `C:\Program Files (x86)`. Give the full path of each file. Claude Code checks only where the files are, so keep that folder's default permissions.
89 
90Claude Code doesn't check the programs that your script starts, or code that its interpreter loads from the developer's folders.
91 
92Your **Helper script** doesn't run on a managed computer that sets its own credential for your cloud provider, such as `AWS_PROFILE`. When that happens, a cloud provider needs the developer's own credentials, and Claude Code in the terminal doesn't use your gateway. To see why, the developer runs `/status` in Claude Code.
93 
Feedback