feat(mcp): propagate client UI capabilities

This commit is contained in:
Casey Chow
2026-06-08 20:56:52 +00:00
parent f3c1283411
commit 4ab5708c10
50 changed files with 1164 additions and 61 deletions
@@ -1124,6 +1124,17 @@
"description": "Opt into receiving experimental API methods and fields.",
"type": "boolean"
},
"mcpClientCapabilities": {
"anyOf": [
{
"$ref": "#/definitions/McpClientCapabilities"
},
{
"type": "null"
}
],
"description": "Passive MCP capabilities supported by this app-server client."
},
"optOutNotificationMethods": {
"description": "Exact notification method names that should be suppressed for this connection (for example `thread/started`).",
"items": {
@@ -1406,6 +1417,30 @@
},
"type": "object"
},
"McpAppUiCapability": {
"description": "Passive MCP App presentation features supported by the active host.",
"enum": [
"webView",
"declarativeUi"
],
"type": "string"
},
"McpClientCapabilities": {
"description": "Passive MCP capabilities supplied by the active Codex host.",
"properties": {
"appUi": {
"items": {
"$ref": "#/definitions/McpAppUiCapability"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"appUi"
],
"type": "object"
},
"McpResourceReadParams": {
"properties": {
"server": {