# Remove unused \-\-nc flag and nc crate \(\#55962\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ef5da3ccc25cab62bb6d719da717a2ce12769df7

Requested commit: ef5da3ccc25cab62bb6d719da717a2ce12769df7

Commit: ef5da3ccc25cab62bb6d719da717a2ce12769df7

Tree: 6ca76866cb8c6335b73554076666cd2d8b7778a0

Author: Agus Zubiaga

Committer: GitHub

## Message

```
Remove unused --nc flag and nc crate (#55962)

The `nc` crate and `zed --nc <socket>` flag were added in #34577 to let
the Claude Code integration spawn the running zed binary as a
netcat-style bridge between stdio and a Unix socket for its MCP server.

That integration was removed in #37120 in favor of the external
`@agentclientprotocol/claude-agent-acp` npm package, which dropped the
only caller of `--nc`. The flag, its dispatch in `main.rs`, and the `nc`
crate itself were left behind and have been unused since.

Nothing in the Zed codebase spawns `zed --nc` anymore, so remove the
flag and delete the crate. The unrelated `--askpass` netcat bridge (in
the `askpass` crate) is unaffected.

Release Notes:

- N/A
```

## Parents

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

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