# Fix MCP servers in multi root workspaces \(\#52849\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b2db24e58a085de575a875c151963c98e1a60bec

Requested commit: b2db24e58a085de575a875c151963c98e1a60bec

Commit: b2db24e58a085de575a875c151963c98e1a60bec

Tree: 39fdf782094ce501d48b2e979dc9d72f5129eed6

Author: Om Chillure

Committer: GitHub

## Message

```
Fix MCP servers in multi root workspaces (#52849)

### Closes #51951

## Self-Review Checklist

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the UI/UX checklist
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

#### Note : Reopens previous work from closed PR
https://github.com/zed-industries/zed/pull/52161 (fork was deleted)

## Video 

[Screencast from 2026-03-22
23-26-06.webm](https://github.com/user-attachments/assets/ab68e47a-7e74-4f1e-991d-8ca4fed7952c)


## Release Notes:

- Fixed MCP servers from `.zed/settings.json` not being discovered when
multiple project folders are open in a workspace.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Christopher Biscardi <chris@christopherbiscardi.com>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
```

## Parents

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

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