Network proxy changedthird-party/claude-desktop/network-proxy
Nearest release: v2.1.330, 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 20 Nov 2026 16:57 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 20 Nov 2026 17:07 UTC.
Upstream edited
Recorded here
Lines+7added
Lines−12removed
From line
89
where the diff opens
First seen
2 Sep 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 89, old and new numbered
/
from line 89
8989| OpenTelemetry export to your collector | App proxy for the app's own events; the same single proxy as inference for Claude Code metrics and logs |
9090| Commands in Cowork's sandboxed shell on macOS and Windows | The pinned key if one is set (a pinned PAC script is evaluated per request inside the sandbox), otherwise the OS proxy settings |
9191| Commands in Cowork's sandboxed shell on Linux | None; commands connect directly |
92| The agent in an [SSH remote Code session](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md) | None from the device; the remote host's own network route applies |
93| App update check and download | OS proxy settings only |
92| The agent in an [SSH remote Code session](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md) | None from the device: not the pinned key, the OS proxy settings, or proxy variables from Claude Code managed settings on the device. The host's own network route applies, with any Claude Code managed settings on the host. See [Inference credentials on the remote host](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#inference-credentials-on-the-remote-host). |
93| App update check and download | On macOS and Windows, both: the app contacts the update hosts through the app proxy, and the platform's updater follows the OS proxy settings. Allow the [update hosts](https://claude.com/docs/third-party/claude-desktop/telemetry.md#required-egress-paths) on both. To keep updates off a direct path, set the OS proxy on the device, or distribute updates yourself with [`disableAutoUpdates`](https://claude.com/docs/third-party/claude-desktop/configuration#disableautoupdates). On Linux, your package manager's own proxy configuration. |
9494| `credentialHelper` scripts for [plugin marketplaces](https://claude.com/docs/third-party/claude-desktop/extensions.md#how-a-marketplace-credential-helper-runs) | App proxy, resolved for the marketplace's host and passed to the script as `HTTPS_PROXY` and `HTTP_PROXY` |
95| `inferenceCredentialHelper`, `bootstrapHeadersHelper`, and helper scripts in `managedMcpServers` entries | None injected; the script's own environment applies |
96| Brokered Microsoft Entra sign-in (Company Portal on macOS, Web Account Manager on Windows) | The OS broker's own settings |
97| Pages opened in the system browser | The browser's own settings |
95| `inferenceCredentialHelper`, `bootstrapHeadersHelper`, and helper scripts in `managedMcpServers` entries | None injected; the script runs with the app's environment. If it needs a proxy, set one inside the script. |
96| [Brokered Microsoft Entra sign-in](https://claude.com/docs/third-party/claude-desktop/entra-broker.md) (Company Portal on macOS, Web Account Manager on Windows) | The OS proxy settings, which Company Portal and Web Account Manager follow. Set them through the MDM that manages the device. |
97| Pages opened in the system browser, as in some sign-in flows | The browser's own settings, which normally track the OS. To pin them, use the browser's own policy (for example, the Chrome or Edge `ProxySettings` policy) or the device's network profile. |
9898
9999## Traffic that bypasses the app proxy
100100
101Some traffic doesn't follow the pinned key or the proxy the app resolved, or follows them only in some cases.
101Some traffic doesn't follow the pinned key or the proxy the app resolved, or follows them only in some cases. Update downloads, SSH remote Code sessions, brokered Microsoft Entra sign-in, pages in the system browser, and the inference, bootstrap, and MCP helper scripts don't follow them at all. [What is and is not routed](#what-is-and-is-not-routed) says what each follows instead.
102102
103* **App updates.** Checking for and downloading Claude Desktop updates is handled by the OS-native updater on macOS and Windows, which follows the OS proxy settings only. If updates must not traverse a direct path, configure the OS proxy on the device or distribute updates yourself with [`disableAutoUpdates`](https://claude.com/docs/third-party/claude-desktop/configuration) and your software-distribution tool. On Linux, updates come from your package manager, which has its own proxy configuration.
104103* **Commands in Cowork's sandboxed shell.** No proxy settings reach the Cowork sandbox on Linux, so `curl`, `pip`, `npm`, `git`, and anything else the agent runs there connect directly. On macOS and Windows those commands follow the pinned key, or the OS proxy settings when no key is set. When the key or the OS settings name a PAC script, the commands follow it only while the sandbox has [its copy of the script](#pac-script-for-the-sandboxed-shell). On every platform, [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/web-tools) still applies inside the sandbox and sits in front of any proxy.
105104* **SOCKS proxies in Cowork's sandboxed shell.** On macOS and Windows, the sandboxed shell skips SOCKS proxies. Its commands connect directly to a host for which a PAC script returns only SOCKS proxies, and to every host when the OS proxy settings name only a SOCKS proxy. Have the script return a `PROXY` or `HTTPS` entry for each host that must go through a proxy, or [pin a proxy from managed configuration](#pin-a-proxy-from-managed-configuration).
106105* **Cowork's sandboxed shell when every host is allowed.** With a list of hosts in [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/web-tools), the shell's commands reach the network only through a filter inside the sandbox, and a program that ignores proxy variables has no route around it. When the list contains `*`, that filter is off and commands make their own connections. On macOS and Windows they get the proxy setting only as `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY`, so a program that ignores those variables connects directly.
107* **SSH remote Code sessions.** When a user runs a Code session on another machine through [`sshHostAllowlist`](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions), the agent runs on that host and connects to the inference endpoint from there. Claude Desktop passes the endpoint address to the remote agent but not the pinned key, the device's OS proxy settings, or proxy variables from Claude Code managed settings on the device. The host's own network route and any Claude Code managed settings installed on the host apply instead. See [Inference credentials on the remote host](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#inference-credentials-on-the-remote-host).
108* **Pages opened in the system browser.** Some sign-in flows open your default browser. That traffic follows the browser's proxy settings, which normally track the OS; pin it with the browser's own policy (for example, the Chrome or Edge `ProxySettings` policy) or the device's network profile.
109* **Brokered Microsoft Entra sign-in.** When [brokered authentication](https://claude.com/docs/third-party/claude-desktop/entra-broker.md) is in use, the token request is made by Company Portal (macOS) or Web Account Manager (Windows), not by the app. Those components follow the OS proxy settings; configure them through the same MDM that manages the device.
110* **Helper scripts.** An `inferenceCredentialHelper`, `bootstrapHeadersHelper`, or `managedMcpServers` helper script runs with the app's environment and no injected proxy variables. If a helper needs a proxy, set it inside the script.
111106* **Marketplace credential helpers.** Unless the environment that starts Claude Desktop already sets proxy variables, a plugin marketplace's [`credentialHelper`](https://claude.com/docs/third-party/claude-desktop/extensions#how-a-marketplace-credential-helper-runs) script gets `HTTPS_PROXY` and `HTTP_PROXY` for the marketplace's host. They're empty for a direct connection. When a proxy is set, `NO_PROXY` lists `localhost`, `127.0.0.1`, and `::1`. If that host's proxies are all SOCKS proxies, or Claude Desktop can't resolve a proxy, the script gets no proxy variables. The same variables apply to every host the script calls, so if the server that issues your token needs a different proxy, set it inside the script.
112107* **Programs that ignore proxy variables.** The agent passes `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` to the programs it launches on the device, but a program that does not honor those variables connects directly if the network allows it. The only complete control for this case is blocking direct egress at the network layer.
113108
No line in this hunk matches that.