mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Subagents can reuse cached MCP tool definitions without opening another server connection immediately, but marking a server as required previously forced eager startup even when its cached tools were available. ## What changed - Allow required MCP servers with usable cached tools to remain dormant under the lazy startup policy. - Treat those cached tools as satisfying required-server validation and tool catalog capture until the server is needed. - Preserve eager startup for required servers without cached tools and start a dormant server when one of its tools is called. ## Testing Extend the cached HTTP MCP subagent test to cover both optional and required servers, verifying that the required server stays dormant until its cached tool is called. GitOrigin-RevId: 48ea20b9ae447eef27461caee2320ea78465bb6a