Connect Perfect Wiki to Windsurf, and the Devin Local agent or Cascade reads your team's docs while it codes, and keeps them current.
How to connect
- For the Devin Local agent, run:
devin mcp add -s user perfect-wiki https://api.perfectwiki.xyz/mcp - Run
devin mcp login perfect-wiki, sign in to Perfect Wiki in the browser, choose the knowledge bases and the access level, then click Allow access. - Using Cascade? Click the MCPs icon in the Cascade panel (or Devin Settings โ Cascade โ MCP Servers) and add
perfect-wikito~/.codeium/windsurf/mcp_config.jsonwith aserverUrl, as in the token example below. - Ask your agent something like "What does our incident policy say about customer notifications?"
Cascade with an API token
{
"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 stays out of the file. Generate it in the Perfect Wiki settings of the knowledge base you want to connect.
Tip: Windsurf can also move your old wiki or a docs folder into Perfect Wiki: ๐ค Import with an AI agent (ChatGPT, Claude, Codexโฆ)