Repository navigation
v0.2.0 - MCP Apps support
·
4 commits
to main
since this release
list_reports and get_report now render as an interactive report card in MCP hosts that support the UI extension. The hosted endpoint at https://eodly.io/api/mcp already did this; the npm package now matches it.
- Serves
ui://eodly/report.htmlas atext/html;profile=mcp-appresource - Declares the
io.modelcontextprotocol/uiextension capability - Attaches
_meta.ui.resourceUrito the report tools - Returns
structuredContent, which the view renders from
The view is self-contained: inline CSS and JS, no network access, empty CSP allowlist. Hosts without the UI extension get exactly the same JSON as before.
Upgrade note: the @modelcontextprotocol/sdk floor moves to ^1.18.0, the first version whose registerTool accepts _meta. On older SDKs the UI metadata would be silently dropped.