Codex Tool is an open-source Model Context Protocol (MCP) server designed to connect your integrated development environment (IDE) or AI assistant (like Claude or Cursor) to the powerful Codex CLI. It facilitates a wide range of tasks, from non-interactive automation with `codex exec` to secure, sandboxed code edits requiring approvals, and comprehensive code analysis using file references. Engineered for reliability and speed, this tool delivers real-time progress updates, supports a structured change mode for patch output, and seamlessly integrates with standard MCP clients to enhance code review, refactoring, documentation, and CI automation workflows.
主要功能
01Offers flexible model selection (e.g., gpt-5-codex, o3, o4-mini) and configurable sandbox modes (read-only, workspace-write).
02Provides structured change mode (OLD/NEW patch output) and streams progress updates.
03Enables non-interactive automation and safe, sandboxed code edits with approval policies.
04Supports large-scale code analysis and summarization using file references.
05Integrates AI assistants and IDEs with the Codex CLI for enhanced coding workflows.
069 GitHub stars
使用案例
01Perform AI-driven code analysis, review, and refactoring directly within your IDE or AI assistant.
02Brainstorm product ideas, optimize pipelines, or generate code snippets programmatically with various AI models.
03Automate code generation and modification securely using sandboxed execution with granular approval controls.