mcp-dashboards 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -30
- package/dist/mcp-app.html +117 -117
- package/dist/preview-server.d.ts +8 -0
- package/dist/preview-server.d.ts.map +1 -0
- package/dist/preview-server.js +115 -0
- package/dist/preview-server.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +66 -88
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
### Your AI can talk about data. Now it can show it.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/mcp-dashboards)
|
|
8
|
+
[](https://glama.ai/mcp/servers/@KyuRish/mcp-dashboards)
|
|
9
|
+
[](https://glama.ai/mcp/servers/@KyuRish/mcp-dashboards)
|
|
8
10
|
[](LICENSE)
|
|
9
11
|
[](https://buymeacoffee.com/kyuish)
|
|
10
12
|
[](https://github.com/sponsors/KyuRish)
|
|
@@ -13,8 +15,8 @@
|
|
|
13
15
|
<img src="assets/demo.gif" width="400" alt="MCP Dashboards demo" />
|
|
14
16
|
<br>
|
|
15
17
|
<a href="assets/dashboard-example.png"><img src="assets/dashboard-example.png" width="115" height="220" alt="Infrastructure Command Center dashboard" /></a>
|
|
16
|
-
<a href="assets/chart-catalog.png"><img src="assets/chart-catalog.png" width="115" height="220" alt="Chart Catalog -
|
|
17
|
-
<a href="assets/theme-catalog.png"><img src="assets/theme-catalog.png" width="115" height="220" alt="Theme Catalog -
|
|
18
|
+
<a href="assets/chart-catalog.png"><img src="assets/chart-catalog.png" width="115" height="220" alt="Chart Catalog - 31 chart tools" /></a>
|
|
19
|
+
<a href="assets/theme-catalog.png"><img src="assets/theme-catalog.png" width="115" height="220" alt="Theme Catalog - 21 themes" /></a>
|
|
18
20
|
<br><sub>Click any thumbnail to see full size</sub>
|
|
19
21
|
</p>
|
|
20
22
|
|
|
@@ -24,7 +26,7 @@ We use AI for everything - analysis, reports, strategy. But when it comes to act
|
|
|
24
26
|
|
|
25
27
|
## The solution
|
|
26
28
|
|
|
27
|
-
MCP Dashboards renders interactive charts, dashboards, and KPI widgets directly inside your AI conversation.
|
|
29
|
+
MCP Dashboards renders interactive charts, dashboards, and KPI widgets directly inside your AI conversation. 31 tools covering 44+ chart subtypes (bar has stacked/drilldown, hero has 11 variants, etc.), 21 themes, live polling, PNG/PPT/A4 export - all from a single MCP server. No browser tabs, no copy-paste, no context switching.
|
|
28
30
|
|
|
29
31
|
## Quick Start
|
|
30
32
|
|
|
@@ -77,33 +79,13 @@ No API to learn. Describe what you want in plain English:
|
|
|
77
79
|
|
|
78
80
|
The AI picks the right tool, formats your data, and renders the chart inline. Click any data point to ask follow-up questions.
|
|
79
81
|
|
|
80
|
-
##
|
|
82
|
+
## Interactive charts, not images
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
Every chart is **interactive HTML** rendered directly in your conversation:
|
|
83
85
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- **
|
|
87
|
-
- **Click to select** any bar, slice, or point - selections feed back to the AI for follow-up questions
|
|
88
|
-
- **Drill-down** into bar charts with breadcrumb navigation
|
|
89
|
-
- **Zoom & pan** on geo maps, treemaps, and heatmaps - scroll-wheel zoom up to 12x with hi-res re-rendering
|
|
90
|
-
- **Live polling** - real-time charts that auto-update from any API (stock prices, server metrics, crypto)
|
|
91
|
-
- **KPI sparklines** - inline trend mini-charts in dashboard metric cards
|
|
92
|
-
|
|
93
|
-
### Meeting in 5 minutes? Export and go
|
|
94
|
-
|
|
95
|
-
- **PPT slides** - one-click download as a 16:9 title slide or background-ready image
|
|
96
|
-
- **A4 documents** - paginated multi-page export with intelligent page breaks that never cut through a chart
|
|
97
|
-
- **PNG** - per-chart screenshots with title and theme baked in
|
|
98
|
-
- **CSV** - raw data export from any table
|
|
99
|
-
|
|
100
|
-
Ask the AI to build your dashboard. Hit the export dropdown - grab a 16:9 title slide, a background image, or a paginated A4 document. One click, presentation-ready.
|
|
101
|
-
|
|
102
|
-
### 20 themes, 900+ combinations
|
|
103
|
-
|
|
104
|
-
Boardroom gold, neon cyberpunk, forest earth, clinical white. Mix palettes, typography (8 options), and effects (shimmer, neon, glow, glass, lift). Animated gradient titles export correctly to PNG.
|
|
105
|
-
|
|
106
|
-
**45+ chart types across 20 themes = 900+ visual combinations.** Every one of them interactive.
|
|
86
|
+
- **Explore in-chat** - hover tooltips, click-to-select (feeds back to the AI), drill-down with breadcrumbs, scroll-zoom up to 12x on maps and heatmaps
|
|
87
|
+
- **Live polling** - real-time charts that auto-update from any API on a timer
|
|
88
|
+
- **Export anywhere** - PPT (16:9 slides), A4 (paginated with smart page breaks), PNG, CSV
|
|
107
89
|
|
|
108
90
|
<details>
|
|
109
91
|
<summary><strong>All 31 Tools</strong></summary>
|
|
@@ -170,7 +152,7 @@ Boardroom gold, neon cyberpunk, forest earth, clinical white. Mix palettes, typo
|
|
|
170
152
|
|
|
171
153
|
## Themes
|
|
172
154
|
|
|
173
|
-
|
|
155
|
+
21 built-in themes. Pass `theme` to any tool.
|
|
174
156
|
|
|
175
157
|
| Family | Themes |
|
|
176
158
|
|--------|--------|
|
|
@@ -178,6 +160,7 @@ Boardroom gold, neon cyberpunk, forest earth, clinical white. Mix palettes, typo
|
|
|
178
160
|
| **Black/AI** | `black-tron` (cyan neon), `black-elegance` (warm gold), `black-matrix` (green hacker) |
|
|
179
161
|
| **Forest** | `forest-amber` (autumn), `forest-earth` (terracotta) |
|
|
180
162
|
| **Sky** | `sky-light` (airy blue), `sky-ocean` (deep navy), `sky-twilight` (sunset) |
|
|
163
|
+
| **Office** | `office-red` (corporate red, white bg - report-ready) |
|
|
181
164
|
| **Gray/ML** | `gray-hf` (warm yellow accent), `gray-copilot` (teal on dark) |
|
|
182
165
|
|
|
183
166
|
Mix-and-match with `palette`, `typography` (8 options: system, mono, professional, editorial, bold, techno, cyberpunk, luxury), and `effects` (5 presets: none, subtle, shimmer, neon, energetic).
|
|
@@ -219,7 +202,17 @@ For public APIs, use the URL directly:
|
|
|
219
202
|
|
|
220
203
|
Built on [MCP Apps](https://modelcontextprotocol.io/docs/extensions/apps). You ask the AI to visualize data, it calls the right tool, and the chart renders inline in your conversation. Self-contained - zero CDN, zero external requests.
|
|
221
204
|
|
|
222
|
-
**
|
|
205
|
+
**MCP Apps supported** (inline rendering): Claude Desktop, VS Code Insiders + MCP Apps extension, Goose, Postman.
|
|
206
|
+
|
|
207
|
+
**No MCP Apps support?** No problem. When the server detects your client can't render inline, every chart response includes:
|
|
208
|
+
- A clickable `http://localhost:XXXX/chart/{id}` link - opens the full interactive dashboard in your default browser
|
|
209
|
+
- A standalone HTML file (`file:///...chart-{id}.html`) - self-contained, works offline, can be emailed or archived
|
|
210
|
+
|
|
211
|
+
Works in Claude Code, Cursor, older VS Code, and any other MCP client. Tool annotations (`readOnlyHint`, `idempotentHint`, `openWorldHint`) help clients reason about tool behavior.
|
|
212
|
+
|
|
213
|
+
**Opt-out**: set env var `MCP_DASHBOARDS_DISABLE_PREVIEW=1` to skip the preview links entirely.
|
|
214
|
+
|
|
215
|
+
**Requirements:** Node.js 18+.
|
|
223
216
|
|
|
224
217
|
<details>
|
|
225
218
|
<summary><strong>Contributing</strong></summary>
|
|
@@ -242,6 +235,10 @@ If MCP Dashboards is useful to you:
|
|
|
242
235
|
[](https://buymeacoffee.com/kyuish)
|
|
243
236
|
[](https://github.com/sponsors/KyuRish)
|
|
244
237
|
|
|
238
|
+
## Privacy
|
|
239
|
+
|
|
240
|
+
All processing happens locally. No data is collected, transmitted, or stored. External network calls are `render_from_url` and `poll_http` - both require you to explicitly provide the URL. Credentials in env var presets never leave your machine. The browser preview server binds only to `127.0.0.1` (localhost) and is not reachable from other devices.
|
|
241
|
+
|
|
245
242
|
## License
|
|
246
243
|
|
|
247
244
|
[FSL-1.1-MIT](LICENSE) - Free to use for any purpose except building a competing commercial product. Each version converts to MIT two years after release. For commercial licensing, contact [contact@kyuish.com](mailto:contact@kyuish.com).
|