codex-mcp-server

Bridge Claude and OpenAI's Codex CLI for code analysis, review, and search

Local

Install

See setup instructions on docs.tuannvm.com

What it does

This MCP server connects a Claude client to OpenAI's Codex command-line tool so coding tasks can be delegated to Codex from within the editor conversation. Install the Codex CLI, authenticate it with an OpenAI API key, and register the server with a client such as Claude Code via the npx command. The bridge then routes requests through Codex to the OpenAI API.

The server exposes a handful of tools: a main codex tool for analysis and generation with optional model selection, reasoning effort, session IDs, and sandboxed full-auto mode; a review tool for uncommitted changes, branches, or commits; and a websearch tool with configurable result count and search depth. Session listing, a connection ping, and help output round out the interface.

It suits developers who want Codex capabilities without leaving their editor and who are comfortable managing API keys and CLI versions. Requirements are Codex CLI v0.75.0 or newer and an OpenAI account; structured thread metadata depends on newer CLI releases, and sessions are tracked per server instance.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
650
Last push
May 25, 2026
License
—
Archived
No

Other OpenAI MCP servers

Compare servers

FAQ

Does codex-mcp-server run locally or remotely?
It runs locally.
Is codex-mcp-server an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/codex-mcp-server"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options