Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial Implementation: MCP-based Chart Visualization Workspace Manager
This PR introduces the foundational architecture for a chart visualization workspace manager built on the Model Context Protocol (MCP). The system is designed to allow AI agents to create, manage, and iterate on interactive chart visualizations inside isolated workspaces.
What’s included
1.
charts-mcp— Core MCP ServerA TypeScript-based MCP server responsible for workspace creation and orchestration.
Implemented MCP tools:
get_supported_charts_libs– returns supported charting libraries (amCharts 5, Chart.js)initialize_wk– creates a new timestamped workspaceget_wk_path– returns the active workspace pathrefresh– intended to trigger browser reloads via SSEWorkspace generation:
workspaces/index.htmlwith CDN imports and SSE clientchart.jswith starter chart code2. HTTP Server with Live Reload (Partial)
An Express-based server intended to provide live preview and auto-reload functionality.
Implemented:
chokidar/events) for reload notificationsCurrent status:
Next Steps (Follow-up PRs)
Status