Connect Perfect Wiki to Zed, and the Agent Panel reads and updates your team's docs from the editor.
How to connect
- Open Settings → AI → MCP Servers → Add Server → Add Remote Server, or edit
~/.config/zed/settings.jsondirectly. - Add
perfect-wikiundercontext_servers:{ "context_servers": { "perfect-wiki": { "url": "https://api.perfectwiki.xyz/mcp" } } } - 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.
- 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…)