Skip to main content
Glama
rog0x

mcp-color-tools

by rog0x

mcp-color-tools

为 AI 智能体提供颜色操作与设计工具的 MCP 服务器。

工具

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

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    937
    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
    Not graded
    quality
    D
    maintenance
    A simple color utility MCP server for frontend developers. Convert, mix, adjust, and analyze colors right from your AI agents.
    10
    MIT

View all related MCP servers

Related MCP Connectors

  • AI-agent design tools: fonts, font recognition, palettes, color naming, contrast, code, SVG, CSS.

  • A complete color workflow over MCP: mix, convert, harmonize, measure, and remember palettes.

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-color-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server