Cursor Integration

Updated today

โ€ข

1 min read

Connect Perfect Wiki to Cursor, and the agent reads your specs, runbooks and conventions from the wiki while it works, and keeps them up to date.

How to connect

  1. Open ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project only).
  2. Add a perfect-wiki entry under mcpServers:
    {
      "mcpServers": {
        "perfect-wiki": {
          "url": "https://api.perfectwiki.xyz/mcp"
        }
      }
    }
  3. Open Customize โ†’ MCPs in the Cursor sidebar and follow the sign-in prompt for perfect-wiki.
  4. Sign in to Perfect Wiki, choose the knowledge bases and the access level, then click Allow access. The tools are now available to the agent.

With an API token

{
  "mcpServers": {
    "perfect-wiki": {
      "url": "https://api.perfectwiki.xyz/mcp",
      "headers": { "Authorization": "Bearer ${env:PERFECT_WIKI_TOKEN}" }
    }
  }
}

Cursor substitutes ${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 expose.

Tip: Cursor 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 ยท Cursor MCP docs

Was this page helpful?