Skip to content

mcp-data-platform-v0.10.0

Choose a tag to compare

@github-actions github-actions released this 31 Jan 04:44
· 414 commits to main since this release
e409198

Overview

This release introduces MCP Apps support, enabling interactive UI components for tool results. The first implementation provides an interactive query results table for trino_query.

What's New

MCP Apps Infrastructure (pkg/mcpapps/)

A new package providing the foundation for MCP Apps:

  • Registry - Manages registered apps and tool-to-app mappings
  • Middleware - Injects _meta.ui metadata into tools/list responses
  • Resource Handler - Serves embedded HTML/CSS/JS assets as MCP resources
  • CSP Support - Declares Content Security Policy requirements for hosts

Query Results App (pkg/mcpapps/queryresults/)

Interactive data exploration for SQL query results:

Feature Description
Sortable columns Click header to sort ascending/descending
Filter/search Text input filters all columns
Quick charts Bar, Line, Pie, Doughnut with column selection
Type formatting Numbers with commas, nulls styled
Stats bar Query time, row count, query ID
Dark mode Respects system preference

Configuration

mcpapps:
  enabled: true
  apps:
    query_results:
      enabled: true
      tools:
        - trino_query

Dependencies

  • mcp-trino v0.2.1 → v0.3.0
    • Fixed duration_ms to report actual milliseconds (was nanoseconds)
    • Added query_id to response stats

Architecture

MCP Host (Claude)
    │
    ├─► tools/list ──► ToolMetadataMiddleware injects _meta.ui.resourceUri
    │
    ├─► resources/read ui://query-results ──► Returns HTML with CSP metadata
    │
    └─► tools/call trino_query ──► Returns JSON, host renders in MCP App iframe

Known Limitations

  • Export disabled - MCP Apps sandbox blocks downloads; clipboard also restricted
  • Chart.js from CDN - Requires network access to cdn.jsdelivr.net

Testing

# Unit tests
go test -race ./pkg/mcpapps/...

# Manual testing with basic-host
./mcp-data-platform --config configs/dev-mcpapps.yaml

Breaking Changes

None.

Migration Guide

No migration required. MCP Apps is disabled by default.

To enable, add to your configuration:

mcpapps:
  enabled: true
  apps:
    query_results:
      enabled: true

Contributors

  • MCP Apps infrastructure and Query Results app implementation

Changelog

Others

Installation

Homebrew (macOS)

brew install txn2/tap/mcp-data-platform

Claude Code CLI

claude mcp add mcp-data-platform -- mcp-data-platform

Docker

docker pull ghcr.io/txn2/mcp-data-platform:v0.10.0

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_0.10.0_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_0.10.0_linux_amd64.tar.gz