Skip to main content
Glama

Color Scheme Generator MCP Server

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:

  1. Monochrome Schemes: Variations of a single hue
    • Standard monochrome
    • Dark monochrome
    • Light monochrome
  2. 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

Prerequisites

  • Node.js (v18 or later)
  • npm, yarn, or pnpm
  • An MCP client (e.g., Claude Desktop, Cursor)

Installation

  1. Clone and install dependencies:
    git clone <repository-url> cd colors-mcp-server npm install
  2. Build the server:
    npm run build
  3. Configure 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_scheme
  • generate_monochrome_dark_scheme
  • generate_monochrome_light_scheme
  • generate_analogic_scheme
  • generate_complement_scheme
  • generate_analogic_complement_scheme
  • generate_triad_scheme
  • generate_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.js

Project Structure

  • src/index.ts: Main server entry point
  • src/tools/index.ts: Color scheme generation tools
  • src/prompts/index.ts: Usage guidance prompts
  • build/: Compiled TypeScript output
-
security - not tested
F
license - not found
-
quality - not tested

Generates harmonious color schemes for design projects using The Color API, offering eight different palette generation methods including monochrome, analogic, complement, triad, and quad schemes.

  1. Features
    1. Prerequisites
      1. Installation
        1. Usage
          1. Color Input Formats
          2. Parameters
          3. Available Tools
          4. Example Usage
        2. Output Format
          1. Debugging
            1. Project Structure

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables high-quality image generation using the Flux.1 Schnell model via Together AI with customizable parameters.
                Last updated -
                1
                29
                8
                JavaScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                Provides tools for accessing coding style guidelines and best practices for various technologies including Java, Python, and React.
                Last updated -
                Python
              • -
                security
                A
                license
                -
                quality
                Provides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.
                Last updated -
                1
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                Provides image generation capabilities for Claude using the Replicate Flux model, allowing users to create images from text prompts with customizable parameters like aspect ratio and output format.
                Last updated -
                145
                19
                JavaScript
                MIT License
                • Apple

              View all related MCP servers

              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/deepakkumardewani/color-scheme-mcp'

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