Skip to content

Conversation

@iamfiscus
Copy link

Add two new MCP ext-app examples showcasing charting capabilities:

  • d3-graph-server: Vanilla JS force-directed graph visualization with D3.js. Includes 3 sample graphs (dependencies, org-chart, knowledge) with zoom, pan, drag, and click-to-recenter features.

  • recharts-chart-server: React-based multi-chart dashboard with Recharts. Supports bar, line, area, and pie charts with 3 datasets (monthly-revenue, quarterly-sales, product-mix).

Motivation and Context

Wanted to bring more charting and graph implementations to the project to get people thinking about large datasets and bi-directional communication.

How Has This Been Tested?

Both examples include E2E tests with golden screenshots. Works on the npm run examples:dev.
This opens a simple test harness with:

  1. A Server dropdown - select "D3 Graph Server" or "Recharts Dashboard Server"
  2. A Tool dropdown - shows available tools
  3. A Call Tool button - click to load the app

Example inputs included in the README's.

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Thought it would be good to have vanilla and react examples.

Add two new MCP ext-app examples showcasing charting capabilities:

- d3-graph-server: Vanilla JS force-directed graph visualization with
  D3.js. Includes 3 sample graphs (dependencies, org-chart, knowledge)
  with zoom, pan, drag, and click-to-recenter features.

- recharts-chart-server: React-based multi-chart dashboard with
  Recharts. Supports bar, line, area, and pie charts with 3 datasets
  (monthly-revenue, quarterly-sales, product-mix).

Both examples include E2E tests with golden screenshots.
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 9, 2026

Open in StackBlitz

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/ext-apps@214

commit: 109403c

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.

1 participant