red-design-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RED_MODEL | No | Override the model name used by the configured provider. | |
| RED_TOOLS | No | Controls which tools load: unset or all, groups or tool names such as core, core,web, all,-capture_url, auto, or mixed like core,auto. | |
| RED_API_KEY | No | API key for a custom OpenAI-compatible endpoint, if needed. | |
| GROQ_API_KEY | No | Groq API key for API mode. Default model is qwen/qwen3.8-27b. | |
| RED_BASE_URL | No | Base URL for any OpenAI-compatible endpoint, such as Ollama, LM Studio, vLLM, Together or Mistral. | |
| RED_PROVIDER | No | Force a provider when several keys are set. One of anthropic, openai, google, groq, openrouter or custom. | |
| GEMINI_API_KEY | No | Google Gemini API key for API mode. Default model is gemini-3.6-flash. | |
| GOOGLE_API_KEY | No | Alias for the Google Gemini API key for API mode. Default model is gemini-3.6-flash. | |
| OPENAI_API_KEY | No | OpenAI API key for API mode. Default model is gpt-6.1-sol. | |
| RED_MAX_TOKENS | No | Cap the reply length. Default is 16000. | |
| ANTHROPIC_API_KEY | No | Anthropic API key for API mode. Default model is claude-sonnet-5-5. | |
| OPENROUTER_API_KEY | No | OpenRouter API key for API mode. Default model is anthropic/claude-sonnet-5.5. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_designB | Analyze a design image (local file path or URL) and return a structured JSON spec: layout, colors, typography, spacing, components and style keywords. |
| recreateA | Recreate a design as production-quality code. Provide an image (path or URL), a JSON spec from analyze_design, or both. Returns code only. |
| reimagineB | Reimagine a design in a new style as code. Control how far it departs from the original with the inspiration dial (0 = faithful, 100 = wild), optionally remix with a second design, and get up to 3 variations. |
| extract_tokensB | Extract design tokens (colors, fonts, spacing, radii, shadows) from a design and export them as CSS variables, a Tailwind config, W3C design tokens JSON, or Figma (Tokens Studio) JSON. |
| convert_tokensA | Convert a design-tokens JSON object (colors, fontFamilies, fontSizes, fontWeights, spacing, radii, shadows) into CSS variables, a Tailwind config, W3C tokens JSON, or Figma (Tokens Studio) JSON. Deterministic, no API key needed. |
| check_contrastB | Compute exact WCAG contrast ratios for color pairs and suggest the closest passing color for failures. Deterministic, no API key needed. |
| audit_accessibilityA | Audit a design image against WCAG 2.2: exact contrast ratios with suggested fixes, plus tap targets, text size, focus, labels and color-only meaning. Returns a scored report. |
| generate_paletteA | Generate a complete, accessible color system from one base color: a 50-950 primary scale, harmony accents, tinted neutrals, semantic colors (success, warning, danger, info) and the best label color on each primary step and each semantic color. Deterministic, no API key needed. |
| simulate_colorblindA | Simulate protanopia, deuteranopia, tritanopia and achromatopsia for a list of colors and flag pairs that look different normally but become hard to tell apart (like red vs green status badges). Deterministic, no API key needed. |
| generate_type_scaleB | Generate a modular typography scale with matching line heights, optionally fluid (CSS clamp) so text scales smoothly between a mobile and desktop viewport. Deterministic, no API key needed. |
| originality_checkA | Compare two designs (the source and your recreation or reimagination) and score how similar their palette, typography, shape and spacing are, with tips to differentiate. Pass the JSON from extract_tokens or analyze_design for each. Deterministic, no API key needed. |
| critique_designA | Get a rigorous senior-designer critique of a design: scores for hierarchy, spacing, color, typography, consistency and usability, plus strengths, prioritized issues with fixes, and quick wins. |
| design_to_promptB | Turn a design image into a ready-to-paste prompt for an AI UI generator (v0, Lovable, Bolt), an image model, or a developer handoff spec. |
| generate_design_systemA | One call, a complete starter design system from a brand color and a mood: color scales, light and dark semantic themes, font pairing, fluid type scale, spacing, radii, layered shadows, base styles, and verified contrast checks. Deterministic, no API key needed. |
| suggest_font_pairingsB | Curated Google Fonts pairings for a mood, with the @import and CSS font stacks (with safe fallbacks) ready to paste. Deterministic, no API key needed. |
| generate_shadowsB | Layered elevation shadows (xs to 2xl) in a soft or crisp style, tinted to a base color. Deterministic, no API key needed. |
| generate_spacing_scaleA | A consistent spacing scale from a base unit (4 or 8 are common), in rem or px. Deterministic, no API key needed. |
| generate_dark_themeA | Turn a light design's tokens JSON into a dark theme (data-theme and prefers-color-scheme), re-checking text and accent contrast against the new background and fixing failures. Deterministic, no API key needed. |
| contrast_matrixA | Check every text-on-background combination across a set of colors at once, with AA/AAA labels and the best accessible combos. Deterministic, no API key needed. |
| compare_designsA | Compare two design images: what is the same, what differs, a verdict, and the top 5 changes to either match the first design or differentiate from it. |
| extract_css_tokensA | Read a live website's stylesheets (or CSS you paste) and extract design tokens: colors, fonts, font sizes, radii, spacing and shadows. No screenshot or API key needed. Best on sites with real stylesheets; for pages styled by JavaScript, use capture_url with the vision tools. |
| lint_cssA | Lint CSS (pasted or from a URL) for design-system problems: low text contrast, removed focus outlines, tiny text, too many colors, font sizes or families, off-grid spacing, missing reduced-motion support, and colors that drift from your tokens. Returns a score. Deterministic, no API key needed. |
| generate_component_statesA | Generate complete, accessible button CSS from one brand color: default, hover, active, focus-visible and disabled for primary, secondary, ghost and danger variants, with every state's contrast verified. Deterministic, no API key needed. |
| generate_gradientB | Build a smooth gradient from 2 to 5 colors, interpolated in OKLab so the middle never turns muddy. Returns CSS with a fallback plus a modern |
| generate_motion_tokensB | Duration and easing tokens (instant to slower; standard, enter, exit, spring) in a snappy, balanced or relaxed feel, with an automatic prefers-reduced-motion override. Deterministic, no API key needed. |
| generate_layout_systemA | A responsive container and column grid in plain CSS (mobile-first, stacks below the chosen breakpoint) using Tailwind, Bootstrap or Material breakpoints. Deterministic, no API key needed. |
| capture_urlA | Take a screenshot of a web page and return it as an image. It is also saved to a file whose path you can pass to analyze_design, recreate, reimagine and the other vision tools. Needs Google Chrome installed, or Chromium via |
| audit_siteA | An autonomous design audit of a live website (or pasted CSS) in one call: extracts the design language, lints quality, checks palette contrast, finds color-blind risks, analyzes the type scale, and ends with a scored list of the top fixes. Deterministic, no API key needed. |
| generate_form_stylesA | Accessible form CSS from one brand color: labels, inputs, placeholders, hover, focus-visible, error and disabled states, help and error text, and checkbox/radio accents, with every contrast requirement verified. Deterministic, no API key needed. |
| generate_faviconA | Create a crisp SVG monogram favicon (1 or 2 letters) on a square, rounded or circle shape in your brand color, with the letter color chosen for readable contrast, plus the HTML tags to use it. Deterministic, no API key needed. |
| generate_chart_paletteA | Data-visualization colors that stay readable for everyone: a colorblind-safe categorical palette (up to 8), a sequential ramp from one color with steadily falling lightness, or a diverging palette with a neutral midpoint. Includes verification notes. Deterministic, no API key needed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| redesign | Reimagine a design or website in a new style, then verify accessibility and originality. |
| clone-site | Capture a site, extract its tokens and recreate it as clean, accessible code. |
| design-system | Generate a full design system and write it into the project. |
| accessibility-pass | Audit a design, page or stylesheet, then fix what fails. |
| brand-refresh | Refresh an existing look while keeping what works. |
| design-review | A senior-designer review with prioritized fixes. |
| polish-css | Lint a stylesheet and iterate until it scores 90 or more. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Descriptions are unusually explicit about inputs and outputs, which separates most tools (extract_tokens from an image vs. extract_css_tokens from stylesheets vs. convert_tokens from JSON). However, there are real near-neighbor clusters: check_contrast/contrast_matrix/audit_accessibility, lint_css vs. audit_site (a superset composite), and analyze_design/audit_accessibility/critique_design/compare_designs all operate on a design image with subtly different angles. An agent can resolve these by reading carefully, but misselection is plausible across 31 tools.
The dominant pattern is verb_noun snake_case (analyze_design, generate_palette, extract_tokens, lint_css, capture_url), applied across the large majority of the surface. A few noun-first outliers (originality_check, contrast_matrix, design_to_prompt) and bare verbs (recreate, reimagine) break the pattern slightly but remain readable and predictable.
31 tools is well above the comfortable range for one server, and the seven micro-generators (shadows, spacing, type scale, gradient, motion, layout, favicon) are largely sub-parts of generate_design_system, creating redundant surface. Each tool is individually single-purpose and defensible, but consolidation would make the set easier to navigate.
Coverage is broad and coherent: analyze → recreate/reimagine → tokens → audit → lint → generate a full system, spanning vision, accessibility, and deterministic generation, with a capture_url bridge between live sites and the vision tools. Minor gaps remain around iterating on or persisting generated code/outputs, but the core lifecycle from input to a complete design system is closed.