0ctx-mcp-bootstrap

star 2

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.

rajctx By rajctx schedule Updated 2/21/2026

name: 0ctx-mcp-bootstrap description: 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.

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.
Install via CLI
npx skills add https://github.com/rajctx/0ctx --skill 0ctx-mcp-bootstrap
Repository Details
star Stars 2
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator