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.1.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.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_supervisor_squad-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a590ced326be1f5af32b4c36230c2691760729c93881280fa7de0751469881bb
MD5 cb93a7f601df9e459f3cf8ab8f50c4a4
BLAKE2b-256 90a80212a20f549f699759804e6bbe05add1f420039498d02db25e69ff9f63bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_supervisor_squad-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc906ed11b4f565ea74fea37c1dec93dc6fea016ca4a5d7bc34bcffc56fe2cf
MD5 818800c0e0701b709871d8acb74f659c
BLAKE2b-256 62fce73c3f719226f890c90dfa90a975be0705c3fbaa3bd2c6fc3da0a8080de4

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