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
- Open
~/.cursor/mcp.json(all projects) or.cursor/mcp.json(this project only). - Add a
perfect-wikientry undermcpServers:{ "mcpServers": { "perfect-wiki": { "url": "https://api.perfectwiki.xyz/mcp" } } } - Open Customize โ MCPs in the Cursor sidebar and follow the sign-in prompt for perfect-wiki.
- 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โฆ)