mcp-data-platform-v0.10.0
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.uimetadata intotools/listresponses - 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_queryDependencies
- mcp-trino v0.2.1 → v0.3.0
- Fixed
duration_msto report actual milliseconds (was nanoseconds) - Added
query_idto response stats
- Fixed
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.yamlBreaking 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: trueContributors
- MCP Apps infrastructure and Query Results app implementation
Changelog
Others
Installation
Homebrew (macOS)
brew install txn2/tap/mcp-data-platformClaude Code CLI
claude mcp add mcp-data-platform -- mcp-data-platformDocker
docker pull ghcr.io/txn2/mcp-data-platform:v0.10.0Verification
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