This repository sets up an automation pipeline where the Vibe-Kanban MCP manages tasks, creates GitHub PRs, and then listens for Codex feedback in PR comments before moving on to the next task. Think of it as giving your project a smart foreman who keeps the line moving.
- MCP: Handles task execution, creates branches/PRs, and queues work.
- Codex: Acts as a reviewer, leaving structured comments in PR threads.
- Loop: MCP reads Codexβs reply. If β approved, the MCP advances to the next task. If β flagged, MCP logs the issue or retries.
-
Clone the repo
git clone https://github.com/<your-org>/<your-repo>.git cd <your-repo>
-
Install dependencies Ensure youβve got Python 3.10+ and Node.js 18+.
pip install -r requirements.txt npm install
-
Configure GitHub access
-
Generate a GitHub Personal Access Token (PAT) with
repoandworkflowscopes. -
Add it to your environment:
export GITHUB_TOKEN=ghp_xxx
-
-
Configure Codex endpoint Update
config.yamlwith the URL/credentials for Codexβs API or comment parser.
-
MCP picks the next task from the queue.
-
MCP creates a new branch and PR.
-
GitHub CI runs (tests, linting, build).
-
Codex leaves a PR comment with its review.
-
MCP reads Codexβs reply:
- If β pass β merge PR or move to next task.
- If β fail β log issue or retry.
- MCP successfully parses Codexβs PR comment.
- Next task is only triggered if Codex approves.
- Workflow runs safely on a test branch/repo first.
- No impact on live
mainbranches until validated.
Hereβs the task format MCP expects:
{
"id": "1.0.0",
"goal": "Test MCP-Codex integration in a safe repo",
"guardrails": ["Use test branch", "Donβt touch main"],
"spec": { "ui": [] },
"files_to_change": ["scripts/mcp_workflow.py"],
"verify_commands": ["Check Codex reply in PR comments"],
"acceptance_criteria": [
"Codex response parsed",
"Next task triggered automatically"
],
"completion_phrase": "The MCP-Codex integration is tested and working."
}- Start in a test repo until you trust the workflow.
- Keep Codex replies structured (β /β) so MCP can parse easily.
- Document changes as you go for clarity.
βThe MCP-Codex integration is tested and working in the test environment.β