# Ensemble [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/MPfeifer33/ensemble-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 281  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ensemble

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

## Tools
Capabilities this server exposes over MCP:

- **harmony_generate_palette** — Generate a working color system from one brand color: primary, secondary and accent ramps, neutrals, and semantic colors (success, warning, error, info).

color_scheme decides how the secondary and accent hues are derived:
• monochromatic — one hue, many shades (elegant, unified)
• analogous — neighbors on the wheel (calm, cohesive; the default)
• complementary — the opposite hue (high contrast)
• triadic — three evenly spaced hues (balanced, colorful)
• split-complementary — the two hues beside the complement (nuanced contrast)
- **duet_pair_fonts** — Pick a heading, body and monospace font pairing with a type scale, chosen for a typographic character.

type_style: modern (clean sans), classical (serif-led), minimalist (restrained), expressive (display-led). Returns font families, weights, fallbacks and the size scale.
- **tempo_generate_scale** — Generate a spacing system tuned to the type: a base unit, a spacing scale, semantic spacing (padding, gaps, sections) and layout measures.

density: compact (dense UIs), balanced (the default), airy (generous whitespace).
- **chord_generate_shadows** — Generate a shadow and elevation system tinted by the palette: elevation levels, a focus ring and a glow.

shadow_intensity: flat (borders, no depth), subtle (the default), pronounced, dramatic.
- **cadence_generate_grid** — Generate a responsive grid: breakpoints, column counts, gutters and max widths, sized from the spacing system.

density: compact, balanced (the default), airy.
- **riff_generate_motion** — Generate a motion system: durations, easing curves (cubic-bezier) and ready-made transition presets.

animation_style: none (reduced motion), minimal (the default), fluid (smooth, longer), energetic (snappy, springy).
- **bridge_generate_theme** — Generate a complete dark mode from the light system built on a brand color: dark surfaces and text, adjusted palette, shadows and spacing, with contrast checked.
- **pitch_audit_contrast** — Audit the contrast of the palette built from a brand color: which text and background pairs pass WCAG, which fail, and what to change. Returns a contrast matrix, the failures and recommendations.

To check one specific foreground and background pair, use a11y_validate (free, no key). audit_all_combinations checks every pair in the palette, not just the meaningful ones.
- **compose_export** — Build the whole design system from one brand color and export it: colors, typography, spacing, shadows, grid, motion and accessibility notes, as ready-to-use files.

formats: css (custom properties), json, tailwind (config) and scss. Pass the same preferences you used with the other tools so the export matches them.
- **a11y_validate** — Check one foreground and background color pair for accessibility (WCAG 2.1 and APCA).

FREE - No API key required.

Returns the contrast ratio, pass or fail for normal and large text, and suggested fixes.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `ENSEMBLE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Ensemble MCP server does

Ensemble connects an MCP-compatible AI client to a set of design-system generation and validation tools. The toolkit starts with a brand color and can produce coordinated visual foundations: color palettes, font pairings, type and spacing scales, elevation shadows, responsive grids, motion presets, and dark themes. It can also inspect contrast and package a completed system for use in application code.

The available operations include palette generation, typography pairing, scale generation, shadow creation, grid configuration, gradient creation, easing configuration, theme generation, design-token export, contrast auditing, and individual color-pair validation. The README presents slightly different names for some operations in its two tool tables; examples include `harmony_generate_palette`, `duet_pair_fonts`, `tempo_generate_scale`, `chord_generate_shadows`, `compose_export`, and `a11y_validate`.

## How it works

The Ensemble MCP server uses stdio configuration through `npx` or a globally installed package. An MCP client launches the server, which then exposes the design tools to the agent. Builder requests use the Ensemble API and require an API key, while `a11y_validate` is identified as a free operation that does not require one.

Each builder accepts a brand `color` and may also accept a `preferences` object. This shared input model lets separately requested outputs follow the same design direction. Results are deterministic: repeating a request with the same color and preferences produces the same system.

The tools cover both individual decisions and complete systems. An agent can request a palette or font pairing first, audit the resulting color combinations, and then export the assembled design system as CSS, JSON, Tailwind, or SCSS. The documented checks include WCAG and APCA-related accessibility behavior, including identifying palette pairs that need correction.

## Setup and configuration

For Claude Desktop, Cursor, or Cline, add the package as an MCP server launched with `npx`:

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

The key is needed by builder tools that call the Ensemble API. You can also install the package globally with `npm install -g @hearthbyte/ensemble-mcp` and start it with `ensemble-mcp`. API access is described as a paid Pro plan, while `a11y_validate` does not need a key.

## Tools and capabilities

The Ensemble MCP server supports these documented design tasks:

- Generate harmonious palettes from one color.
- Pair heading, body, and monospaced fonts with a type scale.
- Create spacing and type systems based on density.
- Produce five-level elevation shadows, optionally influenced by the palette.
- Configure responsive grids with breakpoints, columns, and gutters.
- Create linear, radial, or conic gradients.
- Set motion durations, transition presets, and cubic-bezier easing curves.
- Generate a dark theme from a light color system.
- Check contrast for a single foreground and background pair.
- Audit palette contrast and export systems as CSS, JSON, Tailwind, or SCSS.

The free validation tool is useful for checking a known color pair without provisioning API credentials. The other builders are suited to agents assembling a coordinated system from an initial brand color.

## Limitations and notes

Builder operations depend on an Ensemble API key and the associated Pro access described in the README. Only `a11y_validate` is explicitly documented as free and keyless.

The README contains inconsistent names for some tools, including `cadence_generate_grid` versus `cadence_set_grid`, `riff_generate_motion` versus `riff_set_easing`, and `pitch_audit_contrast` versus `pitch_create_gradient`. Confirm the exposed tool names against the installed package or API documentation before hard-coding calls.

_Full upstream README: https://allmcps.com/mcp/ensemble/readme_

