Add MCP app feature flag (#19884)

## Summary
- Add the `enable_mcp_apps` feature flag to the `codex-features`
registry
- Keep it under development and disabled by default

## Testing
- Unit tests for `codex-features` passed
- Formatting passed
This commit is contained in:
Matthew Zeng authored and GitHub committed 2026-04-27 16:28:49 -07:00
1 parent e64c765673
commit dcd139b7c4
2 files changed
+14

No files matched your search

+6
View File
@@ -400,6 +400,9 @@
"enable_fanout": { "enable_fanout": {
"type": "boolean" "type": "boolean"
}, },
"enable_mcp_apps": {
"type": "boolean"
},
"enable_request_compression": { "enable_request_compression": {
"type": "boolean" "type": "boolean"
}, },
@@ -2607,6 +2610,9 @@
"enable_fanout": { "enable_fanout": {
"type": "boolean" "type": "boolean"
}, },
"enable_mcp_apps": {
"type": "boolean"
},
"enable_request_compression": { "enable_request_compression": {
"type": "boolean" "type": "boolean"
}, },
+8
View File
@@ -146,6 +146,8 @@ pub enum Feature {
SpawnCsv, SpawnCsv,
/// Enable apps. /// Enable apps.
Apps, Apps,
/// Enable MCP apps.
EnableMcpApps,
/// Enable the tool_search tool for apps. /// Enable the tool_search tool for apps.
ToolSearch, ToolSearch,
/// Always defer MCP tools behind tool_search instead of exposing small sets directly. /// Always defer MCP tools behind tool_search instead of exposing small sets directly.
@@ -834,6 +836,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Stable, stage: Stage::Stable,
default_enabled: true, default_enabled: true,
}, },
FeatureSpec {
id: Feature::EnableMcpApps,
key: "enable_mcp_apps",
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec { FeatureSpec {
id: Feature::ToolSearch, id: Feature::ToolSearch,
key: "tool_search", key: "tool_search",