0ctx MCP Bootstrap
Use this workflow to make 0ctx MCP registration effectively automatic for supported desktop clients.
Execute
- Build MCP artifacts:
npm run build
- Preview config changes:
npm run bootstrap:mcp:dry
- Apply registration:
npm run bootstrap:mcp
- Optionally limit clients:
npm run bootstrap:mcp -- --clients=claude,cursor
- Restart target AI apps so they reload config.
Verify
Run the bundled verifier:
powershell -ExecutionPolicy Bypass -File skills/0ctx-mcp-bootstrap/scripts/verify-config.ps1
Expect mcpServers.0ctx with:
commandpointing to Node executableargscontainingpackages/mcp/dist/index.js
Repair Guidance
If bootstrap reports skipped:
- Ensure the client is installed and launched at least once (so config directories exist).
- Re-run bootstrap.
If bootstrap reports failed:
- Capture path + error.
- Fix file permissions or invalid JSON.
- Re-run dry-run first, then apply.
Source: rajctx/0ctx — distributed by TomeVault.