Back to Browse

Dashtaste MCP Server

Developer ToolsModerate6.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

Pick a named dashboard taste, check ECharts options against 38 rules, and install its tokens.

About

Pick a named dashboard taste, check ECharts options against 38 rules, and install its tokens.

Security Report

6.7
Moderate6.7Moderate Risk

dashtaste is a Developer Tools MCP server that lints ECharts dashboard options against named style tastes; its visible code (MCP stdio server, tool definitions, CLI argument parsing, and fix logic) shows no data exfiltration, shell execution, or hardcoded secrets, and its network use is limited to the category-typical page extraction for URL inputs. Score is high because only minor review items were observed and the truncated README and fix.ts portions could not be fully inspected. Supply chain analysis found 2 known vulnerabilities in dependencies (1 critical, 0 high severity). Package verification found 1 issue.

7 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "dashtaste": {
      "command": "npx",
      "args": [
        "-y",
        "dashtaste@0.0.9"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Agents ship the same default rainbow ECharts look everywhere.

Pick a named taste, check a dashboard against that school, and install its tokens. Not one shared palette.

npx dashtaste check dashboard.json --taste saas-dense

npm demo

Before and after, SaaS, saas-dense taste

Tastes

TasteSchoolLayout, then the check
saas-denseB2B metricsTight 7-day bar strip. ≤ 8 charts, ≤ 3 series, animation off. --pack global
exec-briefBoard roomOne hero figure over a single chart. ≤ 3 KPIs, ≤ 1 story annotation, paper ground
ops-wallSRE / statusStatus grid on a near-black ground. Light ground is an error. ≤ 8 KPIs, motion off
cn-ecommerceGMV and funnelDescending funnel labeled in 万. ≤ 4 funnels, ≤ 4 series. --pack cn
global-marketplaceCohort and currencyTwo calm cohort lines, USD and EUR on the axis. ≤ 2 series, ≤ 4 charts
editorial-dataStory chartsOne line and a callout. At least one story annotation, ≤ 2 charts, paper ground
npx dashtaste tastes
npx dashtaste tokens --taste editorial-data
npx dashtaste example --taste ops-wall
npx dashtaste apply --taste cn-ecommerce

tastes lists the catalog. tokens --taste prints that school's colours and the rules sentence the checker uses. example --taste prints an option that scores 100 under that taste. apply --taste writes tokens.json and example.json. Each taste is a layout plus a cap: a 7-day strip, a hero figure, a status grid, a 万 funnel, two cohort lines, or a line with a callout. Strip the colour and the six still do not match.

The demo opens on the six tastes. Before is the rainbow. After is that taste's layout. Series, annotations, and charts are knobs. Past the cap, the score drops.

Six tastes. Series, annotations, and charts sit on one row with the score.

Pack aliases

--packTaste
globalsaas-dense
cncn-ecommerce

--pack still works. --taste and --pack together are an error when they name different schools. With neither flag, the check is saas-dense.

Check

npx dashtaste check dashboard.json --taste saas-dense
npx dashtaste check dashboard.json --pack cn
npx dashtaste check dashboard.json --taste cn-ecommerce --format json
npx dashtaste check dashboard.json --taste saas-dense --fix --write
npx dashtaste check https://example.com/dashboard --taste ops-wall --dom-only

Node 20 or newer. Input is one ECharts option, an array of options, or a page-facts envelope. A URL or HTML file also needs the optional playwright-core dependency and a local Chromium (CHROME_PATH).

--fix (or dashtaste fix <file>) deterministically fixes safe mechanical ECharts violations — default/rainbow palettes (DT001/DT002), smooth lines (DT003), dense symbols (DT004), non-zero bar baselines (DT010), gradient fills and glow (DT017/DT018), redundant single-series legends (DT023), oversized bar widths (DT024), and motion (DT034). Semantic and data issues (missing units, raw large numbers, chart structure) remain reported unchanged. Add --write to update JSON files in place.

--dom-only checks rendered DOM rules (DT013–DT015, DT017–DT022, DT027–DT029, DT035) on non-ECharts dashboards (React, Recharts, Tremor, Chart.js, Tailwind) and reports mode: "dom-only" and echartsCount: 0 without claiming ECharts charts were reviewed. HTML files and URLs with zero ECharts instances fall back to DOM-only mode automatically.

From a checkout:

pnpm install
pnpm build
node dist/cli.js check test/fixtures/bad.json --taste saas-dense

That fixture prints:

test/fixtures/bad.json
  error  DT001  default-palette  heuristic  charts[0]  default ECharts palette  → set option.color to the pack palette (dashtaste tokens --pack global)
  warn  DT003  smooth-line  heuristic  charts[0].series[1]  smooth line  → use straight segments: smooth: false
  warn  DT004  symbols-everywhere  heuristic  charts[0].series[1]  symbols everywhere  → use dots at most 5px on at most 31 points, or set showSymbol: false
  warn  DT009  missing-unit  heuristic  charts[0].yAxis[0]  missing unit  → put units in axis names, rendered ticks, or formatter metadata
  error  DT010  bar-baseline  constraint  charts[0].yAxis[0]  bar baseline  → set min: 0 and scale: false
  warn  DT011  raw-large-numbers  heuristic  charts[0].yAxis[0].axisLabel  raw large numbers  → format compact units: cn 万/亿; global K/M
  warn  DT011  raw-large-numbers  heuristic  charts[0].tooltip  raw large numbers  → format compact units: cn 万/亿; global K/M
  warn  DT024  bar-width  heuristic  charts[0].series[0]  bar width  → set barMaxWidth to 24 or less; use 32 or less on screens
2 errors, 6 warnings · score 62/100 · saas-dense

Exit 0 when there are no errors and warnings are within --max-warnings (no limit by default). Exit 1 when any finding is an error, or warnings exceed that limit. Exit 2 when the file or the flags are invalid. Info findings change the score and leave the exit code at 0. --format json prints { version, ruleset, pack, taste, mode, ran, inputs, summary }. ruleset (dt-2026.2) is the rule behavior version and is not the npm version. dt-2026.1 is not a runnable engine. ran is the rule ids that executed, in registry order. Each finding has ruleId, name, basis (constraint, heuristic, or taste), severity, message, path, and fix. constraint is a measured encoding or contrast failure. A smooth line is heuristic: interpolation can be legitimate. taste follows the selected school. Basis does not change severity or the exit code. An unknown rule id is named in the error. Any rule can be skipped with --disable.

The score starts at 100. Each error subtracts 10, each warning 3, each info 1, with a floor of 0. An empty chart list still scores 100 and says that no charts were reviewed. That score is not a quality verdict.

import { check } from 'dashtaste';

const findings = check({ series: [] }, { taste: 'saas-dense' });

{ pack: 'global' } checks saas-dense. { pack: 'cn' } checks cn-ecommerce. rules lists rule metadata. tokens --pack still prints that pack's colours. tokens --taste prints the taste. Flags are in usage. --pack-file extends a built-in pack; see packs.

Skills

npx skills add FelixFangX/dashtaste --skill dashtaste

dashtaste is the selector: it lists the six tastes and tells the agent to check with --taste. dashtaste-global follows saas-dense (--pack global). dashtaste-cn follows cn-ecommerce (--pack cn).

npx skills add FelixFangX/dashtaste --skill dashtaste-global
npx skills add FelixFangX/dashtaste --skill dashtaste-cn

Or copy skills/dashtaste into the agent's skills directory and tell it to follow that skill.

Packs

global is the saas-dense alias: green-up, K / M / B, at most 6 KPIs, and at most 5 pie or rose slices. cn is the cn-ecommerce alias: red-up, 万 / 亿, at most 8 KPIs, at most 5 pie slices, and at most 8 rose slices. cn defines a 1920×1080 screen. DT022 runs on the cn pack only.

Pass --mode dark for a dark page. ops-wall defaults to dark. Both packs have light and dark tokens. The six tastes add composition on top of those packs.

Rules

Reasons, triggers, and fixes.

IDDefaultName
DT001errordefault-palette
DT002warnrainbow-palette
DT003warnsmooth-line
DT004warnsymbols-everywhere
DT005warnpie-slices
DT006warnpie-overuse
DT007errorthree-d
DT008warndual-axis
DT009warnmissing-unit
DT010errorbar-baseline
DT011warnraw-large-numbers
DT012warnunit-system
DT013errordelta-convention
DT014warndelta-colour-only
DT015errorlow-contrast-text
DT016warnthin-line-contrast
DT017warngradient-decoration
DT018warnglow
DT019warnkpi-overload
DT020warnkpi-rainbow
DT021warnemoji-icons
DT022warncjk-min-size
DT023infolegend-single-series
DT024warnbar-width
DT025warnlegend-not-direct-label
DT026warnline-weight
DT027warntabular-numerals
DT028infohero-metric
DT029warnhelper-captions
DT030errortaste-rainbow
DT031warntaste-chart-cap
DT032warntaste-series-cap
DT033warntaste-annotation
DT034warntaste-motion
DT035warntaste-ground
DT036warntaste-currency
DT037warntaste-funnel
DT038warntaste-palette

Gallery

dashtaste.ledring.dev

The first screen is the catalog: six tastes, each with a rainbow before and that taste's after. Series, annotations, and charts are knobs. Past the cap, the specimen score drops. The four dashboards below are worked pages for the saas-dense and cn-ecommerce aliases.

Gallery data is fictional, seeded in gallery/data.mjs. Each pair shares that data. Before pages use unguided defaults. After pages follow the pack. Counts are from gallery/results.json. A score of 100 means the page matched the rules.

DashboardPack, modeBeforeAfter
saasglobal, light41 errors, 59 warnings, 2 info, score 0score 100
financeglobal, dark10 errors, 49 warnings, 1 info, score 0score 100
storecn, light49 errors, 73 warnings, 2 info, score 0score 100
livecn, dark, 1920×108039 errors, 90 warnings, 1 info, score 0score 100

Walkthroughs: docs/cases.

pnpm gallery

This builds the CLI, renders the gallery PNGs, and writes gallery/results.json. It needs playwright-core. Set CHROME_PATH to Chromium. The default is /usr/bin/google-chrome.

MCP

Agents start the stdio server with:

npx dashtaste mcp

From a checkout: pnpm install && pnpm build, then node dist/cli.js mcp or node dist/mcp/server.js. dashtaste-mcp is the same server.

{
  "mcpServers": {
    "dashtaste": {
      "command": "npx",
      "args": ["-y", "dashtaste", "mcp"]
    }
  }
}
  • list_tastes returns the six schools, tokens, composition, and the rules sentence.
  • taste_tokens takes { "taste": "editorial-data" }. Same payload as tokens --taste.
  • taste_example takes { "taste": "ops-wall" } and returns an option that scores 100.
  • check_taste takes option or optionJson, plus optional taste, pack, mode, and domOnly. The default taste is saas-dense. A rainbow palette is an error.
  • fix_taste takes option or optionJson, plus optional taste, pack, and mode. Fixes safe mechanical ECharts violations and returns { fixed, changes, before, after }.
  • apply_taste takes { "taste": "cn-ecommerce" } and returns the tokens.json and example.json bodies. out also writes those files.

0.0.8. Rules can change in any 0.x release.

Taste family: dashboards with dashtaste · web maps with maptaste (maptaste.ledring.dev).

License

MIT.

Reviews

No reviews yet

Be the first to review this server!