claude-codex-orchestrator
A local MCP server that manages Claude-to-Codex task orchestration on Windows, providing tools for creating, dispatching, and monitoring tasks with safety constraints.
README
Claude Codex Orchestrator MCP
A local MCP server that wraps a Windows Claude -> Codex worker orchestration workflow.
The MCP server is intentionally thin. It exposes a stable tool surface and delegates execution to the existing PowerShell dispatcher scripts under tools/.
What It Provides
create_task: create one queued markdown task under.orchestrator/tasks/.dispatch_task: dispatch one task throughtools/invoke-orchestrated-task.ps1.read_status: read compactstatus.jsonoutput and summarize the result.run_task_loop: run bounded retry/decision handling over queued tasks.archive_artifacts: archive historical artifacts, dry-run by default.
Requirements
- Windows PowerShell 5.x or compatible
powershell.exe. - Node.js 20+.
- Codex CLI available on
PATHforappandcodelanes. - Codex Desktop/app-server support for the
applane.
Quick Start
npm run mcp:orchestrator
The server speaks MCP over stdio. It is meant to be launched by an MCP client, not used as an interactive terminal program.
MCP Client Config Example
Use absolute paths for your clone location and the workspace you want the orchestrator to manage:
{
"mcpServers": {
"claude-codex-orchestrator": {
"command": "C:/Program Files/nodejs/node.exe",
"args": [
"D:/path/to/claude-codex-orchestrator-mcp/tools/mcp-orchestrator-server.js"
],
"env": {
"ORCHESTRATOR_WORKSPACE_ROOT": "D:/path/to/your/workspace"
}
}
}
}
Safety Model
- The server validates file paths and keeps them inside the configured workspace.
- Set
ORCHESTRATOR_WORKSPACE_ROOTwhen the MCP server is installed outside the workspace it should manage. - Automation defaults to dry-run unless explicitly invoked with real automation flags in the underlying dispatcher path.
- Artifact archival defaults to dry-run; moves require
apply: true. - The MCP server does not edit Codex global config.
- Existing PowerShell scripts remain the source of truth for orchestration behavior.
Repository Layout
.
|-- AGENTS.md
|-- PROJECT-CONTEXT-MCP-SKILL.md
|-- package.json
|-- docs/
| `-- ORCHESTRATOR-USAGE.md
|-- tools/
| |-- mcp-orchestrator-server.js
| |-- invoke-orchestrated-task.ps1
| |-- invoke-codex-app-worker.ps1
| |-- codex-app-worker.js
| |-- invoke-codex-worker.ps1
| |-- run-controlled-automation.ps1
| |-- orchestrator-tasking.ps1
| |-- invoke-orchestrator-task-loop.ps1
| `-- archive-orchestrator-artifacts.ps1
`-- .claude/
|-- commands/orchestrate.md
`-- skills/claude-codex-orchestrator/SKILL.md
Verification
Syntax-check the MCP server:
node --check tools/mcp-orchestrator-server.js
Run non-Codex PowerShell checks:
powershell -NoProfile -ExecutionPolicy Bypass -File tools/test-orchestrator-tasking.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File tools/test-controlled-automation.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File tools/test-archive-orchestrator-artifacts.ps1
Full app/code worker tests require a working Codex CLI/app-server setup and may take longer.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.