Zed loads MCP servers from `~/.config/zed/settings.json` under `context_servers`; their tools become callable inside Zed's Assistant panel.
Imagine an editor that already has a built-in writing helper in a side panel. The helper can answer questions and edit your file, but it has no idea about your database, your tickets, or your team's documentation. MCP is how you teach the helper new tricks. In Zed you do that by opening the editor's main settings file and adding an entry under `context_servers` for each external helper you want loaded. Save, and the helper in the side panel can now talk to the new server and use whatever tools it offers, all without leaving Zed.
Detailed answer & concept explanation~5 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: Zed as a Rust-based editor from the Atom team, early 2025 MCP adoption, `context_servers` terminology and reasoning, settings.json location, Assistant panel as the consumer, reference host status for portability testing.
Real products, models, and research that use this idea.
- A Rust developer using Zed adds a cargo MCP server under `context_servers` so the Assistant panel can run targeted builds and read compiler errors as structured tool output.
- A team uses Zed's collaborative sessions to pair-program, with a shared Postgres MCP server loaded so both participants' Assistant panels can query the dev database in the same conversation.
- Server authors testing cross-vendor portability run their server against Zed (alongside Claude Desktop and Cursor) to confirm `tools/list` and `tools/call` responses parse correctly in a non-Anthropic host.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy did Zed choose `context_servers` instead of `mcpServers`?
QWhat did Zed's early MCP adoption demonstrate about the protocol's portability?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Looking for an `mcpServers` key in Zed's settings. Zed calls them `context_servers`, reflecting that an MCP server provides context (tools, resources, prompts), not just callable tools.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.