mcp-server
v1.3.0MCP server for Veritheme UI component library — provides components, design tokens, themes, and snippets to AI assistants
Veritheme is a framework-agnostic UI component library delivered as plain CSS and vanilla JavaScript. You style your markup with vt- utility classes and drop in data-* attributes for interactive behavior — the JS bundle wires everything up automatically. No React, no Tailwind runtime, no bundler needed. It's built around a 2-layer design token system (raw palette → semantic tokens) that keeps colors, spacing, typography, and radii consistent across light/dark modes and across the shipped Default theme and any custom theme you build. The builder exports CSS and DTCG from the same tokens.
Summary extracted from the README.
Veritheme
Themeable components and patterns. Pure CSS utility classes, semantic design tokens, dark mode, and a vanilla JS bundle — no framework, no build step required.
veritheme.com · Docs & live demos · Design-system wizard
What is Veritheme?
Veritheme is a framework-agnostic UI component library delivered as plain CSS and vanilla JavaScript. You style your markup with vt- utility classes and drop in data-* attributes for interactive behavior — the JS bundle wires everything up automatically. No React, no Tailwind runtime, no bundler needed.
It's built around a 2-layer design token system (raw palette → semantic tokens) that keeps colors, spacing, typography, and radii consistent across light/dark modes and across the shipped Default theme and any custom theme you build. The builder exports CSS and DTCG from the same tokens. Supported variable values can be exchanged with Figma through explicit import/export; manual component structure edits are not automatically transferred.
Install
npm install veritheme
Or use it straight from a CDN with no install at all:
<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/veritheme/veritheme.min.css">
<!-- JS (auto-initializes interactive components on DOMContentLoaded) -->
<script src="https://cdn.jsdelivr.net/npm/veritheme/veritheme.min.js"></script>
With a bundler:
import 'veritheme/veritheme.min.css';
import 'veritheme'; // initializes interactive components
veritheme.css only styles vt-* elements and what is inside them, and every custom property starts with --vt-, so it can join an existing app. Starting a new page on Veritheme? Add the optional global reset and the stepped root font size (14px, 16px from 768px) first:
import 'veritheme/veritheme-base.min.css';
import 'veritheme/veritheme.min.css';
The library lives in the veritheme.base and veritheme.components cascade layers, so any unlayered CSS of yours wins over it. That includes old global rules: a stray button { padding: 0 } beats .vt-btn. Put such CSS in a layer of its own, declared first: @layer legacy, veritheme;.
Supported browsers: Chrome and Edge 105+, Firefox 121+, Safari 16+.
What's in this package
| File | Description |
|---|---|
veritheme.min.css / veritheme.css |
All components + vt- utility classes + design tokens (minified / readable) |
veritheme-base.min.css / veritheme-base.css |
Optional: page-wide reset and root font size |
veritheme.min.js / veritheme.js |
Vanilla JS for interactive components, zero dependencies |
themes/*.json |
Theme token file — default (the one theme that ships) |
theme-manifest.json |
Index of available themes (name, label, font, dark-mode support) |
Package exports: the file names above (veritheme/veritheme.min.css, veritheme/veritheme.js, …), plus the aliases veritheme/css, veritheme/css/unminified, veritheme/js/unminified, veritheme/themes/* and veritheme/theme-manifest. A bare import 'veritheme' resolves to veritheme.min.js.
Usage
Utility classes
Every utility uses the vt- prefix:
<div class="vt-flex vt-items-center vt-gap-4 vt-p-4 vt-rounded-lg vt-bg-surface-subtle">
<span class="vt-text-foreground-primary vt-text-sm vt-font-medium">Hello</span>
</div>
Dark mode
Add .dark to <html>:
<html class="dark">
Themes
The Default theme applies with no attribute. A custom theme (from the design-system wizard) is applied with its own data-theme value on <html>:
<html data-theme="my-theme">
Interactive components
Markup uses data-* attributes as hooks; the JS bundle initializes them automatically:
<div data-vt-accordion="single">
<div data-vt-accordion-item>
<button data-vt-accordion-trigger>Title</button>
<div data-vt-accordion-content>Content</div>
</div>
</div>
Themes & the design-system wizard
One theme ships in the box: Default — Inter, clean and neutral, with a light and dark variant.
Want your own? Build your design system. Get the components. The design-system wizard is a 7-step builder — colour scales → semantic palette → shape → spacing grid → typography → component rebinding → hand-off — where every component restyles live as you go. At the end, download the tokens for the Figma plugin and a system package with source, tokens, library CSS/JS, a working demo and AI instructions.
Figma plugin
Veritheme — Design Tokens & UI Components is a design system generator for Figma. Select the components you need, customize your theme, and generate production-ready design tokens and UI components directly into your file.
What it does:
- Generates Figma Variables — colors, typography, spacing, radius, borders, shadows
- Creates Light and Dark mode collections automatically
- Includes 45 UI components: buttons, form controls, navigation, feedback, and data display
- Lets you customize the theme — brand color, neutrals, typography, and semantic tokens — before generating
- Outputs a structured, token-driven component library ready to use in your designs
Who it's for: Designers and product teams who want a consistent, token-driven foundation without building a design system from scratch.
It reads the DTCG tokens the design-system wizard exports: import them into the plugin and a system built in the browser re-themes your Figma library. The exchange is an explicit import/export of supported variable values in either direction; component structure edited by hand on the canvas stays in Figma and is not transferred to code.
Use with AI agents (MCP)
Veritheme ships an official MCP server, @veritheme/mcp-server — AI assistants (Claude Code, Cursor, any MCP client) can query real components, design tokens, themes, and HTML snippets instead of guessing class names:
# Claude Code
claude mcp add veritheme -- npx -y @veritheme/mcp-server
// any MCP client config
{ "mcpServers": { "veritheme": { "command": "npx", "args": ["-y", "@veritheme/mcp-server"] } } }
Tools: list_components, get_component, get_tokens, get_theme, get_snippet, search, list_patterns, get_pattern, get_starter, get_theme_css, derive_theme, audit_contrast, validate_markup — and get_project_system, which reads the system package (veritheme.system.json + DTCG tokens.json) from the project root so the agent works from your tokens, not the presets.
The site also serves veritheme.com/llms.txt — a compact, LLM-friendly map of the library for web-browsing agents.
The Veritheme ecosystem
| Package / repo | What it is |
|---|---|
veritheme |
This package — the CSS + JS distribution bundle |
@veritheme/mcp-server |
MCP server exposing components/tokens/themes to AI agents |
| Veritheme Figma plugin | Generate design tokens + 45 UI components into Figma |
| veritheme.com | Docs, live demos, and the design-system wizard |
License
MIT © Siarhei Tarasenka
The MIT License covers this package: the CSS and the JavaScript bundle. The MCP
server, @veritheme/mcp-server,
is a separate package: versions 1.2.4 and earlier are under MIT, later versions
are source-available under FSL-1.1-MIT (its LICENSE.md ships with the package).