Skip to content

v0.2.0 - MCP Apps support

Choose a tag to compare

@adebayojuwon200-pixel adebayojuwon200-pixel released this 22 Aug 14:33
· 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.html as a text/html;profile=mcp-app resource
  • Declares the io.modelcontextprotocol/ui extension capability
  • Attaches _meta.ui.resourceUri to 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.