AI knowledge base for Zed.

Zed is fast; hunting through a browser tab for docs isn’t. Add Perfect Wiki as a context server, and the Agent Panel answers from your team’s docs, API references and incident notes without you leaving the editor.

No credit cardSetup in under 10 minutesCancel anytime
01MCP setup

Connect Zed in two minutes.

Add a context_servers entry with the Perfect Wiki URL. When there’s no Authorization header, Zed asks you to sign in with OAuth on its own.

  • β†’A few lines in settings.json β€” or Add Remote Server in the UI
  • β†’OAuth prompt appears automatically, no token required
  • β†’Perfect Wiki tools available to the Agent Panel
~/.config/zed/settings.json Β· Zed
{
"context_servers": {
"perfect-wiki": {
"url": "https://api.perfectwiki.xyz/mcp"
}
}
}
02Read & write

Your team’s memory, one panel away.

Past incidents, API conventions and internal how-tos become context the agent can fetch while it works β€” and pages it can write when a fix deserves documenting.

  • β†’Incident history and postmortems searchable from the editor
  • β†’Internal API references fetched as full pages
  • β†’New learnings saved back as wiki pages
Zed Β· Agent Panel
Why is the search API returning 429s in staging? Check our incident notes.
βš™ ask Β· search API 429βš™ get_page Β· Incident: Search throttling
A past incident had the same cause: the per-tenant limit dropped to 50 rps after a config deploy. The fix was restoring SEARCH_RATE_LIMIT to 200 β€” your .env.staging still has 50.
Setup guide

How to connect Perfect Wiki to Zed.

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

More details in the Perfect Wiki MCP server guide and Zed's MCP documentation.

Prefer a static API token?
~/.config/zed/settings.json Β· API token
{
"context_servers": {
"perfect-wiki": {
"url": "https://api.perfectwiki.xyz/mcp",
"headers": {
"Authorization": "Bearer your-api-token"
}
}
}
}

Generate a token in the Perfect Wiki settings of the knowledge base you want to expose. Each token is scoped to a single knowledge base and has read & write access.

Use cases

What your team does with Perfect Wiki in Zed.

Postmortems at your fingertips

Before you debug from scratch, the agent checks whether the team has seen this failure before and what fixed it.

> Have we seen this Kafka consumer lag before? Search our postmortems.

Internal APIs, in context

Internal services rarely have public docs. The agent reads your wiki’s API pages so generated clients use the right endpoints and auth.

> Get the internal Auth API page and write a token refresh client.

Document the fix while it’s fresh

Once the bug is solved, turn the debugging session into a troubleshooting page the next person will actually find.

> Create a troubleshooting page in Perfect Wiki for this 429 issue.
The full toolset
ask()

Ask a natural-language question and get an AI answer with sources.

list_pages()

List every page in the connected knowledge base.

get_page()

Read the full content of a specific page.

create_page()

Create a new page β€” draft SOPs straight from chat.

update_page()

Update an existing page, so SOPs never go stale.

delete_page()

Remove pages that are no longer needed.

get_knowledgebase()

Get info about the connected knowledge base.

Free SOP templates

Start from a ready-made SOP. Keep it alive here.

Download any of our 284 standard operating procedure templates in Word, PDF, Excel or CSV, no sign-up needed. Then put it in Perfect Wiki so your team can find it and ask about it.

Browse all 284 SOP templates β†’
Common questions

Frequently asked questions

Didn't find what you're looking for? Contact our support β†’

Ready when you are

Put your SOPs to work in Zed.

Keep your SOPs, manuals and FAQs in Perfect Wiki β€” and give your whole team answers right where they work.

No credit cardSetup in under 10 minutesCancel anytime