Color

io.github.rog0xPublished by GitHub account rog0xv1.0.1Updated Oct 24, 2026

Color convert, palette, contrast checker for AI agents

VerifiedSTDIODesktop onlyDeveloper ToolsMedia & Design

Overview

AI-generated overview

Local MCP server that gives an assistant color conversion, palette generation, WCAG contrast checking, color mixing and CSS gradient code.

What you can do
  • Convert colors between HEX, RGB, HSL, HSV and CMYK, returning all formats at once
  • Generate complementary, analogous, triadic, split-complementary and monochromatic palettes from a base color
  • Check WCAG contrast ratios between two colors and report AA/AAA compliance for normal text, large text and UI components
  • Mix, blend, lighten, darken, saturate or desaturate colors with weights, ratios and amounts
  • Generate linear or radial CSS gradient code with direction, stops and browser prefixes
When to use it
Useful when working on design or front-end tasks that need exact color values: converting a brand color, building a palette, verifying text contrast for accessibility, or producing ready-to-paste CSS gradients.
Requirements
Runs as a local stdio process installed from the npm package @rog0x/mcp-color-tools; Node.js is needed, and the README's setup builds the package before pointing the client at the built entry file. No accounts, API keys or environment variables are declared.
Before you install
No credentials, network access or data writes are indicated; the tools only compute color values and return text. Desktop-only, so it is not available in web clients.

Installation

In SourceWeft

  1. Open Color in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcp-color-tools

MCP server providing color manipulation and design tools for AI agents.

Tools

color_convert

Convert a color between HEX, RGB, HSL, HSV, and CMYK. Accepts any format as input and returns all formats.

json
{ "color": "#ff6b35" }{ "color": "rgb(255, 107, 53)" }{ "color": "hsl(16, 100%, 60%)" }{ "color": "hsv(16, 79%, 100%)" }{ "color": "cmyk(0, 58, 79, 0)" }

palette_generate

Generate a color palette from a base color.

Types: complementary, analogous, triadic, split-complementary, monochromatic

json
{ "color": "#ff6b35", "type": "triadic" }

contrast_check

Check WCAG contrast ratio between two colors. Reports AA/AAA compliance for normal text, large text, and UI components.

json
{ "color1": "#ffffff", "color2": "#333333" }

color_mix

Mix, blend, lighten, darken, saturate, or desaturate colors.

json
{ "operation": "mix", "colors": ["#ff0000", "#0000ff"], "weights": [2, 1] }{ "operation": "blend", "colors": ["#ff0000", "#0000ff"], "ratio": 0.3 }{ "operation": "lighten", "colors": ["#ff6b35"], "amount": 20 }{ "operation": "darken", "colors": ["#ff6b35"], "amount": 15 }{ "operation": "saturate", "colors": ["#888888"], "amount": 30 }{ "operation": "desaturate", "colors": ["#ff6b35"], "amount": 25 }

css_gradient

Generate CSS gradient code with direction, stops, and browser prefixes.

json
{  "type": "linear",  "colors": ["#ff6b35", "#ffd700", "#00bcd4"],  "direction": "135deg"}
json
{  "type": "radial",  "colors": [    { "color": "#ff6b35", "position": 0 },    { "color": "#ffd700", "position": 50 },    { "color": "#00bcd4", "position": 100 }  ],  "direction": "circle at center"}

Setup

bash
npm installnpm run build

Claude Desktop Configuration

json
{  "mcpServers": {    "color-tools": {      "command": "node",      "args": ["path/to/mcp-color-tools/dist/index.js"]    }  }}

License

MIT

Source: README.md at commit fa5b30e

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts