mcp: update apps spec to align with stable spec #290483
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Align VS Code's MCP Apps implementation with the latest specification
from modelcontextprotocol/ext-apps:
Add availableDisplayModes to McpUiAppCapabilities interface
(commit 89f58bf) to allow Views to declare supported display modes
during initialization. VS Code supports only 'inline' mode currently.
Fix ui/request-display-mode handler to return { mode: 'inline' }
per spec requirement, instead of empty response.
Update JSDoc comments to use 'View' terminology consistently
instead of 'Guest UI' (following commit 4fc7165).
Verify CSP handling for script-src/style-src with resourceDomains
is correct (commit df49e88). Already implemented correctly in
chatMcpAppModel._injectPreamble().
Note: styles.css.fonts, ui.domain, and other changes either don't
require action or are already implemented.
(Commit message generated by Copilot)