Skip to main content

MCP server for the supervisor-squad workflow.

Project description

mcp-supervisor-squad

Python MCP server that implements a minimal “supervisor + coder squad” workflow with brief status.

Tools (public MCP API)

  • squad_start(cwd, query, options?) → creates a run, writes requirements docs under repo .codex/, dispatches coder jobs in worktrees, returns brief status (lines ≤ 3).
  • squad_status(run_id, options?) → returns brief status (lines ≤ 3) using cached state (no stdout tail by default).
  • squad_apply(run_id, options?) → applies the final patch with git apply (dry_run default true).

All tool responses include:

{
  "run_id": "v5-...",
  "next_action": "wait|apply",
  "recommended_poll_ms": 15000,
  "wait_reason": "agent_running|ready_to_apply|error",
  "lines": ["...<=3 lines..."]
}

Storage layout (repo-local)

Under <repo_root>/.codex/squad-v5/:

  • runs/<run_id>/state.json – run state and brief cache
  • runs/<run_id>/artifacts/requirements*.md – requirements docs written before dispatch
  • runs/<run_id>/artifacts/contract.json – dual-project contract (<=4KB)
  • runs/<run_id>/artifacts/patch.diff – final patch to apply
  • runs/<run_id>/jobs/<job_id>/* – codex exec stdout/stderr/meta
  • worktrees/<run_id>/<slug> – per-task git worktrees (best-effort cleanup)
  • kb/prune_meta.json – prune rate limit state

Development

cd mcp-tools/mcp-supervisor-squad
poetry install

Running

poetry run mcp-supervisor-squad --transport stdio

Testing

python -m compileall src/mcp_supervisor_squad

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_supervisor_squad-0.1.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_supervisor_squad-0.1.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_supervisor_squad-0.1.2.tar.gz.

File metadata

  • Download URL: mcp_supervisor_squad-0.1.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/24.6.0

File hashes

Hashes for mcp_supervisor_squad-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b2ae74c32a8dd0def170d2c611ce4ffd151b42b6a896d2dc906c032920398fc1
MD5 819d84304837af0205fe4c82e67607c4
BLAKE2b-256 9147f88f0481cf840961d714c72212a6b4a52b7e4c9d20d85576d9f0df6b86de

See more details on using hashes here.

File details

Details for the file mcp_supervisor_squad-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_supervisor_squad-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b7480340491cd7cf01d85a0b30a1ada8633db67ab7b257530614f4d41ab1e6
MD5 f63f2885821673f5f699f5d497ca0e68
BLAKE2b-256 fea8c3ea6fcb79658c03940b28be53125c14c10c187353cf7a393b9e8da4ea4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page