codex

codex is an MCP server for Claude Code from Lykhoyda/ask-llm. Its token cost is not measured, scanned A, original, MIT.

An MCP server that connects Claude IDE and other IDEs to the OpenAI Codex command-line tool. MCP is a standard way for an AI tool to use an external service.

In plain words
What is it for?
It provides a local Codex integration configured through the ask-llm npm package.
Why use it?
It avoids manually switching between an IDE and Codex when using them together.

MCP server for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Codex; listed in a Claude config.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ask-llm plugin — 40 skills, 12 agents, 5 hooks, 8 MCP servers shipped together

Good fit It provides a local Codex integration configured through the ask-llm npm package.

Compare 6 mcp servers from other repositories ↓

Installing this writes the configuration, not the program: `node` runs a file from the repository, so clone it first and make the path in the command match where you put it.

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lykhoyda/ask-llm
Claude Code
/plugin install ask-llm

Installing this writes the configuration, not the program: `node` runs a file from the repository, so clone it first and make the path in the command match where you put it.

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 40 skills, 12 agents, 5 hooks, 8 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex

README.md
[![agentmods](https://agentmods.dev/badge/mcp/lykhoyda/ask-llm/llm-mcp-codex/github.svg)](https://agentmods.dev/mcp/lykhoyda/ask-llm/llm-mcp-codex)
Your own site
<a href="https://agentmods.dev/mcp/lykhoyda/ask-llm/llm-mcp-codex"><img src="https://agentmods.dev/badge/mcp/lykhoyda/ask-llm/llm-mcp-codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex

Your own site · 80×15
<a href="https://agentmods.dev/mcp/lykhoyda/ask-llm/llm-mcp-codex"><img src="https://agentmods.dev/badge/mcp/lykhoyda/ask-llm/llm-mcp-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

codex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/llm-mcp/.mcp.json · 10 lines

What it actually says

{
  "codex": {
    "command": "node",
    "args": [
      "${CLAUDE_PLUGIN_ROOT}/scripts/plugin-mcp-server.mjs",
      "codex",
      "1.10.0"
    ]
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed f9119333c369
  2. 3d ago Changed 44a47ad0ce82
  3. 6d ago Changed 848082df4092
  4. 7d ago Changed cd4743c245ad
  5. 10d ago Changed 4d13c109c8c6
  6. 12d ago Changed 3be17aaf8fb9
  7. 13d ago Changed · +1 lines 3cd1d29faa9e
  8. 2mo ago First seen · 9 lines scan A 5918eacb1599

Subscribe to this mod's changes

codex is an MCP server published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

codex compared with mcp servers from other repositories

codex next to 6 mcp servers from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codexLykhoyda/ask-llmMCP server20yesterdayMITA—Claude Code
fedlex-sparqlfedec65/bettercallclaudeMCP server513d agoAGPL-3.0A—Claude Code
knowbe4-mcpServosity/msp-skillsMCP server903d agononeA—Claude Code
halopsa-mcpServosity/msp-skillsMCP server903d agononeA—Claude Code
domain-search-king-mcpjohnsmalls22-rgb/domain-search-king-mcpMCP server01mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
openai-gpt-image-mcp-199bio199-mcp/mcp-openai-imageMCP server11y agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
mcp-obsidian-toolsdp-veritas/mcp-obsidian-toolsMCP server411mo agoAGPL-3.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode