# omp-worker-mcp [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/divenire990/omp-worker-mcp  
**GitHub Stars:** 3  
**npm Downloads (last month):** 315  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/omp-worker-mcp

## Description
Delegate complete coding tasks to the local OMP default model and inspect the result.

## Tools
Capabilities this server exposes over MCP:

- **omp_run_batch_compact** — Submits a decomposed group of OMP tasks to execute concurrently in the server-side bounded rolling pool (max_parallel 1-10) using a detached group runner. Enforces dependency DAG and write-ownership safety, waits up to wait_seconds (0-240, default 60s) for batch completion, and returns stable compact aggregated results. If still running when deadline elapses, returns group_id and minimal progress counts for subsequent omp_wait_group.
- **omp_wait_group** — Wait for an existing OMP task group to reach a terminal status, polling up to wait_seconds (0-240, default 60s). If completed, returns full aggregated compact results in original input order. If still running when deadline elapses, returns minimal progress counts without leaking task summaries.
- **omp_cancel_group** — Request immediate cancellation of a running batch task group and its child tasks. Writes a cancellation request that the detached group coordinator handles safely. Call this immediately when the user asks to stop a batch.
- **omp_run_compact** — Preferred entrypoint for single substantive execution tasks. Creates a delegated OMP task, launches the detached runner, and waits up to wait_seconds (default 60s) for completion in a single MCP call. If finished, returns a compact summary, artifacts, verification, and details_path without dumping the full final response. If still running at the deadline, returns job_id and status running for subsequent omp_wait.
- **omp_delegate** — Low-level background delegation entrypoint. Transfers ownership of an execution task to OMP and returns immediately with job_id. Prefer omp_run_compact for standard workflows to avoid separate delegate/wait round trips.
- **omp_cancel** — Request immediate cancellation of one exact delegated OMP job. The detached runner owns the OMP child PID and terminates that process tree safely. Call this immediately when the user asks to stop; do not inspect PIDs or manually kill processes first.
- **omp_wait** — Wait for an existing OMP job to reach a terminal status, polling up to wait_seconds (default 30s, max 60s). Returns the current status and summary once terminal or when the wait deadline elapses. Avoid polling in a tight loop.
- **omp_result** — Retrieve full details of a terminal OMP job, including finalResponse and attempt logs. Call this only when minimal acceptance check fails, high-risk operations occurred, or the user explicitly asks for full inspection; do not call this after every successful compact run.
- **omp_continue** — Resume the same OMP session with targeted supervisory feedback to correct specific acceptance defects without starting a fresh task from scratch. Bounded to remaining attempts within max_attempts.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "omp-worker-mcp": {
    "command": "npx",
    "args": ["-y","omp-worker-mcp"],
    "env": {
      "OMP_WORKER_OMP_COMMAND": "",
      "OMP_WORKER_ALLOWED_ROOTS": "",
      "CONTROL_PLANE_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `OMP_WORKER_OMP_COMMAND`, `OMP_WORKER_ALLOWED_ROOTS`, `CONTROL_PLANE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What omp-worker-mcp does

omp-worker-mcp divides coding work between a supervising MCP client and local Oh My Pi workers. The supervisor can inspect a request, define goals and acceptance criteria, then assign implementation or investigation work to OMP. Workers can read files, modify code, run shell commands and tests, and report their work through a structured result.

The server supports both one-off delegation and multi-task plans. Batch plans can contain up to 50 tasks and may run up to 10 tasks at a time. Tasks in parallel write operations must declare disjoint ownership paths; overlapping scopes and dependency cycles are rejected before workers start. This is a scheduling and prompt-level check, not an operating-system filesystem lock.

## How it works

An MCP client launches the published package with `npx -y omp-worker-mcp`. The server starts OMP processes in the background and stores job records, logs, and results on disk. Persistent records remain available after the MCP server restarts.

Use compact operations when the client should wait for a bounded response. For longer work, start a job with `omp_delegate`, retain its `job_id`, and check it with `omp_wait` or `omp_result`. A completed result includes status, attempt information, a final response, changed-file details, verification evidence, and paths to stdout and stderr artifacts. `omp_continue` sends feedback to the same OMP session, allowing another attempt with its existing context.

## Setup and configuration

Install Oh My Pi using its official instructions, run `omp setup`, and choose the default model. Workers use that selected default model; advanced model-role configuration can be set in OMP's `~/.omp/agent/config.yml`.

The host needs Node.js 22 or newer, OMP installed, and an MCP client. Register the server in the client's MCP configuration with `npx -y omp-worker-mcp`. Set `OMP_WORKER_OMP_COMMAND` when the `omp` executable is not available on `PATH`, or use it to specify an explicit executable path. Client examples are provided for Codex, Claude Code, Cursor, VS Code/Copilot, Windsurf, Continue, and ChatGPT through OpenAI's Secure MCP Tunnel.

For remote ChatGPT access, the local process can run behind `tunnel-client`; `OMP_WORKER_ALLOWED_ROOTS` can restrict the directories where jobs may run, and `CONTROL_PLANE_API_KEY` is used in the tunnel setup. Restart the MCP client after changing its configuration.

## Tools and capabilities

- `omp_run_compact`: Run one task and wait up to 60 seconds.
- `omp_run_batch_compact`: Validate and run a dependency graph of up to 50 tasks, waiting up to 240 seconds.
- `omp_delegate`, `omp_wait`, and `omp_wait_group`: Start and monitor individual jobs or groups.
- `omp_result`: Retrieve full status, attempts, result text, and log paths.
- `omp_continue`: Give feedback to the same OMP session for another attempt.
- `omp_cancel` and `omp_cancel_group`: Stop one job or all pending and running tasks in a group.

## Limitations and notes

The project is intended for substantive work rather than quick questions or one-line edits. Its path and ownership controls do not provide a real OS-level sandbox: they constrain where jobs start and what workers are instructed to touch, not everything OMP could technically access. The main MCP client must also be instructed to delegate; registering the server only makes its tools available.

_Full upstream README: https://allmcps.com/mcp/omp-worker-mcp/readme_

