Write a credential helper changedthird-party/claude-desktop/credential-helper
Nearest release: v2.1.328, published 5 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 18 Nov 2026 17:30 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 18 Nov 2026 17:37 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−0removed
From line
66
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 66, old and new numbered
/
from line 66
6666
6767The helper runs with a `PATH` that includes the user's login-shell `PATH` and standard install locations in addition to the app's launch environment, so a script can invoke tools such as `aws` or `gcloud` by name even when the app was launched from the Dock or Finder rather than a terminal.
6868
69> [!NOTE]
70>
71> Use the full path of each file that the helper reads or writes. A relative path resolves against the helper's working directory, which can be a system folder that users can't write to, such as `/` on macOS and Linux or `System32` on Windows.
72
6973## Timeouts and caching
7074
7175The helper's output is cached for `inferenceCredentialHelperTtlSec` seconds (default 3600). Claude Desktop checks the cached credential's expiry before each turn and, when it has expired or is about to, re-runs the helper transparently before sending the turn, with no sign-in prompt and no app relaunch. With a TTL of 120 seconds or less, Claude Desktop skips the per-turn check; the helper then re-runs at the next session start, or mid-session when the provider rejects the credential (see [Turn off mid-session re-runs](#turn-off-mid-session-re-runs)).
No line in this hunk matches that.