Windsurf Integration

Updated today

โ€ข

1 min read

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

  1. For the Devin Local agent, run:
    devin mcp add -s user perfect-wiki https://api.perfectwiki.xyz/mcp
  2. 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.
  3. Using 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, as in the token example below.
  4. 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โ€ฆ)

More: ๐Ÿ”Œ Perfect Wiki MCP Server ยท Windsurf MCP docs

Was this page helpful?