Skip to content

mcp-data-platform-v1.41.0

Choose a tag to compare

@github-actions github-actions released this 12 Mar 21:25
· 254 commits to main since this release
c8e749f

Highlights

This release introduces automatic thumbnail generation for all asset types and adds CSV (text/csv) as a new asset content type with an interactive table viewer.

Asset Thumbnails

Assets now display visual thumbnail previews in the asset grid instead of plain icons. Thumbnails are generated client-side when an asset is first viewed and uploaded to S3 for subsequent display.

  • Client-side capture pipeline: HTML and JSX assets are rendered in a sandboxed iframe and captured with html2canvas; Markdown, SVG, and CSV assets are rendered directly in the DOM and captured at 400x300px
  • Background queue: ThumbnailQueue processes assets without thumbnails in the background, one at a time, without blocking the UI
  • Regeneration on save: Editing and saving asset content automatically regenerates the thumbnail
  • Server-side storage: New PUT /assets/:id/thumbnail endpoint stores PNG thumbnails in S3; thumbnail_s3_key column added to the portal assets table (migration 000020)
  • Admin support: Admin asset detail view also displays and regenerates thumbnails

CSV Asset Support

A new text/csv content type joins HTML, JSX, SVG, and Markdown:

  • Interactive table preview: Parsed with Papa Parse with dynamic typing, sortable columns (numeric-aware), and a global search filter across all columns
  • Performance: Display capped at 500 rows with a "Showing X of Y" footer
  • Thumbnails: First 10 rows rendered as a styled HTML table and captured via the DomCapture path
  • Source editing: Raw CSV text is editable in the Source tab (plain text mode)
  • Public viewer: CSV renders the same interactive table in the public share viewer
  • UI polish: Table2 icon from lucide-react, emerald badge color, and a CSV option in the content type filter dropdown

Changelog

Features

  • feat: asset thumbnail system with client-side capture and S3 storage (#232)
  • feat: add CSV asset support with interactive table preview and thumbnails (#238)

Bug Fixes

  • fix: correct postMessage origin check for thumbnail capture iframe (#233)
  • fix: thumbnail capture quality — JSX rendering, viewport scaling, Markdown, and save regeneration (#234)
  • fix: markdown thumbnail blank capture — replace visibility:hidden with off-screen positioning (#235)
  • fix: markdown thumbnail capture race condition — use MutationObserver instead of setTimeout (#236)
  • fix: replace html-to-image with html2canvas for markdown/SVG thumbnail capture (#237)

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:v1.41.0

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_1.41.0_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_1.41.0_linux_amd64.tar.gz