Color Scheme Generator MCP Server
Server runs on Node.js, allowing for color scheme generation with various modes and formats (Hex, RGB, HSL) through the MCP protocol.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Color Scheme Generator MCP Server create a complementary palette using #ff6b35 with 7 colors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Color Scheme Generator MCP Server
This is a Model Context Protocol (MCP) server that generates harmonious color schemes using The Color API. It provides multiple color scheme generation tools for creating beautiful and cohesive color palettes for design projects.
Features
The server provides 8 different color scheme generation tools:
Monochrome Schemes: Variations of a single hue
Standard monochrome
Dark monochrome
Light monochrome
Color Wheel Based Schemes:
Analogic: Adjacent colors on the color wheel for harmonious designs
Complement: Opposite colors for high contrast
Analogic Complement: Combination of analogic and complement
Triad: Three evenly spaced colors for balanced palettes
Quad: Four evenly spaced colors for diverse palettes
Related MCP server: huetension mcp
Prerequisites
Node.js (v18 or later)
npm, yarn, or pnpm
An MCP client (e.g., Claude Desktop, Cursor)
Installation
Clone and install dependencies:
git clone <repository-url> cd colors-mcp-server npm installBuild the server:
npm run buildConfigure your MCP client:
For Claude Desktop (
claude_desktop_config.json):{ "mcpServers": { "color-scheme-generator": { "command": "node", "args": ["/full/path/to/colors-mcp-server/build/index.js"] } } }For Cursor:
Go to Settings > MCP > Add new global MCP server
Use the same configuration as above
Usage
Color Input Formats
The server accepts colors in multiple formats:
Hex:
"098765"or"#098765"RGB:
"0,71,171"or"rgb(0,71,171)"HSL:
"215,100%,34%"or"hsl(215,100%,34%)"
Parameters
color: The seed color (required)count: Number of colors to generate (optional, default: 5, range: 3-10)
Available Tools
generate_monochrome_schemegenerate_monochrome_dark_schemegenerate_monochrome_light_schemegenerate_analogic_schemegenerate_complement_schemegenerate_analogic_complement_schemegenerate_triad_schemegenerate_quad_scheme
Example Usage
Ask your MCP client:
"Generate a monochrome color scheme from blue"
"Create a complementary palette using #ff6b35 with 7 colors"
"I need an analogic scheme from rgb(120,80,200)"
Output Format
Each tool returns a structured JSON with:
Scheme mode and seed color
Array of generated colors with hex, RGB, HSL values
Color names and positions
Debugging
Use the MCP Inspector to debug:
npx @modelcontextprotocol/inspector node ./build/index.jsProject Structure
src/index.ts: Main server entry pointsrc/tools/index.ts: Color scheme generation toolssrc/prompts/index.ts: Usage guidance promptsbuild/: Compiled TypeScript output
Available Tools
8 toolsgenerate_analogic_complement_schemeC
Generates an analogic complement color scheme
Inputs: color (required), count.
generate_analogic_schemeA
Generates an analogic color scheme with adjacent colors on the color wheel
Inputs: color (required), count.
generate_complement_schemeB
Generates a complementary color scheme with opposite colors on the color wheel
Inputs: color (required), count.
generate_monochrome_dark_schemeC
Generates a dark monochrome color scheme
Inputs: color (required), count.
generate_monochrome_light_schemeC
Generates a light monochrome color scheme
Inputs: color (required), count.
generate_monochrome_schemeB
Generates a monochrome color scheme with variations of a single hue
Inputs: color (required), count.
generate_quad_schemeB
Generates a quad color scheme with four evenly spaced colors on the color wheel
Inputs: color (required), count.
generate_triad_schemeC
Generates a triad color scheme with three evenly spaced colors on the color wheel
Inputs: color (required), count.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Every tool has a clearly distinct purpose based on specific color scheme types (e.g., analogic, complement, monochrome, quad, triad), with no overlap in functionality. The descriptions precisely differentiate each scheme's generation logic, making misselection unlikely.
All tool names follow a consistent 'generate_[scheme_type]_scheme' pattern with snake_case throughout, using descriptive adjectives (e.g., analogic_complement, monochrome_dark) to specify variations. This uniformity aids predictability and readability.
With 8 tools, the server is well-scoped for generating various color schemes, covering common types like monochrome, complementary, and triad. Each tool earns its place by addressing a distinct scheme, avoiding bloat or thin coverage.
The tool set comprehensively covers major color scheme types (e.g., monochrome, complementary, triad, quad, analogic) with light/dark variations for monochrome. A minor gap exists in lacking tools for custom inputs or adjustments (e.g., modifying schemes), but core generation is complete.
Related MCP Connectors
Unofficial Color API MCP — wraps thecolorapi.com (free, no auth)
Convert colours between hex, RGB, HSL, OKLCH and CMYK, and compute harmonies.
WCAG color contrast checks, nearest accessible color, CSS color conversion and palette pair checks.
Contrast checks with fixes, OKLCH harmonies, palettes, color-blind previews and code export.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.2MIT
- AlicenseNot gradedqualityBmaintenanceExtract palettes from images, generate harmonies, gradients, random palettes; Check WCAG and APCA contrast; Suggest nearest passing OkLCH lightness; Simulate color-blindness; Convert and sort colors across formats (hex / RGB / HSL / OkLCH / …)MIT
- AlicenseNot gradedqualityDmaintenanceProvides color and design tools including palette generation, WCAG contrast checking, color conversion, gradients, color blindness simulation, and CSS variables, all without API keys.MIT
- AlicenseNot gradedqualityBmaintenanceWraps thecolorapi.com to provide color data and information through MCP, with no authentication required.291 npmMIT