{"name":"color-palette","protocol":"mcp","transport":"streamable-http","description":"MCP endpoint for color conversion, harmonies, gradients, WCAG contrast, CSS variables, and Tailwind config generation.","method":"POST","jsonrpc":"2.0","tools":[{"name":"convert_color","description":"Convert a hex color to HEX, RGB, HSL, and CMYK formats. Input: hex string with or without # (e.g. \"ff5733\")."},{"name":"color_harmony","description":"Generate a set of harmonious colors from a base hex color. Harmony types: complementary, analogous, triadic, split, tetradic, monochromatic."},{"name":"generate_gradient","description":"Generate an interpolated gradient between two hex colors. Returns color stops and a ready-to-use CSS linear-gradient string."},{"name":"check_contrast","description":"Check WCAG 2.1 contrast ratio between foreground and background colors. Returns ratio and AA/AAA pass/fail for both normal and large text."},{"name":"random_palette","description":"Generate a random harmonious color palette. Colors share a hue family to avoid clashing."},{"name":"generate_css","description":"Generate CSS :root custom properties from a list of hex colors. Returns a ready-to-paste CSS block."},{"name":"generate_tailwind","description":"Generate a Tailwind CSS color config object. Colors are mapped to standard shades (50, 100, 200 … 900) in order. Paste the result into tailwind.config.js theme.extend.colors."}],"examples":{"initialize":{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}},"tools_list":{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}},"tools_call":{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"convert_color","arguments":{"color":"ff5733"}}}},"docs":"https://modelcontextprotocol.io/"}