Codex App

•

Enables MCP clients like OpenCode to integrate with Codex as a collaborating agent via the official Codex SDK.

This tool acts as a local stdio MCP server, specifically designed to bridge the gap between various MCP clients and the Codex App Server. It restores a crucial workflow for development tools such as OpenCode and Claude Code, allowing them to leverage Codex as an intelligent collaborating agent after its direct MCP server mode was removed. By implementing a narrowly scoped bridge built upon the official Codex SDK, codex-app-mcp enables any MCP client to initiate and continue Codex threads using a simple thread ID, eliminating the need to embed or re-implement the complex Codex runtime directly within the client application.

主要功能

01Utilizes the official Codex SDK for robust and supported integration.
02Offers project-local or global configuration with granular workspace control via `allowed_roots`.
030 GitHub stars
04Exposes Codex App Server threads via a local stdio MCP server.
05Implements a fail-closed safety model with restricted access and no interactive approvals.
06Supports thread initiation and continuation by opaque thread ID for seamless collaboration.

使用案例

01Integrating Codex as an AI collaborating agent within OpenCode for code generation and analysis.
02Connecting Claude Code to Codex for AI-powered assistance in development workflows.
03Enabling any custom MCP client to interact with the Codex App Server for various coding tasks.