# acp: Add NO_PROXY if not set otherwise to not proxy localhost urls \(\#39100\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bad96776cd2ccecc371ceeee1d620280a23395cc)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bad96776cd2ccecc371ceeee1d620280a23395cc

Requested commit: bad96776cd2ccecc371ceeee1d620280a23395cc

Commit: bad96776cd2ccecc371ceeee1d620280a23395cc

Tree: 91d6ec41eabdae9eaaa13a336944d343f64ed829

Author: Ben Brandt

Committer: GitHub

## Message

```
acp: Add NO_PROXY if not set otherwise to not proxy localhost urls (#39100)

Since we might run MCP servers locally for an agent, we don't want to
use the proxy for those.
We set this if the user has set a proxy, but not a custom NO_PROXY env
var.

Closes #38839

Release Notes:

- acp: Don't run local mcp servers through proxy, if set
```

## Parents

- [aa14980523891ee3403975739705e79256989774](https://git.cafe/gitcafe/zed/commit/aa14980523891ee3403975739705e79256989774?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bad96776cd2ccecc371ceeee1d620280a23395cc?format=markdown)
