codex-mcp-rs
Verified Safeby missdeer
Overview
Acts as an MCP server wrapping the Codex CLI for high-performance AI-assisted coding tasks.
Installation
codex-mcp-rsEnvironment Variables
- CODEX_BIN
- CODEX_ALLOW_DANGEROUS
- CODEX_ALLOW_YOLO
- CODEX_ALLOW_SKIP_GIT_CHECK
Security Notes
The server implements robust security measures for an AI agent wrapper. It defaults to safe sandbox policies (read-only) and requires explicit environment variable flags (CODEX_ALLOW_DANGEROUS, CODEX_ALLOW_YOLO, CODEX_ALLOW_SKIP_GIT_CHECK) to enable potentially dangerous modes. It enforces timeouts (MAX_TIMEOUT_SECS) to prevent unbounded execution and performs thorough path validation (working directory, image files) to mitigate file system manipulation risks. Output streaming includes size limits (MAX_AGENT_MESSAGES_SIZE, MAX_ALL_MESSAGES_SIZE, MAX_STDERR_SIZE, MAX_LINE_LENGTH) to prevent Out-Of-Memory attacks from large responses. The npm installation process downloads pre-built binaries from GitHub releases, which is a common and generally trusted distribution method. No 'eval' or obvious hardcoded secrets found. The primary remaining risk would be vulnerabilities within the underlying third-party Codex CLI itself, which this server wraps.
Similar Servers
rust-docs-mcp-server
Provides up-to-date Rust crate documentation via semantic search and LLM summarization to AI coding assistants.
rust-docs-mcp
Provides AI agents with deep, cached access to Rust crate documentation, source code, and project structure for enhanced development.
codex-mcp-server
Provides a Model Context Protocol (MCP) server to integrate OpenAI Codex CLI with AI clients like Claude, offering session management, model selection, and native resume capabilities for coding assistance.
octomind
Octomind is a session-first AI development assistant with built-in Model Context Protocol (MCP) tools and multi-provider AI support, enabling interactive AI conversations, code analysis, file system management, and web research.