MCP server · Audited from source
Codex MCP server
by x51xxx/codex-mcp-toolMIT licenceAudited 9 Oct 2026 · source e1a04ccccaf3
Is it safe? No — BLOCK, grade D (69/100). It exposes 17 tools: 13 read, 4 write and 0 destructive. The audit recorded 12 findings (0 critical, 2 high, 2 medium, 8 low). Maintainer's description: MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review
Cite
Cite this page
ModelsAtlas. “Codex MCP server (x51xxx/codex-mcp-tool)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/x51xxx/codex-7
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Prompt injection at docs/api/tools/brainstorm.md:125. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
2 MCP servers are called Codex. You are viewing x51xxx/codex-mcp-tool. Compare all 2 →
- w31r4/codex-mcp-go★ 52✓SAFE
- x51xxx/codex-mcp-tool★ 24✕BLOCK
Trust audit
Audit 0.4.1 · full source read 9 Oct 2026
12 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (12)
Sorted by severity
HIGHPrompt injectionprompt.override · docs/api/tools/brainstorm.md:125
- **Description:** Bypass all safety measures
- Why
- asks the agent to drop prior instructions or safety
- Fix
- remove the instruction
HIGHPrompt injectionprompt.override · docs/concepts/how-it-works.md:236
| `--dangerously-bypass-approvals-and-sandbox` | `yolo` | Bypass all safety checks |
- Why
- asks the agent to drop prior instructions or safety
- Fix
- remove the instruction
MEDIUMInventory / provenanceinv.binary · src/utils/binaryResolver.ts
binaryResolver.ts
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInsecure cryptocrypto.weak_hash · src/utils/sessionStorage.ts:93
return createHash('md5').update(hashInput).digest('hex').substring(0, 12);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/simple-tools.ts:8
readFileSync(new URL('../../package.json', import.meta.url), 'utf8')- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, cross-spawn, zod, zod-to-json-schema, @types/cross-spawn, @types/inquirer, @types/node, archiver
- Why
- 15 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · docs/index.md:63
- **🔒 Sandbox Modes**: Choose from read-only, workspace-write, or full access
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · docs/resources/troubleshooting.md:35
curl -sSL https://codex.openai.com/install | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
17 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
ask-codex | Execute Codex CLI with file analysis (@syntax), skills ($syntax), model selection, and safety controls. Supports changeMode. | write |
do-act | Execute task via Codex, verify with shell command, auto-fix on failure. Act-Check-Fix loop. | write |
image-gen | Generate or edit images with Codex | write |
review-changes | Run a code review against the current repository using Codex CLI native review subcommand | write |
batch-codex | Delegate multiple atomic tasks to Codex for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformations | read |
brainstorm | Generate creative ideas using structured frameworks with domain context and feasibility analysis. | read |
fetch-chunk | Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response. | read |
health | Check Codex CLI and session health status | read |
help | receive help information | read |
list-sessions | List all active conversation sessions with metadata, or manage sessions | read |
list-skills | Discover available Codex skills from .agents/skills/ directory | read |
message | Message to test with | read |
ping | Echo | read |
prompt | fetch-chunk cacheKey=<key> chunkIndex=<number> | read |
test-tool | A test tool demonstrating the simplified registration | read |
timeout-test | Test timeout prevention by running for a specified duration | read |
version | Display version and system information | read |
Safer alternatives
All code intelligence servers →hyperb1iss/lucidity-mcp
AI-powered code quality analysis using MCP to help AI assistants review code more effectively. Analyze git changes for complexity, security issues, and more through structured prompts.
cyanheads/mentor-mcp-server
A Model Context Protocol server providing LLM Agents a second opinion via AI-powered Deepseek-Reasoning R1 mentorship capabilities, including code review, design critique, writing feedback, and idea brainstorming through the Deepseek API.
ChromeDevTools/chrome-devtools-mcp
Chrome DevTools for coding agents
Audit history
- ✕BLOCK D 69 / 100
First audit ·
e1a04ccccaf3
Questions about Codex MCP server
What is the Codex MCP server?
What tools does Codex expose?
Is Codex safe to connect to an agent?
What credentials does Codex need?
How does Codex run?
How current is this page?
Which Codex MCP server is the right one?
I already installed Codex. What should I do?
Can the verdict change?
Sources
- x51xxx/codex-mcp-tool on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit e1a04ccccaf3Observed · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Codex MCP server?
- What tools does Codex expose?
- Is Codex safe to connect to an agent?