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
+16
View File
@@ -0,0 +1,16 @@
# The official ext-apps basic-host against the Spring AI server
tools offered in basic-host's tool list: ["show_inventory","show_inventory_sdk"]
show_inventory, after clicking +10 on KB-01: Restocked KB-01 by 10, now 14 in stock.
probes in a view that declares no CSP domains:
eval(): ALLOWED
fetch from the sandbox origin ('self'): ALLOWED
fetch undeclared origin: TypeError
basic-host Model Context panel shows: The user restocked KB-01 by 10 from the stock board.
show_inventory_sdk renders: KB-01 Mechanical keyboard: 14 | MN-27 27 inch monitor: 25 | HB-04 USB4 hub: 0
initialize sent by basic-host: {"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"MCP Apps Host","version":"1.0.0"}}
methods basic-host sent while loading and running the first tool: initialize, notifications/initialized, tools/list, resources/list, tools/call, resources/read