Sponsored by Deepsite.site

Color Scheme Generator MCP Server

Created By
deepakkumardewani7 months ago
An MCP server to generate color schemes
Content

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
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors