0ctx MCP Bootstrap

Automatically register the 0ctx MCP server in local AI client config files (Claude, Cursor, Windsurf) and verify the registration. Use when users ask to avoid manual MCP config edits, set up MCP on a new machine, or repair broken MCP client integration. Use when this capability is needed.

tomevault-io Updated

File contents

0ctx MCP Bootstrap

Use this workflow to make 0ctx MCP registration effectively automatic for supported desktop clients.

Execute

  1. Build MCP artifacts:
npm run build
  1. Preview config changes:
npm run bootstrap:mcp:dry
  1. Apply registration:
npm run bootstrap:mcp
  1. Optionally limit clients:
npm run bootstrap:mcp -- --clients=claude,cursor
  1. 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:

  • command pointing to Node executable
  • args containing packages/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.

tomevault-io/skills-registry/tree/main/rajctx--0ctx--0ctx-mcp-bootstrap commit 9cbcad3c39

Frequently asked questions

npx skillmds@latest add tomevault-io/0ctx-mcp-bootstrap