codex-reasonix-mcp
This server is a security-first MCP bridge enabling Codex to delegate, supervise, and inspect AI-driven development tasks performed by Reasonix in isolated Git worktrees.
Delegate Tasks (
reasonix_delegate): Submit a detailedTaskContractV1(objective, write/forbidden scopes, acceptance criteria, verification commands, invariants, pause conditions, verified context) to Reasonix. The bridge creates an isolated Git worktree and ACP session, and asynchronously starts Goal-mode work.Control Tasks (
reasonix_control): Manage task lifecycle: steer ongoing work, respond to interactions/pauses, cancel, trigger asynchronous finalization (reruns verification, checks scope/secrets, and only advances the worker branch if the tree matches the reviewed state), or close tasks. Supports up to two post-review repair rounds.Inspect Tasks (
reasonix_inspect): Retrieve bounded, paginated status, summary, changed files, diffs, verification results, acceptance evidence, risks, usage, interactions, and events.Ensure Security: Operates in a clean, sandboxed, network-isolated worktree; scoped writes; never pushes or merges automatically; Codex retains final commit decisions.
Validate Environment (
doctor): Perform a diagnostic check of Node, Git, platform, Reasonix binary, ACP extension, OS sandbox availability, and model selector, without engaging the model.
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-reasonix-mcpDelegate implementing the new API endpoint to Reasonix in an isolated worktree."
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-reasonix-mcp
codex-reasonix-mcp is a security-first MCP bridge that lets Codex supervise
Reasonix as an implementation worker. Codex owns the contract, review, and final
commit decision. Reasonix works in an isolated Git worktree through ACP Goal
mode. The bridge never pushes, merges, or changes the caller's main worktree.
This repository is generic to Git repositories. It contains no Akademi-specific configuration, LLM router, or Codex source modification.
Release status
The current package version is the stable 0.1.1 release. Official Reasonix
v1.19.0 includes the ACP v1 supervisor and status capabilities required by
the bridge. Runtime capability checks remain authoritative, and incompatible
binaries fail closed before any model prompt is sent.
Related MCP server: MiMo Bridge MCP
Requirements
Node.js 22 or newer
pnpm 10 for source development
Git 2.36 or newer (worktrees plus
git hook run)Linux, macOS, or Windows through WSL; native Windows is rejected
Reasonix v1.19.0 or a compatible newer build with the required ACP v1 supervisor and status capabilities
Bubblewrap on Linux/WSL or Seatbelt on macOS
A configured Reasonix provider exposing
deepseek-v4-flash
Reasonix, provider credentials, and provider billing remain user-managed. This package neither downloads nor bundles Reasonix.
Install for Codex
Pin the exact bridge version when registering the MCP server:
codex mcp add reasonix-worker -- npx -y codex-reasonix-mcp@0.1.1For development against a locally built Reasonix checkout:
codex mcp add reasonix-worker \
--env REASONIX_BIN=/absolute/path/to/reasonix \
-- npx -y codex-reasonix-mcp@0.1.1Run the non-model diagnostic before delegating work:
npx -y codex-reasonix-mcp@0.1.1 doctordoctor checks Node, Git, platform/WSL, the Reasonix binary and supervisor
flags, ACP extension compatibility, OS sandbox availability, state permissions,
network posture, the required model selector, and the effective session
sandbox. It creates and closes an ACP diagnostic session but never sends a model
prompt.
MCP surface
The server is named reasonix_worker and exposes exactly three tools:
reasonix_delegatevalidates an immutableTaskContractV1, creates the worker branch/worktree/session, and returns while provisioning continues.reasonix_controlsteers, answers an interaction, cancels, finalizes, or closes a task. At most two post-review repair rounds are accepted.reasonix_inspectreturns bounded status, evidence, interactions, events, and optional paginated diffs.
Codex calls reasonix_delegate only after the user explicitly requests or
approves Reasonix implementation. Once approved, Codex does not substitute
native subagents for that contracted work. Native Codex subagents remain the
right fit for bounded parallel exploration, tests, triage, or summaries that
do not require the Reasonix task lifecycle.
reasonix_delegate and finalization require Codex's
codex/sandbox-state-meta. A writable repository path is derived only from that
metadata; no model-provided repository path is accepted.
Safe lifecycle
Codex creates a contract with explicit write and forbidden scopes.
The bridge rejects a dirty source worktree, creates
reasonix/<task-id>, and places the worker worktree below its private state directory.Reasonix runs Delivery + Goal with planner disabled, scoped writes, sandboxed bash, and network off by default.
Codex inspects bounded evidence and may request at most two repair rounds.
finalizereruns all verification, rechecks scope/size/secrets, stages explicit files, runs commit hooks against a disposable index, and advances the worker ref only when the resulting tree is byte-for-byte the reviewed tree.The branch, worktree, contract, and evidence are retained. Nothing is pushed, merged, cherry-picked, or deleted automatically.
See architecture, task contracts, configuration, security, and troubleshooting.
Develop
corepack enable
pnpm install --frozen-lockfile
pnpm check
pnpm audit --audit-level highCI runs the same gates on Node 22/24 Linux and Node 22 macOS. npm releases use
GitHub OIDC trusted publishing with provenance and no long-lived npm token;
prerelease versions publish under the next dist-tag. See
CONTRIBUTING.md for the release gates.
The offline end-to-end test uses a fake ACP Reasonix agent and performs no live provider calls or external mutations. A live DeepSeek smoke test is intentionally not automated and requires explicit credential and cost authorization.
Community
Read CONTRIBUTING.md before proposing a change.
Use the structured bug report or feature request forms for public work.
Follow the Code of Conduct in all project spaces.
Report vulnerabilities privately through GitHub Security Advisories, as described in SECURITY.md.
License
MIT. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP bridge that lets Codex delegate long-running agent work to the Antigravity CLI, providing observable and resumable tool-based execution with project scoping.Last updated134MIT
- Alicense-qualityBmaintenanceEnables Codex to delegate bounded coding tasks to MiMo Code through a shared local daemon, supporting task boundaries, Git Worktrees, and a collaborative review workflow.Last updated2MIT
- Alicense-qualityDmaintenanceMCP bridge for calling local coding-agent CLIs (Codex, Claude) from another agent, enabling bounded tasks like code review, verification, and bug hunting.Last updatedMIT
- Alicense-qualityCmaintenanceEnables safe repository inspection and Docker-sandboxed command execution via MCP, with optional Codex handoff for implementation tasks.Last updated1Apache 2.0
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
A paid remote MCP for OpenAI Codex context compressor, built to return verdicts, receipts, usage log
A paid remote MCP for OpenAI Codex memory MCP, built to return verdicts, receipts, usage logs, and a
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/rixzkiye/codex-reasonix-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server