Colors MCP Server
🎨 Colors MCP Server
A simple color utility MCP server for frontend developers. Convert, mix, adjust, and analyze colors right from your AI agents.
This MCP server provides a streamlined set of color utilities designed for efficiency and precision. It focuses on delivering core color manipulation tools in a straightforward, lightweight package for modern development workflows.
Tools
Tool | Description |
| Convert a color to a different color space |
| Convert multiple colors to a target color space at once |
| Parse and validate a color string |
| Adjust color properties (lightness, chroma, hue) |
| Batch adjust multiple colors (lightness, chroma, hue) |
| Mix two colors with perceptual interpolation |
| Generate a perceptually uniform color scale |
| Calculate color difference (Delta E) between two colors |
| Batch calculate color difference (Delta E) against a target color |
| Check WCAG contrast ratio between foreground and background colors |
| Batch check WCAG contrast ratio for multiple foregrounds against a background |
Setup
Add the server to your MCP client config (e.g. Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"colors": {
"command": "npx",
"args": ["-y", "@htetoowaiyan/colors-mcp-server"]
}
}
}Development
git clone https://github.com/HtetOoWaiYan/colors-mcp-server.git
cd colors-mcp-server
npm installnpm run dev # Run with tsx (hot reload)
npm run build # Build for production
npm test # Run tests
npm run test:watch # Run tests in watch modeBuilt With
Model Context Protocol SDK — MCP server framework
Culori — Color conversion and manipulation
Zod — Input validation
Vitest — Testing
Biome — Linting & formatting
License
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/HtetOoWaiYan/colors-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server