# PaletteCraft MCP

> PaletteCraft MCP is an open-source MCP server for accessibility. Generates light and dark design tokens from one color, with measured contrast checks. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/ahmedsaeed1-eng/palettecraft-mcp
- **MCP Registry name:** io.github.ahmedsaeed1-eng/palettecraft-mcp
- **Categories:** [accessibility](https://ai-powered.com/categories/accessibility)
- **Listing updated:** 2026-11-28

## About

PaletteCraft takes a seed hex color and a mood, then produces coordinated light and dark semantic palettes covering text, surfaces, buttons, status colors, outlines and focus. Every generated theme comes with a set of contrast checks, each reporting a rounded and an unrounded ratio along with a pass or fail flag.

It runs as a local stdio server for MCP clients such as Codex. The tools compute everything on the machine, with no hosted service, API key or network calls. Output can be exported as JSON, CSS custom properties, Tailwind CSS v4 theme declarations, or Flutter Material color roles.

The project suits frontend and mobile developers who want a starting token set for an app and a quick way to verify that foreground and background pairs meet WCAG-style thresholds before building screens.

## Features

- **Paired light and dark themes:** Creates 14 semantic colors for each theme from a single seed color and a chosen mood.
- **Measured contrast checks:** Tests each foreground and background pair and reports ratio, threshold and pass status.
- **Contrast adjustment:** Suggests a lightness-adjusted foreground when a pair fails the requested threshold.
- **Multiple export formats:** Outputs JSON, CSS custom properties, Tailwind CSS v4 and Flutter Material color roles.
- **Local computation:** Runs entirely on the user's machine without accounts, API keys or telemetry.

## Good for

- Generate a starting design token set for a new web app from a brand color
- Check whether text and button colors meet contrast thresholds in light and dark modes
- Export theme tokens into a Tailwind v4 project
- Create a Flutter ThemeData with light and dark color schemes
- Let an AI coding agent produce and verify colors during UI work

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add palettecraft-mcp -- npx -y palettecraft-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add palettecraft-mcp -- npx -y palettecraft-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.palettecraft-mcp]
command = "npx"
args = ["-y", "palettecraft-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user palettecraft-mcp npx -- -y palettecraft-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "palettecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "palettecraft-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 2 tools reads data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `generate_palette`: Generates light and dark semantic palettes from a seed color, mood and export format.
- `check_contrast` (name suggests: reads): Checks the contrast ratio of a foreground and background pair against a threshold and suggests an adjustment when it fails.

## FAQ

### Which export formats are supported?

JSON, CSS custom properties, Tailwind CSS v4 and Flutter Material color roles are available. Tailwind support targets v4, not v3.

### Does PaletteCraft MCP send data over the network?

No. The project states that its tools perform local computation with no hosted service, model, telemetry or network request.

### Does a passing result certify WCAG conformance?

No. It checks listed opaque static color pairs only and does not certify a UI as WCAG conformant.

### How do I install PaletteCraft MCP?

It can be run with npx for the pinned 0.1.0 release or built from the repository, then registered with an MCP client such as Codex.

### Is PaletteCraft MCP free?

Yes. PaletteCraft MCP is open source, so you can use and self-host it for free.

### How do I add PaletteCraft MCP to Claude Code?

Run this command in your terminal: claude mcp add palettecraft-mcp -- npx -y palettecraft-mcp

### What are the best alternatives to PaletteCraft MCP?

The closest alternatives to PaletteCraft MCP are PaletteGet, Color Palette and Accessible Color Palette & WCAG Contrast Checker.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PaletteGet](https://ai-powered.com/mcp/paletteget): PaletteGet is a free MCP server for design and media.
- [Color Palette](https://ai-powered.com/mcp/color-palette): Color Palette is an MCP server for design and media.
- [Accessible Color Palette & WCAG Contrast Checker](https://ai-powered.com/mcp/accessible-color-palette-and-wcag-contrast-checker): Accessible Color Palette & WCAG Contrast Checker is a free MCP server for design and media.

---
Source: https://ai-powered.com/mcp/palettecraft-mcp
