Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UI Preset MCP ServerApply the client-fintech preset and autocorrect this React component code"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UI Preset MCP Server
MCP server for auto-configuring React UI against a swappable glassmorphic preset system. Integrates with your Monaco IDE to enforce design uniformity across all business builds.
Architecture
MCP Tools
Preset Management
Tool | Description |
| Activate a preset bundle by ID |
| Hot-swap active preset without restart |
| List all available presets |
| Compare token/component differences between two presets |
| Generate a new preset directory from a parent |
| Check active preset and runtime overrides |
Correction & Generation
Tool | Description |
| Auto-fix React component against active preset |
| Validate component and get conformance score (0–100) |
| Generate a component from a preset template |
| Export tokens as CSS vars, JS, JSON, or Tailwind config |
| Layer runtime token overrides on the active preset |
Installation
Usage
stdio (for Monaco IDE integration)
HTTP server
Dev mode with hot-reload
Typical Workflow
Creating New Presets
New presets only need to override tokens that differ from the parent:
All base tokens, components, and layouts are inherited automatically.
Correction Rules
The correction engine enforces these rules on every component:
no-hardcoded-colors (error): All color values must use CSS custom properties
no-hardcoded-spacing (warning): Spacing should use the token scale
enforce-glass-surface (error): Surface elements must have
backdropFilter+ semi-transparent bgno-hardcoded-font-family (error): Font families must use typography tokens
use-animation-tokens (warning): Transitions must use animation tokens
enforce-sidebar-components (error): Sidebar content must use NavGroup/NavItem
enforce-settings-components (error): Settings UI must use OptionGroup/OptionRow
a11y-img-alt (warning): Images must have alt attributes
a11y-icon-button-label (warning): Icon buttons need aria-label
Monaco Integration
In your Monaco editor, call autocorrect_component on the save event: