list_eras
List the design eras NostalgiaUI can render. An era controls shape and feel: radius, borders, bevels, shadows, typography, density and motion. It never controls colour.
无需输入参数。

io.github.sylvesterworks由 GitHub 账号 sylvesterworks 发布v0.1.3更新于 Nov 2, 2026
Design tokens, component source and WCAG checks for rendering any UI in a past design era.
为编码助手提供 NostalgiaUI 的设计年代、配色、设计令牌、组件源码与 WCAG 对比度检查,用于复古风格界面。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
An MCP server that gives AI coding agents NostalgiaUI's eras, palettes, component source and contrast checks, so an agent asked for a settings page in Frutiger Aero with the Nord palette can get the real tokens rather than guess.
Tools: list_eras, list_palettes, get_tokens, get_component,
import_vscode_theme, check_contrast.
In claude_desktop_config.json:
get_component returns more than source: the import line, the era-specific
CSS, a props table for each part extracted from the TypeScript types, and the
component's structured doc. The doc covers anatomy, patterns, do and don't
pairs, accessibility, extensibility, notes for the requested era, and notes
naming what is easy to get wrong. Pass section, for example
accessibility, to receive only that part. The rules every component shares,
such as rendering inside NostalgiaRoot, are sent once as the server's
instructions rather than repeated in each answer.
Full documentation at nostalgiaui.sylvester.works. MIT, copyright Josh Sylvester and Sylvester Works LLC.
Listed as io.github.sylvesterworks/nostalgiaui. The listing is
server.json in this package and is published by the release workflow after
each npm publish, authenticated through GitHub OIDC; nothing is done by hand.
来源:packages/mcp/README.md,提交 68614d8
List the design eras NostalgiaUI can render. An era controls shape and feel: radius, borders, bevels, shadows, typography, density and motion. It never controls colour.
无需输入参数。
List the colour palettes, each drawn from a VS Code theme, with its light or dark appearance and source licence. A palette controls colour only and works in every era.
无需输入参数。
Design tokens for one era and palette pairing. css returns the CSS custom properties scoped to data-era and data-palette attributes. tailwind returns a preset mapping utilities onto those variables. dtcg returns W3C Design Tokens JSON.
era必填format必填palette必填Source for one component styled for one era: the import lines, the TSX wrapper, the stylesheet rules that apply everywhere, the rules scoped to that era, and notes on what is easy to get wrong. The CSS is a filtered view of the stylesheet, not a verbatim copy: rules for other eras and section-divider comments are removed, while comments inside rules are kept. Components must render inside NostalgiaRoot.
era必填name必填Turn a VS Code colour theme JSON into a NostalgiaUI palette. Returns the palette primitives, a provenance report saying which values came straight from the theme and which had to be inferred, and the resulting CSS variables.
theme必填Audit WCAG 2.1 contrast for one era and palette pairing. Returns every checked pairing with its ratio and the threshold it must meet, and lists any failures. Colours are derived per pairing, so contrast cannot be known from either axis alone.
era必填palette必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
claude mcp add --transport stdio nostalgiaui -- npx -y @nostalgiaui/mcp{ "mcpServers": { "nostalgiaui": { "command": "npx", "args": ["-y", "@nostalgiaui/mcp"] } }}