Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Codex MCP server

by x51xxx/codex-mcp-toolMIT licenceAudited 9 Oct 2026 · source e1a04ccccaf3

npm @trishchuk/codex-mcp-tool 2.6.0stdio★ 24
✕BLOCKGrade D · 69/100 · 9 Oct 2026 · e1a04cc

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 9 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high2 medium8 low0 info

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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `--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
F-13 Inventory / provenanceCWE-1104Layer L0
binaryResolver.ts
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMPrompt injectionprompt.hidden_style · docs/index.md:7
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
tagline: "Leverage OpenAI's Codex models in any client that supports the standardized MCP protocol—<span style='color: #FFFFFF; background-color: #D97706; padding: 2px 8px; border-radius: 6px; font-si
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .mcp.json.example
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp.json.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .yarnrc.yml
F-13 Inventory / provenanceCWE-1104Layer L0
.yarnrc.yml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/utils/sessionStorage.ts:93
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
readFileSync(new URL('../../package.json', import.meta.url), 'utf8')
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **🔒 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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

13 read4 write0 destructive
ToolWhat it doesRisk
ask-codexExecute Codex CLI with file analysis (@syntax), skills ($syntax), model selection, and safety controls. Supports changeMode.write
do-actExecute task via Codex, verify with shell command, auto-fix on failure. Act-Check-Fix loop.write
image-genGenerate or edit images with Codexwrite
review-changesRun a code review against the current repository using Codex CLI native review subcommandwrite
batch-codexDelegate multiple atomic tasks to Codex for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformationsread
brainstormGenerate creative ideas using structured frameworks with domain context and feasibility analysis.read
fetch-chunkRetrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.read
healthCheck Codex CLI and session health statusread
helpreceive help informationread
list-sessionsList all active conversation sessions with metadata, or manage sessionsread
list-skillsDiscover available Codex skills from .agents/skills/ directoryread
messageMessage to test withread
pingEchoread
promptfetch-chunk cacheKey=<key> chunkIndex=<number>read
test-toolA test tool demonstrating the simplified registrationread
timeout-testTest timeout prevention by running for a specified durationread
versionDisplay version and system informationread

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · e1a04ccccaf3

Questions about Codex MCP server

What is the Codex MCP server?
MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review
What tools does Codex expose?
17 in total: 13 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Codex safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Codex need?
No credential environment variables were found in its source, so it appears to need none.
How does Codex run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @trishchuk/codex-mcp-tool at 2.6.0.
How current is this page?
The grade is for one exact copy of the source (e1a04ccccaf3), read on 2026-10-09. The repository is watched and re-audited when it changes.
Which Codex MCP server is the right one?
w31r4/codex-mcp-go. 2 servers share the name; see the side-by-side comparison.
I already installed Codex. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.