How to add an MCP server to Zed

Zed reads its MCP servers from ~/.config/zed/settings.json and connects to them over stdio (a local process) and Streamable HTTP. 119,293 of the 123,051 servers we can write a config for work in it.

A local server

A local server runs on your machine, started by Zed from its package. It needs Node.js installed first. For example, Azure MCP Server goes in ~/.config/zed/settings.json:

{
  "context_servers": {
    "azure": {
      "command": "npx",
      "args": ["-y", "@azure/[email protected]", "server", "start"]
    }
  }
}

Every step for this server in Zed

A remote server

A remote server runs on its publisher's machines, and Zed connects to its address. Nothing needs installing. For example, Context7 goes in ~/.config/zed/settings.json:

{
  "context_servers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Every step for this server in Zed

Which servers work in Zed

Zed can send a key in a header, so the 3,252 servers that need one work in it.

RunsServersIn Zed?
Local (stdio)85,195Works
Remote, Streamable HTTP30,893Works
Remote, Streamable HTTP, key in a header3,205Works
Remote, HTTP+SSE3,711No
Remote, HTTP+SSE, key in a header47No

If the server does not show up

Matches the official docs The configs follow Zed's MCP docs, read on 2026-10-31.

Zed on plug.directory · Best MCP servers for Zed