AI knowledge base for Windsurf.

Windsurf is now Devin Desktop β€” and Perfect Wiki works with both of its agents. Connect the MCP server, and Devin or Cascade can pull your security policies, specs and support playbooks into every task, then keep those pages accurate.

No credit cardSetup in under 10 minutesCancel anytime
01MCP setup

Connect Windsurf in two minutes.

For the Devin Local agent, two commands add the server and sign you in. Cascade reads its own mcp_config.json β€” that setup is in the guide below.

  • β†’devin mcp add registers Perfect Wiki for your user
  • β†’devin mcp login takes care of the Perfect Wiki sign-in
  • β†’Cascade supported through mcp_config.json with serverUrl
Terminal Β· Devin Local
$ devin mcp add -s user perfect-wiki https://api.perfectwiki.xyz/mcp
$ devin mcp login perfect-wiki
βœ“ Signed in to Perfect Wiki
02Read & write

Security rules and specs, checked before the code is.

Your agent consults Perfect Wiki the way a senior engineer would: it reads the policy or spec that applies, follows it, and can update the page when the implementation changes the rules.

  • β†’Security and compliance policies applied during the task
  • β†’Specs and runbooks pulled in without leaving the editor
  • β†’Page updates only with the write access you grant
Devin Desktop Β· Agent
Add audit logging to the admin export β€” check our security policy first.
βš™ ask Β· audit logging requirementsβš™ get_page Β· Security Policy: Logging
The logging policy requires actor, action, target and timestamp, kept for one year, with no PII in the payload. Added to admin/export.ts β€” and I removed a field that would have logged an email address.
Setup guide

How to connect Perfect Wiki to Windsurf.

  1. 1For the Devin Local agent, run devin mcp add -s user perfect-wiki https://api.perfectwiki.xyz/mcp
  2. 2Run devin mcp login perfect-wiki, sign in to Perfect Wiki in the browser, choose the knowledge base and click Allow access.
  3. 3Using Cascade? Click the MCPs icon in the Cascade panel (or Devin Settings β†’ Cascade β†’ MCP Servers) and add perfect-wiki to ~/.codeium/windsurf/mcp_config.json with a serverUrl β€” see the token example.
  4. 4Ask your agent something like β€œWhat does our incident policy say about customer notifications?”

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

Cascade with an API token
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"perfect-wiki": {
"serverUrl": "https://api.perfectwiki.xyz/mcp",
"headers": {
"Authorization": "Bearer ${env:PERFECT_WIKI_TOKEN}"
}
}
}
}

Cascade expands ${env:PERFECT_WIKI_TOKEN} from your environment, so the token itself stays out of the file. Generate it in the Perfect Wiki settings of the knowledge base you want to connect.

Use cases

What your team does with Perfect Wiki in Windsurf.

Security policies applied by default

Data handling, logging and access rules get checked while the code is written, instead of surfacing in a security review two weeks later.

> Review this endpoint against our data handling policy in Perfect Wiki.

Escalations with the full story

When support escalates a bug, the agent pulls the known-issues page and past workarounds before proposing a fix.

> Find the known-issues page for SSO login loops and draft a fix.

New engineers ramp faster

Point new hires’ agents at your onboarding docs and let them set up the environment and learn the codebase step by step.

> Using our onboarding docs, set up the local dev environment with me.
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 Windsurf.

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