io.github.lazymac2x/color-palette

Official registry Cloud and DevOps

Cloudflare Workers MCP server: color-palette

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http color-palette 'https://api.lazy-mac.com/color-palette/mcp'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "color-palette": {
            "type": "http",
            "url": "https://api.lazy-mac.com/color-palette/mcp"
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. color-palette-api
  2. Quick Start
  3. Endpoints
  4. License

color-palette-api

⭐ Building in public from $0 MRR. Star if you want to follow the journey — lazymac-mcp (42 tools, one MCP install) · lazymac-k-mcp (Korean wedge) · lazymac-sdk (TS client) · api.lazy-mac.com · Pro $29/mo.

🚀 Want all 42 lazymac tools through ONE MCP install? npx -y @lazymac/mcp · Pro $29/mo for unlimited calls.

Color palette generation API — harmonies, gradients, contrast checking, WCAG accessibility scoring, CSS/Tailwind output. Zero external dependencies.

Quick Start

npm install && npm start  # http://localhost:4000

Endpoints

Convert
curl http://localhost:4000/api/v1/convert/ff6b35
# → {"hex":"#ff6b35","rgb":{"r":255,"g":107,"b":53},"hsl":{"h":16,"s":100,"l":60}}
Color Harmonies
# Types: complementary, analogous, triadic, split, tetradic, monochromatic
curl http://localhost:4000/api/v1/harmony/complementary/ff6b35
curl http://localhost:4000/api/v1/harmony/triadic/3498db
curl http://localhost:4000/api/v1/harmony/monochromatic/e74c3c?count=7
Gradient
curl "http://localhost:4000/api/v1/gradient/ff6b35/3498db?steps=7"
# → colors array + CSS gradient string
Contrast / WCAG Accessibility
curl http://localhost:4000/api/v1/contrast/000000/ffffff
# → {"ratio":21,"AA_normal":true,"AA_large":true,"AAA_normal":true,"AAA_large":true}

curl http://localhost:4000/api/v1/contrast/ff6b35/ffffff
# → Check if your orange text passes accessibility on white background
Random Palette
curl "http://localhost:4000/api/v1/random?count=5"
CSS Variables
curl -X POST http://localhost:4000/api/v1/css \
  -H "Content-Type: application/json" \
  -d '{"colors":["#ff6b35","#3498db","#2ecc71"], "name":"brand"}'
Tailwind Config
curl -X POST http://localhost:4000/api/v1/tailwind \
  -H "Content-Type: application/json" \
  -d '{"colors":["#fef3c7","#fde68a","#fcd34d","#fbbf24","#f59e0b","#d97706","#b45309","#92400e","#78350f","#451a03"], "name":"amber"}'

License

MIT

💡 Host your own stack? Get $200 DigitalOcean credit via lazymac referral link.

Frequently asked questions

What is io.github.lazymac2x/color-palette?

Cloudflare Workers MCP server: color-palette

How do I install io.github.lazymac2x/color-palette?

It runs as a remote server. In Claude Code: claude mcp add --transport http color-palette 'https://api.lazy-mac.com/color-palette/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.lazymac2x/color-palette need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.lazymac2x/color-palette open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.lazymac2x/color-palette?

It is published by lazymac2x. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.