mcpField
H
halo-ds

halo-ds

Local
github.com/Halo-design-systemDeveloper Tools0Updated today

About halo-ds

halo-ds is an open-source design system for designers and React developers, built around shared Figma and React tokens. Its MCP server provides AI assistants with component props, examples, and usage rules.

Key features

  1. 01Figma and React component library
  2. 02Light and dark design tokens
  3. 03Icons, illustrations, and brand assets
  4. 04Ready-made blocks and example apps
  5. 05CLI, MCP server, and Claude Code plugin

Use cases

  1. 01Building React interfaces with Halo components
  2. 02Applying brand colors across themes
  3. 03Checking component props and examples with an AI assistant

MCP support

The MCP server gives AI assistants access to Halo component props, examples, and rules.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"halo-design-system-halo-ds": {
"command": "npx",
"args": [
"-y",
"halo-ds"
]
}
}
}
Run commandnpx -y halo-ds

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmhalo-ds0.5.0

Tools

8

Saved tool list · updated 5d ago

This tool takes no parameters.

Details

From the project README
Halo Design System

Halo Design System

An open-source design system for designers and developers: a Figma library and a React component library built from the same design tokens, with light and dark mode.

📖 Website and docs: https://halo-design-system.github.io/Halo-design-system/

🧪 Component playground (Storybook): https://halo-design-system.github.io/Halo-design-system/storybook/

  • 56 components in Figma and React, with 2,125 Figma variants
  • 288 design tokens and 42 text styles, in light and dark
  • 1,512 icons, 100 illustrations, 3,719 emojis, 271 flags and 1,489 brand logos
  • 8 ready-made blocks and 7 example apps you can click through on the site
  • An MCP server, a CLI and a Claude Code plugin, so AI assistants build with Halo correctly

Free and open source under the MIT licence. Current version: 0.5.0 on npm.

Packages

PackageDescription
@halo-ds/tokensDesign tokens as CSS variables (light + dark), JSON and JS, generated from Figma
@halo-ds/reactReact components
halo-dsCLI and MCP server: npx halo-ds init, theme, add, docs and mcp
figma-pluginFigma plugin: search every component and place it on the canvas
halo-ds pluginClaude Code plugin: skills to build, review, theme and migrate UI
siteThe website: docs, components, foundations and the live example apps
docsStorybook: live documentation and component playground

Using Halo

npx halo-ds init

This installs Halo and asks for the mode and a brand colour. Or install it yourself:

npm install @halo-ds/react

That is all the setup: the styles, the design tokens and the Geist font load by themselves when you use a component.

import { Button } from '@halo-ds/react';

Switch themes with the data-theme attribute on <html>: light (default), dark, or system (follows the OS).

Every token is a CSS variable starting with --halo-, so your own styles can use them too:

.card {
  background: var(--halo-surface-primary);
  color: var(--halo-text-primary);
  padding: var(--halo-spacing-md);
  border-radius: var(--halo-radius-sm);
}
Make it yours
  • Quick: run npx halo-ds theme "#2F6BFF" with your brand colour, or pick one on the website. It sets your brand colour in light and dark. No rebuild needed.
  • Full: change the variables in your copy of the Figma file, export them, and rebuild the tokens so design and code match.

The Theming page walks through both.

Use it with AI assistants

Add the MCP server so your assistant knows every component's props, examples and rules:

claude mcp add halo -- npx -y halo-ds mcp

Setup for Cursor, VS Code, Windsurf and others: https://halo-design-system.github.io/Halo-design-system/docs/ai

Working on Halo

Requirements: Node.js 22.12+ and pnpm (npm install -g pnpm). The project pins its own Node 24 runtime, which pnpm downloads automatically.

pnpm install     # install dependencies
pnpm dev         # build tokens and start Storybook at http://localhost:6006
pnpm build       # build every package
pnpm typecheck   # type-check every package
Project structure
packages/
  tokens/     figma/ ← Figma variable exports (source of truth)
              scripts/build.mjs → dist/tokens.css, tokens.json, index.js
  react/      src/ ← components
  cli/        the halo-ds CLI and MCP server
  figma-plugin/
plugins/
  halo-ds/    the Claude Code plugin
apps/
  site/       the website, with the live example apps in src/live
  docs/       Storybook (foundations pages + component stories)
  video/      the launch video (Remotion)
docs/         design notes (e.g. dark-mode mapping)
Design → code workflow
  1. Design the component in Figma using Halo variables (never raw hex values).
  2. Build it in packages/react/src/components/<Name>/ using the matching CSS variables.
  3. Add a <Name>.stories.tsx so it appears in Storybook.
  4. Review it in Storybook in both light and dark mode.

See CONTRIBUTING.md for details.

License

MIT. The Figma library also includes emojis, icons, flags and brand logos from other open-source projects; see THIRD_PARTY_NOTICES.md for their licences and required credits.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.