Skip to content

Add WebMCP support to hyparquet demo#57

Draft
sigvelo[bot] wants to merge 3 commits intomasterfrom
sigvelo/nanites/webmcp-maintainer
Draft

Add WebMCP support to hyparquet demo#57
sigvelo[bot] wants to merge 3 commits intomasterfrom
sigvelo/nanites/webmcp-maintainer

Conversation

@sigvelo
Copy link
Copy Markdown

@sigvelo sigvelo Bot commented Apr 9, 2026

Add WebMCP support to hyparquet demo

Minimal WebMCP integration for the hyparquet parquet viewer demo. Adds 3 tools (get_current_file, load_url, list_examples) using CDN script tag approach.

Repository: hyparam/demos
Nanite: webmcp-maintainer
Run: manual:27646492-52e1-432c-8d70-f8421affeac7
Live run: Open Nanite log

Changed files

  • .nanites/run.json

Current note

WebMCP Implementation Progress

Status: ✅ Implementation Complete

Target: hyparquet demo (public-facing parquet file viewer)

Changes Made:

  1. index.html - Added WebMCP CDN script (@mcp-b/global via unpkg)
  2. webmcp.ts (new) - Tool registration module
  3. main.tsx - Initialize WebMCP on app boot
  4. App.tsx - Wire up state management for tool access

Exposed Tools (3 total):

  • hyparquet_get_current_file - Get info about loaded parquet file
  • hyparquet_load_url - Load parquet from URL
  • hyparquet_list_examples - List available example files

Approach: Minimal read-only + load tools focused on the landing page interaction (loading parquet files). Uses CDN script tag as recommended for demo apps.

Next: Publishing to support PR for verification.

@sigvelo
Copy link
Copy Markdown
Author

sigvelo Bot commented Apr 9, 2026

Sigvelo status

Live run: Open Nanite log
State: completed
Run: manual:27646492-52e1-432c-8d70-f8421affeac7
Phase: completed
Updated: 2026-04-09T20:20:07.206Z
Summary: Minimal WebMCP integration added to hyparquet parquet viewer. Uses CDN script tag with 3 tools: get_current_file, load_url, list_examples. Checks passed but no preview available for browser verification.
Checks: 0 pending / 0 failing / complete
Deployments: 0 pending / ready to resume
Artifact: Minimal WebMCP integration added to hyparquet parquet viewer. Uses CDN script tag with 3 tools: get_current_file, load_url, list_examples. Checks passed but no preview available for browser verification.

Latest note

WebMCP Implementation Progress

Status: ✅ Implementation Complete

Target: hyparquet demo (public-facing parquet file viewer)

Changes Made:

  1. index.html - Added WebMCP CDN script (@mcp-b/global via unpkg)
  2. webmcp.ts (new) - Tool registration module
  3. main.tsx - Initialize WebMCP on app boot
  4. App.tsx - Wire up state management for tool access

Exposed Tools (3 total):

  • hyparquet_get_current_file - Get info about loaded parquet file
  • hyparquet_load_url - Load parquet from URL
  • hyparquet_list_examples - List available example files

Approach: Minimal read-only + load tools focused on the landing page interaction (loading parquet files). Uses CDN script tag as recommended for demo apps.

Next: Publishing to support PR for verification.

WebMCP Maintainer and others added 2 commits April 9, 2026 20:19
- Add @mcp-b/global CDN script to index.html
- Create webmcp.ts with tool registration
- Add initWebMCP() call in main.tsx
- Wire up state management in App.tsx

Exposed tools:
- hyparquet_get_current_file: Get loaded parquet info
- hyparquet_load_url: Load parquet from URL
- hyparquet_list_examples: List available example files
…arquet parquet viewer demo. Adds 3 tools (get_current_file, load_url, list_examples) using CDN script tag approach.
@sigvelo sigvelo Bot changed the title Sigvelo: WebMCP maintainer Add WebMCP support to hyparquet demo Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants