mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why A launcher that already hosts an MCP server needs a way for Codex to use it without starting a separate subprocess for the plugin. ## What changed The stdio app server accepts socket bindings from its immediate parent on Unix. A binding applies to a local plugin's stdio MCP server only when the plugin ID, server name, and binding ID match a single entry. Codex uses the stdio wire protocol over the socket and retains the original declaration for policy checks. Before sending MCP traffic, Codex requires a user-owned socket directory with mode `0700` and verifies the listener's PID and UID. ## Testing Add tests for binding scope and ambiguous matches, and for rejecting unexpected listener PIDs, insecure directory permissions, symlinked socket directories, and relative socket paths. GitOrigin-RevId: 3d669dd59a0812b04727e4a1e458774007f054ba