Wraps Codex CLI as MCP tools: query, review, search, assess, structured, sessions.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-hampsterx-codex-mcp-bridge": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Wraps Codex CLI as MCP tools: query, review, search, assess, structured, sessions.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Persistent memory using a knowledge graph
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
MCP Security Weekly
Get CVE alerts and security updates for io.github.hampsterx/codex-mcp-bridge and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server that wraps Codex CLI as a subprocess, exposing code execution, agentic review, web search, and structured output as Model Context Protocol tools.
Works with any MCP client: Claude Code, Gemini CLI, Cursor, Windsurf, VS Code, or any tool that speaks MCP.
If you're in a terminal agent (Claude Code, Codex CLI, Gemini CLI) with shell access, call Codex CLI directly. It's faster, cheaper, and zero overhead:
# Review current branch vs main
codex review --base main
# Review uncommitted changes
codex review --uncommitted
# Review with custom focus
codex review --base main "Focus on security and error handling"
# From a worktree
codex -C /path/to/worktree review --base main
# General analysis
codex exec "Analyze src/utils/parse.ts for edge cases"
Use this MCP bridge instead when:
assess classifies a diff in <2s
(no CLI spawn) and recommends a review depth with estimated wall timescan (diff-only,
120s), focused (reads changed files, 120-300s), deep (full agentic, up to
30min) with per-depth auto-scaled timeouts. Focused containment is
--sandbox read-only --skip-git-repo-check --ephemeral plus prompt guidance;
Codex can still invoke shell commands, so it is lighter containment than
Gemini plan mode--json has known bugs)CODEX_MAX_CONCURRENT)sessionId /
resetSession, inspected via listSessions)npx codex-mcp-bridge
npm i -g @openai/codex)OPENAI_API_KEY environment variable set, or codex auth login completedclaude mcp add codex-bridge -- npx -y codex-mcp-bridge
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"codex-bridge": {
"command": "npx",
"args": ["-y", "codex-mcp-bridge"]
}
}
}
Add to your MCP settings:
{
"codex-bridge": {
"command": "npx",
"args": ["-y", "codex-mcp-bridge"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
| Tool | Description |
|---|---|
| codex | Execute prompts with file context, session resume, and sandbox control. Multi-turn conversations via session IDs. |
| review | Agentic code review. Codex runs in full-auto inside the repo: diffs, reads files, follows imports, checks tests. Quick diff-only mode available. |
| search |