Back to Home
directive-reticule640 icon

codex-mcp-server

Verified Safe

by directive-reticule640

Overview

Integrates OpenAI's Codex CLI with Model Context Protocol (MCP) clients to enable AI-powered code analysis, generation, and brainstorming directly within development environments.

Installation

Run Command
npx -y @cexll/codex-mcp-server

Environment Variables

  • OPENAI_API_KEY

Security Notes

The server implements robust input validation using Zod and utilizes 'cross-spawn' for external command execution, which is generally safer than raw shell execution for arguments. It transparently exposes the underlying Codex CLI's sandbox modes ('read-only', 'workspace-write', 'danger-full-access') and approval policies, explicitly flagging the 'yolo' (bypass all safety) option as dangerous. No hardcoded secrets were found; API key management is delegated to the Codex CLI (via 'codex login' or 'OPENAI_API_KEY' environment variable). Overall safety heavily relies on the user's careful configuration and understanding of the Codex CLI's sandbox and approval settings, as the server delegates powerful operations to the AI agent.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassHigh
Stars1
Forks0
Last Update2026-01-19

Tags

mcpcodexai-codingllm-toolcode-automation