Serveur MCP

Mlola UI

io.github.mlolahq/mlola-ui
Design et création Outils développeur Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Provides Mlola UI components, design tokens, usage rules, installation guidance, component search, and HTML or JSX markup validation.

check_markup
Check markup against the Mlola contract
Checks HTML or JSX: classes that do not exist, variant classes, data-* values a class does not react to, utility classes, misuse of data-theme or data-mode, and in style attributes, <style> blocks and utility classes (bg-[#fafafa]) hand-written colors, spacing written by hand instead of the --ml-space-* scale, overridden theme tokens and text faded with opacity. Each issue names its line. Run it on markup you wrote before finishing: pass the whole page or file, <style> blocks included, not an excerpt, since it only checks what it is given.
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['markup'], 'properties': {'markup': {'type': 'string'}}, 'additionalProperties': False}
get_component
How to use a Mlola component
Everything needed to use one item: import, every prop with fixed values (variant, tone, size, side…) and its default, the classes it styles and the data-* values each reacts to, dependencies and the install command. Set include_source to read a free component's source.
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string'}, 'include_source': {'type': 'boolean', 'default': False}}, 'additionalProperties': False}
get_design_rules
Mlola design rules
The rules for building UI with Mlola: compose first, color by role, measure with the scales, shared state words, touch and focus. Read once before writing UI.
Lecture seule
Schéma d’entrée
{'type': 'object', 'properties': {}, 'additionalProperties': False}
get_install_command
How to install Mlola components
How to set Mlola up: the commands to run in a project to add components, blocks, pages or templates (with the license step for Mlola Pro items), and the stylesheet link and script for a page with no build step. Leave names out for the setup alone.
Lecture seule
Schéma d’entrée
{'type': 'object', 'properties': {'names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Item names from search_components, for example ["button", "date-picker"].'}}, 'additionalProperties': False}
get_tokens
Mlola design tokens
The --ml-* tokens grouped by purpose (planes and ink, color roles, spacing, type, density, shape, depth, motion, layers…). Filter with a group name or part of a token name.
Lecture seule
Schéma d’entrée
{'type': 'object', 'properties': {'group': {'type': 'string', 'description': "For example 'spacing', 'color', 'shadow', 'radius'."}}, 'additionalProperties': False}
search_components
Search Mlola components
Find components, blocks, pages and templates by what they do (for example 'date range', 'chat input', 'pricing'). Returns name, tier (free or Mlola Pro) and a one-line description.
Lecture seule
Schéma d’entrée
{'type': 'object', 'properties': {'kind': {'enum': ['component', 'block', 'page', 'template'], 'type': 'string'}, 'tier': {'enum': ['free', 'pro'], 'type': 'string'}, 'query': {'type': 'string', 'description': 'Words describing what you need. Empty lists everything.'}}, 'additionalProperties': False}
Modifié
check_markup
2 October 2026 02:40
Modifié
get_install_command
30 September 2026 02:40
Modifié
check_markup
30 September 2026 02:40
Ajouté
get_install_command
28 September 2026 02:40
Ajouté
check_markup
28 September 2026 02:40
Ajouté
get_tokens
28 September 2026 02:40
Ajouté
get_component
28 September 2026 02:40
Ajouté
search_components
28 September 2026 02:40
Ajouté
get_design_rules
28 September 2026 02:40