Frontal이 출시되었습니다.공지 보기

MCP server

Expose a local Codex engine to another MCP client over stdio.

Codex can run as an experimental MCP server. It exposes the local agent engine over standard MCP using JSON-RPC 2.0, line-delimited messages on stdin/stdout. This lets another MCP client start and control Codex threads and turns.

Start the server

Inspect it with the official MCP Inspector:

The server inherits the Codex CLI environment and configuration. Keep it attached to a trusted local client: it can operate on the working directory with the permissions available to Codex.

Protocol lifecycle

Initialize once per connection, acknowledge with initialized, then issue requests. New integrations should use the v2 thread and turn methods:

The server emits typed notifications such as thread/started and turn/completed, plus codex/event/* notifications for live agent events. Approval requests include applyPatchApproval and execCommandApproval.

Supporting methods

The interface also includes account and configuration methods (account/read, config/read, config/value/write, config/batchWrite), model discovery with model/list, and MCP management methods such as mcpServerStatus/list and mcpServer/tool/call.

Use the exact request and response shapes from the MCP server interface. This interface is experimental and may change without notice.

The Codex CLI is also an MCP client. Configure external servers with codex mcp add or the [mcp_servers] section in ~/.codex/config.toml; see MCP server configuration.

2026년 8월 31일 업데이트

© 2026 Frontal Labs, Inc. 또는 그 계열사.

저희는 기본적으로 쿠키 없이 사이트 트래픽을 측정합니다. 동의하시면 세션 간 방문을 기억해 분석 정확도를 높일 수 있습니다.