Visuals MCP

io.github.harrybinPublished by GitHub account harrybinv1.6.0Updated Oct 24, 2026

MCP server for interactive visualizations: tables, images, trees, lists, master-detail

VerifiedSTDIODesktop onlyData & AnalyticsMedia & Design

Overview

AI-generated overview

Local MCP server that renders interactive visualizations in the MCP client: tables, charts, images, trees, lists and master-detail views.

What you can do
  • Render interactive data tables with sorting, filtering, pagination, column visibility, row selection and CSV/PDF export
  • Draw line, bar, area, pie, scatter and composed charts, several per view, with legends, tooltips and dual axes
  • Show image cards with title, caption, dimensions and file size from URLs, data URIs or local paths
  • Browse collections in master-detail layouts and nested data in expandable tree views
  • Display formatted lists with drag-and-drop reordering, checkboxes, thumbnails and copy/export options
  • Report table, chart, tree and selection state back to the model
When to use it
Useful when an assistant's answers are easier to read as a table, chart, image gallery, tree or sortable list than as plain text, and the client supports MCP Apps style UI rendering. Aimed at VS Code with GitHub Copilot Chat, with other MCP clients supported through the npm package.
Requirements
Runs as a local stdio process; install the npm package @harrybin/visuals-mcp globally or add it from npm in the client, or use the VS Code extension. Node.js is needed for the npm route. No authentication, environment variables or headers are declared.
Before you install
Visualizations render inside the MCP client, so the client must support the UI views. Image previews accept local file paths, which are converted to data URIs and shown in the view. Table, chart and tree state is sent back to the model. The GitHub Packages install route asks for a GitHub token in npm configuration.

Installation

In SourceWeft

  1. Open Visuals MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

MCP Visuals Server

An MCP (Model Context Protocol) server that provides interactive visualizations for AI agents. Display data in rich, interactive formats including tables with TanStack Table, charts with Recharts, image previews with metadata, master-detail views for browsing collections, tree views for hierarchical data, and customizable lists with drag-and-drop reordering.

Quick Install

[Install with VS Code] °°° [Install with VS Code Insiders]

Features

Table Visualization

  • Interactive Table Display: Full-featured data table with TanStack Table v8
  • Sorting: Click column headers to sort ascending/descending
  • Filtering: Per-column text filters with apply button
  • Pagination: Customizable page sizes (5, 10, 20, 50, 100 rows)
  • Column Visibility: Toggle which columns are displayed
  • Row Selection: Select individual rows or all rows
  • Export: Copy as CSV/TSV or export to PDF
  • Agent Integration: Table state (selections, filters, sorting) automatically sent back to the LLM via updateModelContext
  • Theme Integration: Respects VS Code theme colors and fonts
  • Responsive: Works on different screen sizes
  • Generic Data Support: Accepts any column structure and data types

Chart Visualization

  • Interactive Charts: Render line, bar, area, pie, scatter, and composed charts
  • Multiple Charts Per View: Show several charts together in vertical, horizontal, or grid layouts
  • Flexible Series Configuration: Configure named series, custom colors, stacked bars/areas, and mixed composed charts
  • Rich Chart Features: Optional legends, tooltips, grid lines, and dual Y-axes
  • Export Options: Copy chart payloads as JSON or CSV directly from the UI
  • Agent Awareness: Active chart selection and hover state can be reported back to the host app
  • Theme Integration: Respects VS Code theme colors and fonts
  • Responsive: Adapts to narrow panels and wider layouts

Image Preview

  • Rich Image Cards: Display images with title, caption, and metadata
  • Metadata Display: Show filename, dimensions, and file size
  • Flexible Sources: Support URLs and data URIs
  • Local File Support: Automatically converts local file paths to data URIs
  • Theme Integration: Respects VS Code theme colors and fonts

Master-Detail View

  • Flexible Layout: Display a list of items with detailed content panel
  • Multiple Content Types: Detail panel supports tables, images, or custom text/HTML
  • Reusable Components: Leverages existing table and image visualizations
  • Configurable Layout: Choose horizontal (side-by-side) or vertical (stacked) orientation
  • State Management: Selection state automatically sent back to LLM
  • Rich Master List: Display items with icons, labels, and descriptions
  • Theme Integration: Consistent theming across all components

Tree View

  • Hierarchical Data Display: Interactive tree structure for nested data
  • Expand/Collapse: Click to expand or collapse nodes
  • Node Selection: Select individual nodes to highlight them
  • Metadata Support: Display optional metadata for each node
  • Icons: Add custom icons/emojis to nodes
  • Bulk Operations: Expand all or collapse all nodes at once
  • Export Options: Copy tree to clipboard, export as HTML, or save as image (PNG)
  • Agent Integration: Tree state (expanded nodes, selection) sent back to the LLM
  • Theme Integration: Respects VS Code theme colors and fonts
  • Use Cases: File systems, org charts, nested categories, JSON/XML structures

List Visualization

  • Interactive Lists: Display any type of list with rich formatting
  • Drag-and-Drop Reordering: Easily reorder items by dragging
  • Checkboxes: Optional checkboxes for task lists and selections
  • Image Thumbnails: Show images alongside list items
  • Compact Mode: Toggle between comfortable and compact layouts
  • Export Options: Copy as plain text, CSV, or JSON
  • Individual Item Copy: Quick copy button for each item
  • Subtext Support: Secondary text/description for each item
  • Metadata: Attach custom metadata to items
  • Theme Integration: Respects VS Code theme colors and fonts

Screenshots

[Table Example]

Interactive table with sorting, filtering, pagination, and row selection

[Chart Example]

Interactive chart dashboard with multiple chart types and grid layout

[Master-Detail Example]

Master-detail view for browsing collections with tables, images, or custom content

[List Example]

Interactive list with drag-and-drop reordering, checkboxes, and image thumbnails

[Tree Example]

Interactive tree view with expand/collapse, node selection, and export options

Installation

VSCode Extension (Easiest)

Install directly from the VS Code Marketplace:

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Visuals MCP"
  4. Click Install

The extension will automatically register the MCP server with VS Code and GitHub Copilot Chat.

npmjs (Recommended for other MCP Clients)

In VSCode github Copilot Chat

  • click on the tools icon (Configure tools...)
  • click on "Add MCP Server"
  • click on "Install from npm"
  • enter @harrybin/visuals-mcp
  • press enter / click "Install"

Using command line:

bash
npm install -g @harrybin/visuals-mcpvisuals-mcp

GitHub Packages

  1. Authenticate npm with GitHub Packages:
bash
npm config set @harrybin:registry https://npm.pkg.github.comnpm config set //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
  1. Install and run:
bash
npm install -g @harrybin/visuals-mcpvisuals-mcp

Local Development

bash
# Install dependenciesnpm install
# Build all UI bundles and the servernpm run build
# Optional: rebuild only the chart UI bundlenpm run build:charts
# Run the servernpm run serve

Chart Tool

Use display_chart to render one or more interactive charts in the MCP client.

Supported chart types:

  • line
  • bar
  • area
  • pie
  • scatter
  • composed

Repository Metrics Dashboard Example

Generate fresh metrics first:

bash
npm run metrics:repo:write

This writes a snapshot to doc/repo-metrics.json.

Then render a dashboard that uses all chart types (line, bar, area, pie, scatter, composed):

For release-quality docs, always regenerate doc/repo-metrics.json right before updating README examples.

1. Configure MCP Server

For VS Code: This workspace includes MCP configuration in .vscode/settings.json.

To add globally, update your VS Code settings:

json
{  "github.copilot.chat.mcpServers": {    "visuals-mcp": {			"type": "stdio",			"command": "node",			"args": [				"dist/server.js"			]		}  }}

For Claude Desktop: See claude_desktop_config.json for example configuration.

License

MIT

Contributing

Contributions welcome! Please open an issue or PR.

Resources

Source: README.md at commit db17eed

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.6.0LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.