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.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Zed is the GPU-accelerated collaborative code editor built by the original Atom team, written in Rust, with MCP support since early 2025. It is grouped with Claude Desktop and Cursor as one of the three reference hosts MCP server authors test against.
This walkthrough covers what makes Zed's MCP integration distinct (the context_servers naming, the single settings file, the Assistant panel as the only consumer), how configuration works in practice, and why Zed's early adoption mattered for the protocol's credibility.
What Zed is and why its MCP story matters
Zed is a code editor written from scratch in Rust by Zed Industries, the same team that originally built Atom at GitHub. Its defining features are GPU-accelerated rendering, low input latency, and live collaboration baked into the editor at the protocol level rather than bolted on as an extension.
MCP fits naturally because Zed already has a built-in Assistant panel as a core surface, not an aftermarket extension. When MCP launched in November 2024, Zed shipped support within weeks, calling the integration context_servers in its settings file. That rapid adoption carried significance beyond one editor: it was the first prominent demonstration that the MCP spec was implementable by an independent vendor, in a different language (Rust versus TypeScript), with no Anthropic-specific assumptions. That demonstration moved MCP's perception from 'Anthropic technology' to 'open standard' and is part of why Zed remains a common reference host even though its total MCP usage volume is smaller than Claude Desktop's or Cursor's.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
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.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy did Zed choose `context_servers` instead of `mcpServers`?
An MCP server can expose tools, resources, and prompts. Calling them 'context servers' captures that they provide context to the Assistant panel across all three primitives, not only callable tools. The name nudges users toward the fuller mental model.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases 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.
60 second bullets to scan on the way to the call.
What kind of editor Zed is and who builds it
When Zed shipped MCP support and why the timing mattered for protocol credibility
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.