Ensemble

dev.hearthbyte由 hearthbyte.dev 发布v1.0.0更新于 Nov 1, 2026

AI-ready design toolkit: color palettes, typography, spacing, shadows and accessibility audits.

发布方自己的服务:ENSEMBLE

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,让助手生成配色、字体、间距、阴影、网格、动效与深色主题等设计系统,并导出设计令牌。

可以做什么
  • 生成配色方案、字体搭配与字号阶梯、间距系统、层级阴影、响应式网格和动效预设
  • 从浅色配色系统推导深色主题
  • 按 WCAG 检查配色对比度,并校验单组前景/背景色的可访问性
  • 将整套系统导出为 CSS、JSON、Tailwind 或 SCSS
  • 各工具共用同一品牌色与偏好参数,保证生成结果彼此一致
适用场景
适合希望助手从一个品牌色出发产出成套设计令牌或主题,或在做界面样式时检查颜色对比度的场景。若只需一次性对比度检查,免费工具即可满足。
运行要求
通过 npm 包 @hearthbyte/ensemble-mcp 以 stdio 在本地运行(npx 或全局安装),需要 Node.js。构建类工具会调用 Ensemble API,需设置 ENSEMBLE_API_KEY 环境变量;未设置时仅免费的 a11y_validate 可用。仅支持桌面客户端。
安装前请注意
构建类工具会把品牌色与偏好发送到 Ensemble API,数据会离开本机。Pro 密钥为付费订阅(按月或按年),以 ENSEMBLE_API_KEY 环境变量保存。README 中两张工具表列出的工具名略有出入,安装后请确认客户端实际提供的工具。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ensemble,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Ensemble - AI-Ready Design Toolkit]

🎨 Ensemble MCP

Give your AI agent design taste.

[npm version] [License: MIT]

Website · Documentation · Get API Key


What is this?

Ensemble MCP is a Model Context Protocol server that gives AI agents access to professional design tools. Generate color palettes, pair typography, create shadow systems, and export complete design tokens - all through natural conversation.

10 tools. One API. Infinite possibilities.

ToolWhat it doesIts main argument
harmony_generate_paletteA full color system from one brand colorcolor_scheme
duet_pair_fontsHeading, body and mono fonts with a type scaletype_style
tempo_generate_scaleA spacing system tuned to the typedensity
chord_generate_shadowsElevation shadows tinted by the paletteshadow_intensity
cadence_generate_gridResponsive grid: breakpoints, columns, guttersdensity
riff_generate_motionDurations, easing curves and transition presetsanimation_style
bridge_generate_themeA complete dark mode from the light systemcolor
pitch_audit_contrastWhich palette pairs pass WCAG, and what to fixcolor
compose_exportThe whole system as CSS, JSON, Tailwind or SCSSformats
a11y_validateCheck one color pair for accessibility (FREE, no key needed)foreground, background

Every builder takes a brand color and an optional preferences object, so tools called separately agree with each other. Results are deterministic: the same color and preferences always give the same system.

------|--------------| | harmony_generate_palette | Generate harmonious color palettes from a single color | | duet_pair_fonts | Pair heading and body fonts that complement each other | | tempo_generate_scale | Create type scales and spacing systems | | chord_generate_shadows | Generate 5-level shadow elevation systems | | bridge_generate_theme | Auto-generate dark mode from light theme colors | | cadence_set_grid | Configure CSS Grid layouts with presets | | pitch_create_gradient | Create linear, radial, and conic gradients | | riff_set_easing | Set cubic-bezier easing curves | | compose_export | Export complete design system (CSS, Tailwind, SCSS, JSON) | | a11y_validate | Check color contrast accessibility (FREE, no key needed) |


Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "ensemble": {      "command": "npx",      "args": ["-y", "@hearthbyte/ensemble-mcp"],      "env": {        "ENSEMBLE_API_KEY": "your-api-key-here"      }    }  }}

Cursor / Cline

json
{  "ensemble": {    "command": "npx",    "args": ["-y", "@hearthbyte/ensemble-mcp"],    "env": {      "ENSEMBLE_API_KEY": "your-api-key-here"    }  }}

Manual Installation

bash
npm install -g @hearthbyte/ensemble-mcpensemble-mcp

Example Prompts

Once installed, try these with your AI:

"Generate a triadic color palette from #6366F1"

"Give me a classical font pairing and an airy spacing system to go with it"

"Check if #FFFFFF text on #6366F1 background is accessible"

"Build a design system from #0F766E with dramatic shadows and export it as Tailwind config"

"Audit the contrast of the palette you just made and tell me what fails"


API Key

The builders call the Ensemble API, which needs a Pro key ($4.99/month, or $39/year).

Free tool: a11y_validate - accessibility validation with no API key required.

Get your API key →


Design Philosophy

Ensemble tools are built on these principles:

  1. One color in, design system out - Start with a single value, get a complete system
  2. Cross-tool sync - Colors flow to typography, typography informs spacing
  3. Export everywhere - CSS, Tailwind, SCSS, JSON
  4. Accessibility first - WCAG 2.1 + APCA checking built in

Links


Built with 🧡 by HearthByte

Your work. Your choice. Always.

来源:README.md,提交 18ed30b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Oct 10, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Ensemble 集成