mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
Enable lazy startup for stdio MCP servers by default (#62366)
## What changed Mark `mcp_lazy_stdio_startup` stable and enable it by default. When a tool catalog is already cached, Codex can expose tools from an optional stdio MCP server and defer starting the server until the first tool call. Required servers still establish a live connection at startup. ## Testing Exercise lazy startup with the default configuration in the tool-cache test and explicitly disable the feature for the eager-start control. Update the code mode and working-directory tests to proceed without waiting for an optional server when its catalog is cached. GitOrigin-RevId: a65d83fd1a4c141dba3c10e68b138539aa0a44f0
This commit is contained in:
@@ -1806,8 +1806,8 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
FeatureSpec {
|
||||
id: Feature::McpLazyStdioStartup,
|
||||
key: "mcp_lazy_stdio_startup",
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
stage: Stage::Stable,
|
||||
default_enabled: true,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::MultiEnvironmentMcp,
|
||||
|
||||
Reference in New Issue
Block a user