Register the MCP 2026-07-28 feature flag (#34747)

## What changed

- Add the disabled-by-default, under-development `mcp_2026_07_28` feature.
- Include the feature in the configuration schema and app-server experimental
  feature enablement API.

GitOrigin-RevId: 869835ee72f063d79ca2ecd9f2655d2efc457292
This commit is contained in:
thomas authored and copyberry committed 2026-07-22 12:44:31 +00:00
1 parent 2ffe8cd579
commit 65ae4c26e0
3 files changed
+15

No files matched your search

@@ -50,6 +50,7 @@ use std::path::PathBuf;
const SUPPORTED_EXPERIMENTAL_FEATURE_ENABLEMENT: &[&str] = &[ const SUPPORTED_EXPERIMENTAL_FEATURE_ENABLEMENT: &[&str] = &[
"auth_elicitation", "auth_elicitation",
"mcp_2026_07_28",
"memories", "memories",
"mentions_v2", "mentions_v2",
"remote_control", "remote_control",
+6
View File
@@ -566,6 +566,9 @@
"local_thread_store_compression": { "local_thread_store_compression": {
"type": "boolean" "type": "boolean"
}, },
"mcp_2026_07_28": {
"type": "boolean"
},
"memories": { "memories": {
"type": "boolean" "type": "boolean"
}, },
@@ -5039,6 +5042,9 @@
"local_thread_store_compression": { "local_thread_store_compression": {
"type": "boolean" "type": "boolean"
}, },
"mcp_2026_07_28": {
"type": "boolean"
},
"memories": { "memories": {
"type": "boolean" "type": "boolean"
}, },
+8
View File
@@ -160,6 +160,8 @@ pub enum Feature {
Apps, Apps,
/// Enable MCP apps. /// Enable MCP apps.
EnableMcpApps, EnableMcpApps,
/// Enable MCP protocol version 2026-07-28 support.
Mcp20260728,
/// Removed compatibility flag for the legacy Apps MCP path override. /// Removed compatibility flag for the legacy Apps MCP path override.
AppsMcpPathOverride, AppsMcpPathOverride,
/// Removed compatibility flag retained as a no-op now that tool_search is always enabled. /// Removed compatibility flag retained as a no-op now that tool_search is always enabled.
@@ -1081,6 +1083,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::UnderDevelopment, stage: Stage::UnderDevelopment,
default_enabled: false, default_enabled: false,
}, },
FeatureSpec {
id: Feature::Mcp20260728,
key: "mcp_2026_07_28",
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec { FeatureSpec {
id: Feature::AppsMcpPathOverride, id: Feature::AppsMcpPathOverride,
key: "apps_mcp_path_override", key: "apps_mcp_path_override",