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

MCP server · Audited from source

Codex Tool MCP server

by cexll/codex-mcp-serverMIT licenceAudited 6 Oct 2026 · source 28145e242a83

npm @cexll/codex-mcp-server 1.2.5stdio★ 178
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 28145e2

Is it safe? No — BLOCK, grade D (69/100). It exposes 11 tools: 10 read, 1 write and 0 destructive. The audit recorded 14 findings (0 critical, 2 high, 1 medium, 11 low). Maintainer's description: Codex Mcp Server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Codex Tool MCP server (cexll/codex-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/cexll/codex-tool

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.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high1 medium11 low0 info

14 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

  • FilesystemNone observedNothing seen in the source
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (14)

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:235
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
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
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/concepts/sandbox.md:67
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Unrestricted access - use with extreme caution.
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/concepts/sandbox.md:391
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Solution 2: Use full access (carefully!)
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/concepts/sandbox.md:431
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
prompt: 'fix bug with elevated permissions',
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/config.md:326
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Full Access: Full disk and network access without prompts; extremely risky.
Why
No further detail recorded for this rule.
Fix
—
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
—
LOWPrompt injectionprompt.credential_read · docs/config.md:79
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
It is also possible to configure a provider to include extra HTTP headers with a request. These can be hardcoded values (`http_headers`) or values read from environment variables (`env_http_headers`):
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.persistence · docs/resources/troubleshooting.md:285
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Add to System PATH via:
Why
instructs the agent to persist itself in the user's environment
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

11 declared in source · 0 destructive

10 read1 write0 destructive
ToolWhat it doesRisk
ask-codexExecute Codex CLI with file analysis (@syntax), model selection, and safety controls. Supports changeMode.write
Helpreceive help informationread
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
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

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 28145e242a83

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Codex Tool MCP server

What is the Codex Tool MCP server?
Codex Mcp Server
What tools does Codex Tool expose?
11 in total: 10 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Codex Tool 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 Tool need?
No credential environment variables were found in its source, so it appears to need none.
How does Codex Tool run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @cexll/codex-mcp-server at 1.2.5.
How current is this page?
The grade is for one exact copy of the source (28145e242a83), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Codex Tool. 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

  • cexll/codex-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 28145e242a83Observed · 6 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.