omp-worker-mcp

v0.2.1
io.github.divenire990/omp-worker-mcp Checked 3 days ago Published 1 month ago

Hand off coding tasks from ChatGPT, Codex or Claude Code to local Oh My Pi (OMP) workers.

Values you need

VariableWhat it is
OMP_WORKER_OMP_COMMANDrequired Path or executable name for the local OMP CLI binary.
OMP_WORKER_ALLOWED_ROOTSoptional Optional JSON array of absolute directory paths that delegated job cwd values must resolve inside.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add omp-worker-mcp -e 'OMP_WORKER_OMP_COMMAND=<OMP_WORKER_OMP_COMMAND>' -- npx -y omp-worker-mcp@0.2.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "omp-worker-mcp": {
      "args": [
        "-y",
        "omp-worker-mcp@0.2.1"
      ],
      "command": "npx",
      "env": {
        "OMP_WORKER_OMP_COMMAND": "<OMP_WORKER_OMP_COMMAND>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "omp-worker-mcp": {
      "args": [
        "-y",
        "omp-worker-mcp@0.2.1"
      ],
      "command": "npx",
      "env": {
        "OMP_WORKER_OMP_COMMAND": "<OMP_WORKER_OMP_COMMAND>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OMP_WORKER_OMP_COMMAND",
      "id": "omp-worker-omp-command",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "omp-worker-mcp": {
      "args": [
        "-y",
        "omp-worker-mcp@0.2.1"
      ],
      "command": "npx",
      "env": {
        "OMP_WORKER_OMP_COMMAND": "${input:omp-worker-omp-command}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.omp-worker-mcp]
command = "npx"
args = ["-y", "omp-worker-mcp@0.2.1"]
env = { "OMP_WORKER_OMP_COMMAND" = "<OMP_WORKER_OMP_COMMAND>" }

For AI agents

  1. Ask the user for: OMP_WORKER_OMP_COMMAND. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: omp_run_batch_compact, omp_wait_group, omp_cancel_group, omp_run_compact, omp_delegate, omp_cancel, omp_wait, omp_result, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json