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
2026-04-27 16:28:49 -07:00
committed by GitHub
Unverified
parent e64c765673
commit dcd139b7c4
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -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"
},
+8
View File
@@ -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",