# Codex CLI
> Bridges OpenAI's Codex CLI with structured command execution, brainstorming sessions, and chunked response delivery for code analysis, automated refactoring, and development workflow automation.
Canonical: https://www.mcpfolio.com/servers/codex-cli
Last updated: 2026-10-28
## Catalog record

- Publisher: cexll
- Categories: development, productivity

## Repository

https://github.com/cexll/codex-mcp-server

## Transports

stdio

## Authentication

No credentials were configured; the tested read-only tool “ping” succeeded in an isolated environment. Other tools may have additional requirements.

## Tools

- **ask-codex**: Execute Codex CLI with file analysis (@syntax), model selection, and safety controls. Supports changeMode.
- **batch-codex**: Delegate multiple atomic tasks to Codex for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformations
- **ping**: Echo
- **Help**: receive help information
- **version**: Display version and system information
- **brainstorm**: Generate creative ideas using structured frameworks with domain context and feasibility analysis.
- **fetch-chunk**: Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.
- **timeout-test**: Test timeout prevention by running for a specified duration

## Sources

- [MCP.Directory public profile](https://mcp.directory/servers/codex-cli)
- [Linked publisher repository](https://github.com/cexll/codex-mcp-server)
- [npm registry metadata](https://registry.npmjs.org/%40cexll%2Fcodex-mcp-server)
- [maintainer_repository_documentation](https://github.com/cexll/codex-mcp-server)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/codex-cli) to view instructions for each supported client.