Expose managed WebMCP policy through the app server (#42823)

## What changed

- Parse the optional `[browser_use].allow_webmcp` boolean from managed requirements and preserve requirement-layer precedence.
- Return the policy as `browserUse.allowWebmcp` from `configRequirements/read`, including explicit `true`, explicit `false`, and `null` when omitted.
- Update the generated JSON and TypeScript protocol schemas.

## Testing

- Cover parsing, invalid values, layered overrides, and app-server response serialization.

GitOrigin-RevId: a3fd7d1a6f838bb3ab0ac2a644409101a2338ca6
This commit is contained in:
nmccormack-oai authored and copyberry committed 2026-09-04 18:30:26 +00:00
1 parent 387bc6ba59
commit 0f64d70808
17 files changed
+183 -3

No files matched your search

@@ -215,6 +215,12 @@
"null"
]
},
"allowWebmcp": {
"type": [
"boolean",
"null"
]
},
"defaultOriginPolicy": {
"anyOf": [
{