Dashboard Kit MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dashboard Kit MCPbuild a sales dashboard with a revenue DataTable and total revenue KPI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Dashboard Kit MCP
Cut your AI agent's token bill by ~94% on repetitive UI generation while guaranteeing brand consistency and schema validation.
Agents are great at logic, but terrible at writing HTML/CSS from scratch. Every time you ask an agent to "build a dashboard", it burns thousands of tokens writing boilerplate <table> markup, guessing hex codes, and inventing CSS layouts.
dashboard-kit is a Model Context Protocol (MCP) server that gives agents a declarative UI language. Instead of generating code, the agent outputs a tiny JSON spec. The kit validates it against Zod schemas and renders pixel-perfect, brand-compliant HTML.
The Numbers
We benchmarked Claude Sonnet 5.5 (High effort) generating a simple sales dashboard.
Task | Raw HTML (Baseline) | JSON Spec (With Kit) | Reduction |
Build a data table | 2,533 tokens | 134 tokens | 94.7% |
Build a KPI card | 1,028 tokens | 76 tokens | 92.6% |
Side-by-side layout | 3,189 tokens | 197 tokens | 93.8% |
Brand-constrained | 2,986 tokens | 177 tokens | 94.1% |
Complex multi-element | 4,131 tokens | 244 tokens | 94.1% |
Average token reduction: 93.9%
Read the full Benchmark Results.
Related MCP server: PageMap
How it works
The agent calls
list_componentsto see what's available.The agent outputs a JSON spec (e.g.,
{ component: "DataTable", props: { dataRef: "query_1" } }).The MCP server validates the spec against a strict Zod schema.
The server renders the HTML, injecting brand tokens (colors, fonts, spacing) automatically.
The agent never writes CSS. It never hallucinates a hex code. It never inlines data.
Quick Start (Claude Desktop)
Clone this repo and run
pnpm install.Add the MCP server to your
claude_desktop_config.json: (See setup instructions in the docs)Ask Claude: "Use dashboard-kit to build a dashboard with a DataTable for dataRef
query.revenue_by_regionand a MetricCard for Total Revenue."
Windows Installation (Important)
Because Claude Desktop on Windows struggles to launch .cmd files in directories with spaces, you must use the node command directly to launch the server.
Add this to your %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"dashboard-kit": {
"command": "node",
"args": [
"C:\\Path\\To\\Your\\Repo\\node_modules\\tsx\\dist\\cli.mjs",
"C:\\Path\\To\\Your\\Repo\\packages\\mcp-server\\src\\index.ts"
]
}
}
}(Make sure to replace C:\Path\To\Your\Repo with your actual absolute path).
Features
Two Components:
DataTable(sortable, paginated) andMetricCard(with trends).Brand Enforcement: Injects brand tokens via CSS variables at render time. Zero hard-coded hex codes.
Zod Validation: Rejects malformed specs before they hit the UI.
Token Budgets: Each component declares its max allowed token cost, so agents know when to stop generating.
Built by M4TIC
We build intelligent systems, AI agents, and workflow automations. If you need to connect your company's design system to the agent stack, get in touch.
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
Give your AI agents a design superpower. Generate, edit, and publish publication-grade decks, reports, landing pages, resumes, and marketing visuals directly within your agent workflow. Delivering frontier-level design quality at 3× the speed and 53× lower cost -from conversational prompt to live link or vector PDF in minutes.
Serves your design system and coding standards to coding agents, so they stop guessing.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate safe, runnable HTML chart pages from structured JSON data using Apache ECharts. It provides tools for chart type recommendation, page generation, validation, and patching with controlled, deterministic output.4 npmMIT
- AlicenseAqualityCmaintenanceConverts raw HTML into structured, AI-readable page maps with 97% token reduction, enabling agents to read, click, type, and navigate any web page.21336AGPL 3.0
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to create and manage customizable dashboards with text, list, stats, progress, and chart widgets, accessible via a read-only web viewer and JSON API.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to run deterministic API validation and UI DOM checks, verifying HTTP status codes, JSON schema fields, and page elements with programmatic proof instead of LLM guesswork.MIT