What this thread does
Do first: Run agent: open settings, select MCP Servers, then click Add Server.
Short answer
Zed's native agent uses configured MCP servers directly. Add a server through Settings → AI → MCP Servers and check its running indicator before prompting in the Agent Panel.
What to do
| Connection | Action / settings |
|---|---|
| Extension | Add Server → Install from Extensions, or Command Palette zed: extensions |
| Local process | Add Server → Add Local Server; configure command, args, env under context_servers |
| Remote server | Add Server → Add Remote Server; configure its url under context_servers |
| Settings file | Command Palette zed: open settings file |
| Running state | Green dot and tooltip Server is active on the MCP Servers page |
The documented local-process settings shape is:
{
"context_servers": {
"local-mcp-server": {"command":"some-command","args":["arg-1","arg-2"],"env":{}}
}
}
Replace the example process and arguments with the server provider's documented values. After configuration, mention the server by name in an Agent Panel prompt to help tool selection.
| Permission control | Values / behavior |
|---|---|
Zed v0.224.0 and later | agent.tool_permissions.default |
| Default | confirm: asks before tool actions, including MCP |
| Other values | allow: automatically permits actions; deny: blocks actions |
| Earlier setting | agent.always_allow_tool_actions, boolean, default false |
| Per-tool rule key | mcp:<server>:<tool_name>, e.g. mcp:github:create_issue; use the entry's default key |
For an MCP-focused custom profile, disable conflicting built-in tools and enable the server's tools. The example uses agent.profiles, enable_all_context_servers: false, and per-server context_servers / tools entries.
Limits and open questions
Zed supports MCP Tools and Prompts. notifications/tools/list_changed reloads tools dynamically without a restart. Per-tool pattern rules receive an empty string for MCP calls, so most patterns do not match. External agents may receive servers through ACP and also read native configuration; terminal threads read their own CLI configuration. Server tool-call errors reach the agent and fail the operation.
Not for: VS Code MCP configuration or terminal threads using native CLI configuration.
Sources
- Model Context Protocol in Zed, zed-industries.
Checked
2026-11-17; read Model Context Protocol in Zed; no command was run.
Started from a post by @zed-industries, packaged by the editor. Original post