Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Ui Color Palette

FreeNot checked

A Model Context Protocol (MCP) server built on Cloudflare Workers using the Agents SDK (McpAgent + Durable Objects) that exposes the UI Color Palette API as too

GitHubEmbed

About

A Model Context Protocol (MCP) server built on Cloudflare Workers using the Agents SDK (McpAgent + Durable Objects) that exposes the UI Color Palette API as tools for AI agents and LLMs.

README

GitHub package.json version GitHub last commit GitHub Cloudflare Workers Worker status

UI Color Palette MCP Server

A Model Context Protocol (MCP) server built on Cloudflare Workers using the Agents SDK (McpAgent + Durable Objects) that exposes the UI Color Palette API as tools for AI agents and LLMs.

Transport

Streamable HTTP at /mcp (supports both SSE and Streamable HTTP transports).

Available Tools

Palette Generation

Tool Description
get_palette Generate a complete color palette from base and theme configurations
get_color_system Build a semantic color system by resolving taxonomy bindings against a generated palette
create_color_harmony Create color harmonies (complementary, analogous, triadic, tetradic, compound, square)
extract_dominant_colors Extract dominant colors from a JPEG/PNG image URL
generate_code Generate design tokens/code from base + themes (CSS, SCSS, Less, Tailwind v3/v4, SwiftUI, UIKit, Compose, CSV, DTCG, etc.)
generate_colors_from_prompt Generate a palette from a natural language description via AI

generate_code input

The generate_code tool expects:

  • base: base palette configuration
  • themes: array of theme configurations
  • format (optional)
  • colorSpace (optional)

This mirrors the API POST /v1/generate-code contract and no longer uses a paletteData input.

The MCP server calls versioned API routes and automatically prefixes requests with /v1.

Authentication

Authenticated tools (Auth: Yes) use OAuth 2.1. MCP clients that support OAuth auto-configure via the discovery endpoint at /.well-known/oauth-authorization-server. The Bearer token is passed in the Authorization header and injected into every tool call automatically — no manual token parameter is needed.

Published Palettes

Tool Auth Description
list_published_palettes No List publicly shared palettes (paginated, searchable)
list_my_published_palettes Yes List the authenticated user's own palettes
publish_palette Yes Publish a new palette
get_published_palette No Get a specific shared palette by ID
share_published_palette Yes Make a palette publicly visible
unshare_published_palette Yes Make a palette private
update_published_palette Yes Update an existing palette
unpublish_palette Yes Permanently delete a palette

Configuration

VS Code / Copilot

Add to your settings.json or .vscode/mcp.json:

{
  "mcp": {
    "servers": {
      "ui-color-palette": {
        "type": "http",
        "url": "https://mcp-uicp.<your-subdomain>.workers.dev/mcp"
      }
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ui-color-palette": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp-uicp.<your-subdomain>.workers.dev/mcp"]
    }
  }
}

Development

npm install
npm run dev        # Start local dev server
npm run deploy     # Deploy to Cloudflare

Environment Variables

Variable Description
API_URL Base URL of the deployed api-ui-color-palette worker (without /v1)

License

This project is licensed under the MIT License. See the LICENSE file for details.

from github.com/a-ng-d/mcp-ui-color-palette

Installing Ui Color Palette

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/a-ng-d/mcp-ui-color-palette

FAQ

Is Ui Color Palette MCP free?

Yes, Ui Color Palette MCP is free — one-click install via Unyly at no cost.

Does Ui Color Palette need an API key?

No, Ui Color Palette runs without API keys or environment variables.

Is Ui Color Palette hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Ui Color Palette in Claude Desktop, Claude Code or Cursor?

Open Ui Color Palette on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Ui Color Palette with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All design MCPs