# Fix MCP servers not being populated sometimes in settings UI \(\#61928\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 933c85b13442e42530ae2632530a7f148866ca1f

Requested commit: 933c85b13442e42530ae2632530a7f148866ca1f

Commit: 933c85b13442e42530ae2632530a7f148866ca1f

Tree: 7eb0f1b6e74c20cba0c7fe87adaff85df16768a1

Author: John Tur

Committer: GitHub

## Message

```
Fix MCP servers not being populated sometimes in settings UI (#61928)

The MCP server list was always populated from the first workspace in the
`MultiWorkspace`. If Zed is configured to `"restore_on_startup":
"launchpad"`, the first workspace will always be the 'launchpad'
workspace which has no worktees in it. Since there are no worktrees in
this workspace, the MCP store is not populated, so the settings UI did
not show any MCP servers.

---

Release Notes:

- Fixed an issue where the settings UI would sometimes not show the list
of configured MCP servers
```

## Parents

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

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