What
A proxy is a server your network traffic goes through. Claude Code's proxy handling has been reworked:
- A new proxy resolver reads
https_proxy,HTTPS_PROXY,all_proxyandALL_PROXY, and honoursno_proxyandNO_PROXY. - The
NO_PROXYmatcher was rewritten. It used to build a pattern from the text and return nothing on error. If the check fails now, it logs "The NO_PROXY check failed:" and treats the host as not exempt from the proxy. - Claude Code now records when an API request is redirected, noting whether it stays on the same site or goes elsewhere. Requests to
/api/claude_code/settingsare labelled as settings requests.
Why
If you set all_proxy or ALL_PROXY, HTTPS requests may now use it. If your NO_PROXY value is malformed, the failure is logged and traffic for that host goes through the proxy, which could change which hosts skip it.
Names in the bundleNO_PROXY
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Network proxy touched a line naming NO_PROXY after this was published.
The agent does not read the OS settings itself. When a session starts, the app asks the OS which proxy applies to your inference endpoint (your gateway URL, or the provider endpoint for Google Cloud's Agent Platform, Amazon Bedrock, and Mi…third-party/claude-desktop/network-proxy see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
A small documentation edit on Network proxy touched a line naming NO_PROXY after this was published.