ZIm/crates/project
gcp-cherry-pick-bot[bot] c24798e538
agent: Fix bug that prevented MCP servers to appear in the settings view (cherry-pick #33857) (#33860)
Cherry-picked agent: Fix bug that prevented MCP servers to appear in the
settings view (#33857)

Closes https://github.com/zed-industries/zed/issues/33827

After #33644 was merged, we would not start MCP servers coming from
extensions correctly anymore. The optimization uncovered a bug in the
implementation of `ContextServerDescriptorRegistry`, because we never
called `cx.notify()` when adding/removing context servers.
`ContextServerStore` listens for these events, and before #33644 this
was just working because of aace condition.

Release Notes:

- agent: Fixed bug that prevented MCP servers to appear in the settings
view.

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
2025-07-03 18:29:58 +02:00
..
src agent: Fix bug that prevented MCP servers to appear in the settings view (cherry-pick #33857) (#33860) 2025-07-03 18:29:58 +02:00
Cargo.toml debugger: Use Delve to build Go binaries (#32221) 2025-06-09 21:49:04 -06:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00