Lightweight coding agent that runs in your terminal
Rust
Add MCP app feature flag (#19884)
Matthew Zengdcd139b7c401
diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.jsonindex 81d39eeef8..788ff5f955 100644--- a/codex-rs/core/config.schema.json+++ b/codex-rs/core/config.schema.json@@ -400,6 +400,9 @@"enable_fanout": {"type": "boolean"},+ "enable_mcp_apps": {+ "type": "boolean"+ },"enable_request_compression": {"type": "boolean"},@@ -2607,6 +2610,9 @@"enable_fanout": {"type": "boolean"},+ "enable_mcp_apps": {+ "type": "boolean"+ },"enable_request_compression": {"type": "boolean"},diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rsindex 4a4b12be35..0550201dbc 100644--- a/codex-rs/features/src/lib.rs+++ b/codex-rs/features/src/lib.rs@@ -146,6 +146,8 @@ pub enum Feature {SpawnCsv,/// Enable apps.Apps,+ /// Enable MCP apps.+ EnableMcpApps,/// Enable the tool_search tool for apps.ToolSearch,/// Always defer MCP tools behind tool_search instead of exposing small sets directly.@@ -834,6 +836,12 @@ pub const FEATURES: &[FeatureSpec] = &[stage: Stage::Stable,default_enabled: true,},+ FeatureSpec {+ id: Feature::EnableMcpApps,+ key: "enable_mcp_apps",+ stage: Stage::UnderDevelopment,+ default_enabled: false,+ },FeatureSpec {id: Feature::ToolSearch,key: "tool_search",