Skip to content

Zed

Zed calls MCP servers context servers. Add them in Settings → AI → MCP Servers, or under context_servers in your settings file.

Setup

  1. Open Settings → AI → MCP Servers → Add Server → Add Remote Server, or edit your settings file.
  2. Add the entry below under context_servers.
  3. Zed opens the Linear sign-in automatically.
  4. A green dot in the Agent panel's settings means the server is running.
settings.json
{  "context_servers": {    "linear": {      "url": "https://mcp.linear.app/mcp"    }  }}

Prefer read-only? Use https://mcp.linear.app/mcp/readonly.

  1. Open Settings → AI → MCP Servers → Add Server → Add Local Server, or edit your settings file.
  2. Add the entry below under context_servers.
  3. A green dot in the Agent panel's settings means the server is running.
settings.json
{  "context_servers": {    "filesystem": {      "command": "npx",      "args": [        "-y",        "@modelcontextprotocol/server-filesystem",        "/path/to/allowed/folder"      ]    }  }}

Replace the path. You can pass several folders, and the server can't access anything outside them.

Good to know

  • Leave out an Authorization header and Zed runs the MCP OAuth sign-in for you.
  • The settings UI has Add Local Server and Add Remote Server buttons, so you can skip editing JSON by hand.
  • Many servers are also packaged as Zed extensions you can install from the extension gallery.
Config file:Command Palette → zed: open settings file

Works with 74 servers

Other apps

Esc
↑↓ navigate↵ open