Install guide · VS Code
Install knowledge for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "to0wnn-knowledge": { "type": "stdio", "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 | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |