Add mcp-apps module: Spring AI 2.1.0 MCP server with MCP Apps HTML views, app-only tool callbacks, CSP declarations, SDK client tests and a Chromium harness on the official AppBridge
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4RzcCS5JCAgcxLz7T
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# A product name carrying <img onerror=...>, rendered two ways
|
||||
|
||||
## textContent (the shipped view)
|
||||
CB-99 row text: Cable <img src="x" onerror="parent.postMessage({jsonrpc:'2.0
|
||||
clicks by the user: 0
|
||||
tools/call sent by the view: none
|
||||
KB-01 stock on the server afterwards: 4
|
||||
|
||||
## innerHTML (app.unsafe-render=true)
|
||||
CB-99 row text: Cable
|
||||
clicks by the user: 0
|
||||
tools/call sent by the view:
|
||||
view -> host: tools/call restock_item {"sku":"KB-01","quantity":99} (id 666)
|
||||
KB-01 stock on the server afterwards: 103
|
||||
|
||||
Reference in New Issue
Block a user