claude-science-codex-review
Provides a bridge to the official OpenAI Codex CLI for executing code review and implementation jobs, with polling and follow-up capabilities.
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., "@claude-science-codex-reviewreview the statistical analysis in my paper"
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.
Claude Science Codex Review
A privacy-conscious, asynchronous bridge that lets Claude Science delegate an independent review or implementation task to the official OpenAI Codex CLI.
Long Codex runs execute in a macOS user LaunchAgent, outside the Claude Science sandbox. Claude Science submits a job, receives a job ID immediately, and polls short MCP calls until the job reaches a terminal state. This avoids one-minute tool limits and prevents sandbox proxy variables from breaking Codex WebSocket TLS.
Community project. It is not an official OpenAI or Anthropic integration.
What It Installs
a Claude Science skill with reliable submit, poll, failure, and follow-up behavior;
an MCP server exposing
codex,codex-status,codex-reply,codex-list-jobs, andcodex-cancel;a durable local queue and host-side Codex runner;
a macOS LaunchAgent and a read-only diagnostic command.
flowchart LR
CS["Claude Science"] --> MCP["Queue-only MCP server"]
MCP --> Q["Private local job queue"]
Q --> R["Host LaunchAgent"]
R --> CLI["Official Codex CLI"]
CLI --> Q
CS -->|"poll until terminal"| MCPRelated MCP server: claude-code
Requirements
macOS 13 or newer (the tested installer platform)
Claude Science with a local org skill directory
Node.js 20 or newer; the installer prefers Claude Science's bundled Node
the official Codex CLI, already authenticated with
codex login
No OpenAI API key is accepted, copied, or stored.
Install
git clone https://github.com/gongchen0916/claude-science-codex-review.git
cd claude-science-codex-review
./install.shRestart Claude Science after installation. If macOS or Claude Science asks once for access to the local Codex state directory, grant that directory access, then verify:
claude-science-codex-doctorSee the Chinese quick start for a compact walkthrough.
Use
Ask Claude Science to have Codex independently review a paper figure, statistical analysis, source tree, reproducibility package, or proposed code change. Reviews default to the Codex read-only sandbox.
The critical lifecycle is:
codexreturns ajobIdimmediately.codex-statusis called repeatedly while the job isqueued,dispatching, orrunning.Only
completed,failed, orcanceledis a final state.A completed result may be followed up with
codex-replyon the returned thread.
A queued job is not a review. The included skill explicitly prevents Claude Science from inventing findings or stopping before Codex returns a final agent message.
Model Names
Omitting model uses the Codex CLI default. The bridge maps the unsupported request alias gpt-5.6-codex to gpt-5.6-sol for compatible ChatGPT subscription sessions and records both requestedModel and actual model. Callers must disclose the model that actually ran.
Security
Codex authentication remains owned by the official CLI.
The bridge never reads Codex auth files or Claude Science credentials.
Proxy variables are removed before the host runner starts Codex.
Job files are local, owner-only runtime data and are never uploaded by this project.
Installation backs up the MCP JSON and changes only the named
openai-codexentry.A release-blocking scanner checks for tokens, private keys, email addresses, local home paths, and Claude Science organization IDs.
Read SECURITY.md for the trust boundaries and ARCHITECTURE.md for the job state model.
Troubleshooting
Start with:
claude-science-codex-doctorExact errors, including UnknownIssuer, stale queued jobs, missing final messages, and requested/actual model differences, are covered in TROUBLESHOOTING.md.
Uninstall
./uninstall.shThis preserves prior MCP backups and local job history. To remove the integration and its job data:
./uninstall.sh --purge-dataDevelopment
The runtime has no npm dependencies.
npm test
npm run test:slow
npm run securityThe default suite uses a fake Codex executable and requires no network credentials. The slow suite proves a job longer than 60 seconds survives after the submitting MCP process exits.
License
MIT
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/gongchen0916/claude-science-codex-review'
If you have feedback or need assistance with the MCP directory API, please join our Discord server