batch-runner
Provides read-only SQL query capabilities against any SQLite database file through the omega_sqlite tool, enabling inspection and retrieval of data from SQLite databases.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@batch-runnerrun npm run build then node dist/cli.js --version, expect 'compiled successfully' and version"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
batch-runner-mcp
Run several bash steps in one MCP call, and know whether each one actually did what you wanted.
A zero exit code only proves a command ran. With omega_batch, every step can carry an expect assertion (contains / notContains / regex). Each step is reported as ok, FAIL (process) or FAIL (expectation), with exit code, signal, timeout and stderr kept separate. Steps skipped after a failure are listed as (halted) instead of silently disappearing.
Zero npm dependencies. Node >= 20. Works with any MCP host that speaks stdio (Claude Code, opencode, Claude Desktop, ...).
Install
Claude Code:
claude mcp add batch-runner -- npx -y github:Birdywen/batch-runner-mcpGeneric JSON config (mcpServers):
{ "batch-runner": { "command": "npx", "args": ["-y", "github:Birdywen/batch-runner-mcp"] } }opencode (opencode.json, mcp section):
{ "batch-runner": { "type": "local", "command": ["npx", "-y", "github:Birdywen/batch-runner-mcp"] } }Then call omega_health once. The first line is the verdict (HEALTHY / DEGRADED); optional parts that are not configured show as [--].
Related MCP server: Bash MCP Server
Example
{ "steps": [
{ "label": "build", "command_line": "npm run build", "expect": { "contains": ["compiled successfully"] } },
{ "label": "smoke", "command_line": "node dist/cli.js --version", "expect": { "regex": "^\\d+\\.\\d+" } }
], "stopOnError": true }omega_batch returns a job id at once; omega_batch_status with waitMs (max 50000) blocks until the verdict is ready:
batch job-xxxx: partial 4/4
[FAIL] 1. basic exit3 (process)
exit=3 signal=none timedOut=false chars=34
out-line
--- stderr ---
err-line
[FAIL] 2. expect fail on exit0 (expectation) -- expect.contains failed: NOPE_MARK
[ok] 3. long 30000
[ok] 4. afterAdd format: "json" for structured per-step fields (ok, status, failureType, exitCode, signal, timedOut, durationMs) and verbose: true for full output.
Tools
Tool | What it does |
| Async batch of bash steps with expect checks, status polling and cancellation |
| Multi-step flows with conditions (see |
| Dry-run the command guard that inspects steps before they run |
| Read files |
| Exact-string edits with snapshot-based undo |
| Write a file without shell quoting |
| ripgrep search, with a |
| Read-only queries against any sqlite file |
| Long outputs are stored as artifacts; read or search them later |
| Self-check: module hashes, writable dirs, optional dependencies |
| Optional; needs |
| Optional; tied to a specific agent database layout. Use |
Configuration
Everything works with defaults under ~/.omega-mcp/. Common overrides:
Variable | Default / meaning |
|
|
| batch job state directory |
| server log file |
| output size kept inline before spilling to an artifact |
| default per-step timeout |
| default working directory (home if unset) |
| enables |
Development
npm testThis server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Your agents' cloud. MCP server with search, execute, packages, jobs, secrets, and integrations.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables execution of bash commands with support for timeouts and background jobs, allowing file operations, build commands, system inspection, and long-running tasks.50 npm9MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables the execution of arbitrary bash commands and returns detailed output including stdout, stderr, and exit codes. It supports customizable working directories, execution timeouts, and environment variable configurations.1MIT
- AlicenseAqualityCmaintenanceEnables execution of bash commands via MCP, allowing clients to run shell commands and set a working directory.236MIT
- AlicenseNot gradedqualityDmaintenanceEnables running shell commands on the local machine via MCP, using bash.MIT