Install guide · Cursor
Install knowledge for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "to0wnn-knowledge": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/to0wnn/knowledge:0.39.3" ], "env": { "KNOWLEDGE_UI_PASSWORD": "YOUR_KNOWLEDGE_UI_PASSWORD", "KNOWLEDGE_ALLOWED_HOSTS": "localhost:8766,127.0.0.1:8766" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |