Cursor writes better code when it knows your team's conventions, runbooks, and decisions. Wikai's remote MCP server serves your wiki as grounded context — one JSON snippet, nothing to host.
Generate a token in Wikai (user menu → API tokens), then add the server to .cursor/mcp.json in your project — or ~/.cursor/mcp.json to use it everywhere:
{
"mcpServers": {
"wikai": {
"url": "https://wikai.wiki/api/mcp",
"headers": {
"Authorization": "Bearer wk_YOUR_TOKEN"
}
}
}
}search_wiki returns real pages with ids, freshness, and snippets; get_page reads them in full — so Cursor answers from what your team wrote and can point back to the exact page.
Tokens are scoped to one workspace, read-only unless you say otherwise, hashed at rest, and revocable instantly. Read tools ship readOnlyHint annotations.
On Pro and Ultra, a read + write token lets Cursor file what it learns as new wiki pages — create-only, so it can never edit or delete existing ones.
Create a workspace, write a few pages, and connect Cursor in minutes. Every plan can read over MCP; new workspaces start with a 14-day Pro trial, so agent writes work from day one.