UI Design MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The port to listen on when using HTTP transport. Defaults to 3100. | 3100 |
| TRANSPORT | No | The transport mode. Defaults to 'stdio'. Set to 'http' to enable Streamable HTTP. | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ui_generate_color_paletteA | Generate a cohesive, harmonious color palette from a base color using color theory principles. Supports multiple harmony schemes: monochromatic, analogous, complementary, split_complementary, triadic, and tetradic. Also generates neutral grays and semantic color roles (primary, secondary, accent, background, etc.). Args:
Returns: A color palette with hex/rgb/hsl values, semantic role assignments, usage guidance, and CSS custom properties. Examples:
|
| ui_suggest_typographyA | Suggest a curated font pairing (display + body font) based on a design style. Provides Google Fonts import links, CSS font-family declarations, recommended weights, and usage notes. Args:
Returns: Font pairing with display font, body font, Google Fonts link, CSS snippet, and usage notes. Examples:
|
| ui_generate_type_scaleA | Generate a modular typography scale using a chosen ratio. Produces a full set of type sizes from 'xs' to '4xl' with px, rem, line-height, weight, and usage recommendations. Args:
Returns: Typography scale with named sizes, px/rem values, line heights, and CSS variables. Examples:
|
| ui_generate_spacing_scaleA | Generate a consistent spacing scale for layout and component spacing. Supports multiple generation strategies: linear (equal steps), geometric (exponential growth), and fibonacci (golden ratio progression). Args:
Returns: Spacing scale with named steps (0 to 3xl), px/rem values, usage guidance, and CSS custom properties. Examples:
|
| ui_generate_shadow_systemA | Generate a cohesive elevation shadow system with multiple depth levels. Supports three visual styles: subtle (soft, minimal), medium (balanced depth), and sharp (crisp, defined edges). Args:
Returns: Shadow system with 5 elevation levels (sm, md, lg, xl, 2xl), CSS box-shadow values, usage guidance, and CSS custom properties. Examples:
|
| ui_generate_border_radius_scaleA | Generate a border-radius scale with named levels from sharp to fully rounded. Supports four visual styles: sharp (minimal radius), subtle (small radius), rounded (medium radius), and pill (large/pill radius). Args:
Returns: Border radius scale with 6 levels (none to full), px/rem values, usage guidance, and CSS custom properties. Examples:
|
| ui_check_color_contrastA | Check the WCAG 2.1 color contrast ratio between a foreground and background color. Evaluates against WCAG AA (4.5:1 for normal text, 3:1 for large text) and AAA (7:1 for normal text, 4.5:1 for large text) standards. Args:
Returns: Contrast ratio, pass/fail for each WCAG level, overall grade, and actionable recommendations. Examples:
|
| ui_generate_gradientA | Generate a CSS gradient from a base color with automatic color stop generation. Supports linear and radial gradients with configurable angle and number of stops. Color stops are generated using color theory for harmonious transitions. Args:
Returns: CSS gradient string, color stops, and raw values. Examples:
|
| ui_suggest_breakpointsA | Generate a responsive breakpoint system with named breakpoints, container max-widths, and CSS media queries. Supports popular frameworks (Tailwind, Bootstrap, Material) and custom breakpoints, with mobile-first or desktop-first strategies. Args:
Returns: Breakpoint definitions with px values, container max-widths, usage guidance, and ready-to-use CSS media queries. Examples:
|
| ui_generate_design_tokensA | Generate a complete, cohesive design token system in a single call. Combines colors, typography, spacing, shadows, border-radius, and transitions into one unified token set with CSS custom properties. Tokens are harmonized based on the chosen style preset. Args:
Returns: Complete design token set with all categories (colors, typography, spacing, shadows, radii, transitions) as CSS custom properties, ready to paste into a project. Examples:
|
| design_initA | Initialize a new design project. Sets the overall style, generates a complete token set, and clears any previous state. The client dashboard will update in real-time when this is called. Args:
Examples:
|
| design_add_componentA | Add a UI component to the design canvas. The component will appear in the client dashboard in real-time. Component types: hero, navbar, card, card_grid, button, form, text_section, image, cta, footer, stats, timeline, pricing, testimonial, faq, feature_list, banner, tabs, accordion, carousel, modal, sidebar, breadcrumb, pagination, progress, badge, avatar Each type has variants:
Args:
Examples:
|
| design_update_componentA | Update properties of an existing component on the canvas. Changes appear in real-time on the client dashboard. Args:
Example:
|
| design_set_animationA | Set animation for a component. The client dashboard will play the animation in real-time. Animation entries: fadeUp, fadeIn, scaleIn, slideRight, slideLeft, slideUp, spring Curves: ease, easeOut, easeInOut, spring, linear, bounce Args:
Example:
|
| design_get_stateA | Get the complete current design state including all tokens, components, and animations. Use this to check what's on the canvas before making changes, or to see if the user has made manual adjustments via the client dashboard. Returns: Full design state (project name, style, all tokens, component tree, activity log) |
| design_set_tokenA | Set or update a single design token. The client dashboard updates in real-time. Categories: colors, typography, spacing, shadows, radii, transitions Args:
Example:
|
| design_remove_componentA | Remove a component from the canvas by its ID. Args:
Example:
|
| design_undoA | Undo the last design operation. Reverts the most recent change to the design state. No arguments required. Returns whether the undo was successful and the current state summary. |
| design_redoA | Redo the last undone operation. Re-applies the most recently undone change. No arguments required. Returns whether the redo was successful and the current state summary. |
| design_add_pageA | Add a new page to the design project. The new page becomes the current active page. Args:
Example:
|
| design_switch_pageB | Switch to a different page in the design project. Args:
Example:
|
| design_remove_pageB | Remove a page from the design project by its ID. Args:
Example:
|
| design_apply_templateA | Apply a pre-built page template. Automatically adds multiple components to the current page. Available templates:
Args:
Example:
|
| design_exportA | Export the current design as code in the specified format. Supported formats:
Args:
Example:
|
| design_reorder_componentA | Reorder a component relative to another component in the canvas. Args:
Example:
|
| design_set_themeA | Set the theme mode for the design project (light or dark). The client dashboard will update accordingly. Args:
Example:
|
| design_get_conflictsA | Check for token conflicts such as low contrast color combinations or inconsistent spacing. No arguments required. Returns a list of conflicts found, or an empty list if none. |
| design_check_promptsA | Check if the user has sent any natural language prompts via the client dashboard. If a pending prompt exists, it is returned and then cleared. Use this to periodically poll for user instructions sent from the browser client. No arguments required. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/lnksoul1/prism-ui-design-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server