# Codex MCP Server <div align="center"> [](ht
Everything the assistant can do here goes through one of these:
ask-codex — Execute Codex CLI with files, models, sessions, and safety controlsbatch-codex — Run multiple atomic Codex tasks sequentially or concurrentlyreview-changes — Run the native non-interactive Codex review commanddo-act — Execute, verify with a shell command, and retry fixesbrainstorm — Generate ideas with structured creative frameworkslist-sessions — View, delete, or clear MCP conversation mappingslist-skills — List skills visible from the selected workspacehealth — Diagnose CLI installation, version, features, and sessionsfetch-chunk — Retrieve a chunk from cached change-mode outputping — Test the MCP connectionhelp — Return current codex --help outputversion — Report Codex CLI, Node.js, platform, and package versions@trishchuk/codex-mcp-tool on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
You will need one environment variable: CODEX_CLI_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Codex's toolset — ask-codex, batch-codex, review-changes and 11 more — is a fair guide to whether it matches your workflow. It is maintained by x51xxx; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| ask-codex | Execute Codex CLI with files, models, sessions, and safety controls |
| batch-codex | Run multiple atomic Codex tasks sequentially or concurrently |
| review-changes | Run the native non-interactive Codex review command |
| do-act | Execute, verify with a shell command, and retry fixes |
| brainstorm | Generate ideas with structured creative frameworks |
| list-sessions | View, delete, or clear MCP conversation mappings |
| list-skills | List skills visible from the selected workspace |
| health | Diagnose CLI installation, version, features, and sessions |
| fetch-chunk | Retrieve a chunk from cached change-mode output |
| ping | Test the MCP connection |
| help | Return current codex --help output |
| version | Report Codex CLI, Node.js, platform, and package versions |
| timeout-test | Exercise keepalive and timeout behavior |
| Configuration | The Configuration tool exposed by this server. |
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": ["-y", "@trishchuk/codex-mcp-tool"],
"env": {
"CODEX_CLI_PATH": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| CODEX_CLI_PATH | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.