Zed reads MCP servers from its settings.json file — ~/Library/Application Support/Zed/settings.json on macOS, ~/.config/zed/settings.json on Linux, %APPDATA%\Zed\settings.json on Windows. Add the server under a context_servers key, save, and reload the AI panel. Zed calls them "context servers" internally but the protocol is fully MCP-compatible.
Zed supports MCP through a context_servers key in its global settings.json file. Here is the exact path, a working example, and how to confirm the server is connected in the AI panel.