Skip to main content
Glama
mcp-color-tools

mcp-color-tools

by rog0x

mcp-color-tools

MCP 서버는 AI 에이전트를 위한 색상 조작 및 디자인 도구를 제공합니다.

도구

color_convert

HEX, RGB, HSL, HSV, CMYK 간에 색상을 변환합니다. 임의의 형식을 입력으로 받아 모든 형식을 반환합니다.

{ "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

기본 색상에서 색상 팔레트를 생성합니다.

유형: 보색, 유사, 삼색, 분할 보색, 단색

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

contrast_check

두 색상 사이의 WCAG 대비 비율을 확인합니다. 일반 텍스트, 큰 텍스트 및 UI 구성 요소에 대한 AA/AAA 준수 여부를 보고합니다.

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

color_mix

색상을 혼합, 블렌드, 밝게, 어둡게, 채도 증가 또는 감소시킵니다.

{ "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

방향, 중지점 및 브라우저 접두사를 포함한 CSS 그라디언트 코드를 생성합니다.

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

Related MCP server: MCP Color Converter

설정

npm install
npm run build

Claude Desktop 구성

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

라이선스

MIT

Available Tools

5 tools
color_convertA

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

Inputs: color (required).

color_mixA

Mix, blend, lighten, darken, saturate, or desaturate colors. For mix/blend provide 2+ colors; for lighten/darken/saturate/desaturate provide 1 color and an amount.

Inputs: colors (required), operation (required), ratio, amount, +1 more.

contrast_checkA

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

Inputs: color1 (required), color2 (required).

css_gradientA

Generate CSS gradient code. Supports linear, radial, and conic gradients with direction, stops, and browser prefixes.

Inputs: type (required), colors (required), direction, includePrefix.

palette_generateA

Generate a color palette from a base color. Types: complementary, analogous, triadic, split-complementary, monochromatic.

Inputs: type (required), color (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: converting formats, generating palettes, checking contrast, mixing/blending colors, and generating gradients. No two tools overlap in function, so an agent can unambiguously select the right one for a given task.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern that combines an action verb or descriptive prefix with a clear object (e.g., color_convert, palette_generate, contrast_check). The naming is uniform and intuitive, with no mixed conventions or vague verbs.

    Tool Count5/5

    The set of 5 tools is perfectly scoped for a color utility server. Each tool covers a distinct major category of color operations without redundancy or bloat, making the surface easy to navigate.

    Completeness5/5

    The tools cover the full spectrum of common color workflows: conversion between all standard formats, palette creation from multiple schemes, WCAG contrast analysis, comprehensive color manipulation (mixing, lighten/darken, etc.), and CSS gradient generation. There are no obvious missing operations that would hinder typical use cases.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables comprehensive color manipulation, conversion between 22+ formats (HEX, RGB, HSL, CMYK, LAB, etc.), palette generation, gradient creation, and accessibility compliance checking. Supports framework-specific outputs for CSS, Swift, Android, Flutter, and Tailwind with high-precision conversions and visualization capabilities.
      25
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive color conversion, manipulation, analysis, and WCAG accessibility tools supporting multiple formats (hex, rgb, hsl, oklch, oklab) for design systems and web development.
      32 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive toolkit for color conversion, manipulation, and accessibility analysis supporting formats like OkLCH and WCAG compliance. It enables AI agents to manage design systems by generating harmonious palettes, transforming color spaces, and performing contrast checks.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Exposes RNV color workflow tools for color mixing, conversion, harmony generation, text transformation, and palette management, allowing LLMs to directly compute colors and manipulate palettes.
      9
      1
      MIT