You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore McpUiAppCapabilities docs and fix display mode clause
- Restore McpUiAppCapabilities interface documentation with availableDisplayModes
- Restore "View MUST check if the requested mode is in availableDisplayModes
from host context" clause that was accidentally removed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
When the View sends an `ui/initialize` request to the Host, the Host SHOULD include UI-specific context in the `McpUiInitializeResult`'s `hostContext` field:
@@ -986,7 +1007,7 @@ Host behavior:
986
1007
987
1008
View behavior:
988
1009
* View MUST declare all display modes it supports in `appCapabilities.availableDisplayModes` during initialization.
989
-
* View SHOULD check `availableDisplayModes`in host context before requesting a mode change.
1010
+
* View MUST check if the requested mode is in `availableDisplayModes`from host context before requesting a mode change.
990
1011
* View MUST handle the response mode differing from the requested mode.
991
1012
992
1013
`ui/update-model-context` - Update the model context
0 commit comments