Codex Workflows MCP Server
Click on "Install 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., "@Codex Workflows MCP ServerRun the bug-sweep workflow with adapter auto"
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.
Codex Workflows
Codex has subagents, skills, plugins, and MCP. codex-workflows connects those
pieces into a workflow-as-code runtime: durable multi-agent runs, a live
terminal dashboard, restartable agents, saved workflow scripts, and review
templates that are meant to be used on real repos.
This is not a native Codex /workflows command. Codex does not expose that
plugin API today. This project ships the closest available surface: a Codex
plugin with an MCP server and a cwf terminal UI.
Install
Install it from the GitHub marketplace in this repo:
codex plugin marketplace add robzilla1738/Codex-Workflows
codex plugin add codex-workflows@codex-workflowsStart a new Codex thread after installing. Then ask:
Use codex-workflows to run the bug-sweep workflow with adapter auto.
Open the live dashboard automatically and tell me the run id and status.Codex will call the bundled MCP server. The server starts the workflow, opens the live TUI in your default terminal, and returns a run id you can inspect from Codex or from the CLI.
Related MCP server: Bernstein - Multi-agent orchestration
What it includes
bug-sweep: bounded codebase review, adversarial verification, repro planning, and synthesis.bug-sweep-deep: larger opt-in fanout for deeper bug hunts.release-diff-review: release-blocker review against a branch or diff.security-auth-review: auth, permission, injection, secret, sandbox, and MCP boundary review.Live dashboard with phases, agent rows, token/tool/time metrics, recent worker activity, detail view, pause/resume/stop/restart/save controls, and final report path. Token totals show as pending until Codex emits usage metadata; command/tool/message/stderr activity updates as events arrive.
Workflow definitions can explicitly request up to 64 concurrent workers and 2000 total agents.
Durable run state under
${CODEX_HOME:-~/.codex}/codex-workflows/projects/<project-hash>/runs/<run-id>/by default, so read-only bug hunts do not dirty the target repo.Project-local storage remains available with
storageScope: "project"or--storage-scope project.Downstream verify, probe, and synthesize agents receive prior phase findings as explicit context instead of guessing at earlier results.
Detached worker heartbeats let status reads and dashboards identify orphaned runs when a background workflow process dies.
Isolated workflow script loading through QuickJS. Workflow scripts define phases and agent prompts; they do not get direct filesystem, shell, network, process, or Node built-in access.
Model controls
You can route models globally or by phase/agent:
Use codex-workflows to run bug-sweep with adapter auto,
model gpt-5.5, reasoning xhigh,
and modelMap {"find":"gpt-5.4-mini","synthesize":"gpt-5.5"}.Caller overrides win over workflow defaults:
model: default worker model.reasoning: default Codex reasoning effort.modelMap: phase id, agent id, orphase:agentoverrides.promptSuffix: extra instruction appended to every worker.
Model names are validated against the local codex debug models catalog before
any agents launch. Short names such as 5.4-mini are rejected with a suggestion
like gpt-5.4-mini; they are not silently rewritten.
Bug-finding workflows default to read-only workers unless a workflow explicitly declares otherwise.
Local development
pnpm install
pnpm validate:plugin
pnpm test
pnpm cwf validate workflows/bug-sweep.workflow.js
pnpm cwf run workflows/bug-sweep.workflow.js --watch --adapter simulate
pnpm cwf run workflows/bug-sweep.workflow.js --watch --adapter auto --model gpt-5.4-mini
pnpm cwf run workflows/bug-sweep-deep.workflow.js --watch --adapter auto --model gpt-5.4-miniUseful local commands:
pnpm cwf workflows
pnpm cwf watch <run-id>
pnpm cwf pause <run-id>
pnpm cwf resume <run-id>
pnpm cwf stop <run-id>
pnpm cwf stop-agent <run-id> <agent-id>
pnpm cwf restart-agent <run-id> <agent-id>
pnpm cwf save <run-id> --name release-diff-review-v2The generated plugin lives at plugins/codex-workflows. Do not edit the bundled
dist files by hand. Change the TypeScript packages, then run:
pnpm validate:pluginThat builds the packages, regenerates the plugin bundle, and checks that no machine-local paths leaked into the distributable plugin.
Plugin layout
.agents/plugins/marketplace.json
plugins/codex-workflows/
.codex-plugin/plugin.json
.mcp.json
dist/
skills/codex-workflows/SKILL.md
workflows/*.workflow.jsThe plugin bundle is committed so users can install from GitHub without running
pnpm install.
Docs
Support
If this saves you time, you can support the project here: buymeacoffee.com/robcourson.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/robzilla1738/Codex-Workflows'
If you have feedback or need assistance with the MCP directory API, please join our Discord server