Zed Integration

Updated today

•

1 min read

Connect Perfect Wiki to Zed, and the Agent Panel reads and updates your team's docs from the editor.

How to connect

  1. Open Settings → AI → MCP Servers → Add Server → Add Remote Server, or edit ~/.config/zed/settings.json directly.
  2. Add perfect-wiki under context_servers:
    {
      "context_servers": {
        "perfect-wiki": {
          "url": "https://api.perfectwiki.xyz/mcp"
        }
      }
    }
  3. Leave out the Authorization header: Zed prompts you to sign in. Log in to Perfect Wiki, choose the knowledge bases and the access level, then click Allow access.
  4. Open the Agent Panel and ask, for example "How do we version internal APIs?"

With an API token

{
  "context_servers": {
    "perfect-wiki": {
      "url": "https://api.perfectwiki.xyz/mcp",
      "headers": { "Authorization": "Bearer your-api-token" }
    }
  }
}

Generate the token in the Perfect Wiki settings of the knowledge base you want to expose. Each token covers one knowledge base and has read & write access.

Tip: Zed's agent can also move your old wiki or a docs folder into Perfect Wiki: 🤖 Import with an AI agent (ChatGPT, Claude, Codex…)

More: 🔌 Perfect Wiki MCP Server · Zed MCP docs

Was this page helpful?