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,37 @@
|
||||
# Raw Streamable HTTP against the Spring AI 2.1.0 server
|
||||
|
||||
## initialize: server capabilities
|
||||
{"completions":{},"logging":{},"prompts":{"listChanged":true},"resources":{"subscribe":false,"listChanged":true},"tools":{"listChanged":true}}
|
||||
|
||||
## tools/list: name and _meta of each tool
|
||||
restock_item _meta={"ui":{"visibility":["app"],"resourceUri":"ui://inventory/board.html"}}
|
||||
show_inventory _meta={"ui":{"visibility":["model","app"],"resourceUri":"ui://inventory/board.html"}}
|
||||
show_inventory_sdk _meta={"ui":{"visibility":["model","app"],"resourceUri":"ui://inventory/board-sdk.html"}}
|
||||
|
||||
## resources/list
|
||||
ui://inventory/board-sdk.html mimeType=text/html;profile=mcp-app _meta={"ui":{"prefersBorder":true,"csp":{"resourceDomains":["https://unpkg.com"]}}}
|
||||
ui://inventory/board.html mimeType=text/html;profile=mcp-app _meta={"ui":{"prefersBorder":true}}
|
||||
ui://probe/explicit.html mimeType=text/html;profile=mcp-app _meta={"ui":{"prefersBorder":true}}
|
||||
|
||||
## resources/templates/list (the {theme} probe lands here)
|
||||
ui://probe/{theme}.html
|
||||
|
||||
## resources/read ui://inventory/board.html
|
||||
mimeType=text/html;profile=mcp-app
|
||||
_meta={"ui":{"prefersBorder":true}}
|
||||
text starts: <!DOCTYPE html>
|
||||
|
||||
## resources/read ui://inventory/board-sdk.html
|
||||
mimeType=text/html;profile=mcp-app
|
||||
_meta={"ui":{"prefersBorder":true,"csp":{"resourceDomains":["https://unpkg.com"]}}}
|
||||
text starts: <!DOCTYPE html>
|
||||
|
||||
## resources/read ui://probe/dark.html
|
||||
mimeType=text/html;profile=mcp-app
|
||||
_meta=(absent)
|
||||
text starts: <!DOCTYPE html><title>dark</title>
|
||||
|
||||
## resources/read ui://probe/explicit.html
|
||||
mimeType=text/html;profile=mcp-app
|
||||
_meta=(absent)
|
||||
text starts: <!DOCTYPE html><title>explicit</title>
|
||||
Reference in New Issue
Block a user