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:
Claude
2026-12-05 16:43:24 +05:30
parent 8fa3c5d682
commit 508fed3b98
46 changed files with 1730 additions and 0 deletions
+15
View File
@@ -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