AI knowledge base for Cursor.

Install the Perfect Wiki MCP server in Cursor and the agent can look up your coding standards, API docs and onboarding guides while it edits β€” then keep those pages accurate as the codebase evolves.

No credit cardSetup in under 10 minutesCancel anytime
01MCP setup

Connect Cursor in two minutes.

Click Add to Cursor or paste a three-line entry into mcp.json. Cursor notices the server needs sign-in and walks you through connecting your Perfect Wiki account.

  • β†’One-click install link β€” no JSON editing required
  • β†’Global or per-project configuration
  • β†’OAuth sign-in, so no secrets live in mcp.json
~/.cursor/mcp.json Β· Cursor
{
"mcpServers": {
"perfect-wiki": {
"url": "https://api.perfectwiki.xyz/mcp"
}
}
}
02Read & write

The agent knows your conventions β€” before it edits a file.

Cursor's agent can query Perfect Wiki mid-task: it finds the style guide for the component it's touching, reads the API contract, and proposes an update to the docs when behavior changes.

  • β†’Refactors that follow your documented patterns
  • β†’API contracts pulled in while wiring up an integration
  • β†’Doc updates proposed alongside the code diff
Cursor Β· Agent
Refactor the settings modal to match our frontend component guidelines.
βš™ ask Β· component guidelinesβš™ get_page Β· Forms & Modals
Per β€œForms & Modals”, modals use the shared Dialog wrapper, validate on blur and keep the primary action on the right. I've applied all three and removed the custom focus trap.
Setup guide

How to connect Perfect Wiki to Cursor.

  1. 1Use the Add to Cursor button above, or open ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project only).
  2. 2If editing by hand, add a perfect-wiki entry under mcpServers with "url": "https://api.perfectwiki.xyz/mcp".
  3. 3Open Customize β†’ MCPs in the Cursor sidebar and follow the sign-in prompt for perfect-wiki.
  4. 4Sign in to Perfect Wiki, pick the knowledge base and click Allow access. The tools are now available to the agent.

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

Prefer a static API token?
~/.cursor/mcp.json Β· 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 itself stays out of the file. Generate it in the Perfect Wiki settings of the knowledge base you want to expose.

Use cases

What your team does with Perfect Wiki in Cursor.

Onboard into an unfamiliar repo

New engineers ask Cursor how a service fits together and get answers from your architecture overviews and onboarding guides, not guesses from file names.

> Using our onboarding docs, explain how auth flows between these services.

Wire up internal APIs correctly

Cursor reads the internal API reference from the wiki β€” auth headers, rate limits, error codes β€” while it writes the client code.

> Integrate the Ledger API using the docs in Perfect Wiki.

Enforce the style guide

Instead of pasting rules into prompts, keep one frontend or backend guide in Perfect Wiki and let the agent apply it to every change.

> Review this file against our TypeScript style guide and fix violations.
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 Cursor.

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