Skip to main content

MCP_CONFIG_RELPATH

Constant MCP_CONFIG_RELPATH 

Source
pub const MCP_CONFIG_RELPATH: &str = ".codex/config.toml";
Expand description

Codex reads a project’s MCP servers from .codex/config.toml, under [mcp_servers.<id>], only in a trusted project. Checked in Codex CLI 0.154.0 on 2026-09-16: a server declared there was listed by codex mcp list and its tools reached a live session.