# Mlola UI

> Mlola UI is an MCP server for developer tools. Give coding agents Mlola UI components, design tokens and rules, plus a markup checker. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** CLI, API, Web
- **Website:** https://ui.mlola.com/docs/agents
- **Repository:** https://github.com/mlolahq/mlola-ui/tree/HEAD/packages/cli
- **MCP Registry name:** io.github.mlolahq/mlola-ui
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-23

## About

Mlola UI is a component library, and this server lets an agent answer from the library itself instead of from memory. It serves component docs, tokens and design rules, and includes a checker that validates the markup an agent writes against the library.

The docs cover a wide set of components, from accordions and charts to a block editor, command menus and AI-oriented pieces such as confidence text and context cards. A page on coding agents explains how to tell Claude Code, Cursor, Codex or VS Code that your UI is Mlola.

Use the npm package mlola-ui over stdio (version 1.15.2 listed) or the hosted endpoint at ui.mlola.com/mcp.

## Features

- **Library-grounded answers:** Answers from the components, not guesses.
- **Design tokens:** Provides tokens and design rules.
- **Markup checker:** Checks agent-written markup.
- **Two ways to connect:** Runs over stdio or a hosted URL.
- **Client setup guidance:** Documents Claude Code, Cursor, Codex and VS Code.

## Good for

- Build a screen with the right components
- Check generated markup for mistakes
- Look up a component's props and tokens
- Migrate from shadcn/ui

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mlola-ui https://ui.mlola.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "type": "http",
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://ui.mlola.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "type": "http",
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://ui.mlola.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mlola-ui --url https://ui.mlola.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mlola-ui]
url = "https://ui.mlola.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "httpUrl": "https://ui.mlola.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mlola-ui https://ui.mlola.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "serverUrl": "https://ui.mlola.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "type": "streamableHttp",
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mlola-ui": {
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://ui.mlola.com/mcp
```

Enter a Name (for example "Mlola UI"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mlola-ui": {
      "type": "http",
      "url": "https://ui.mlola.com/mcp"
    }
  }
}
```

## Tools

The server marks all 9 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `get_design_rules` (says read-only): The rules for building UI with Mlola: compose first, color by role, measure with the scales, shared state words, touch and focus; the project setup (the theme on <html>, every theme's fonts); and what each layout primitive does. Read once before writing UI.
- `search_components` (says read-only): 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.
- `get_component` (says read-only): 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.
- `get_tokens` (says read-only): 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.
- `check_markup` (says read-only): Checks HTML or JSX: classes and --ml-* tokens that do not exist (with the closest that do), variant classes, data-* values and React props a component does not take, a control's class on an element that cannot be operated (ml-button on a div), buttons, links, fields and images with no name, utility classes, misuse of data-theme or data-mode, and in style attributes, <style> blocks and utility clas
- `get_render_catalog` (says read-only): The components an agent may compose at runtime with Mlola Render, as A2UI v0.9 messages: each component's props and allowed values, how surfaces, data binding and actions work, and complete examples. Read once before composing a surface. format "schema" returns the A2UI catalog (JSON Schema) instead.
- `check_render` (says read-only): Checks A2UI messages (createSurface, updateComponents, updateDataModel, deleteSurface) against the Mlola Render catalog before they render: components and props that do not exist, values a component does not offer, colors or styles set by hand, fields and controls without a name, a missing root, children that do not exist or form a loop, headings that skip a level, values outside a range. Each err
- `render_ui` (says read-only): Shows an interface in the conversation: a form, a status card, a table of results. Pass A2UI messages composed from the Mlola Render catalog (read get_render_catalog first); they are checked, and drawn with Mlola components where the host shows MCP Apps. When the person presses a button, their next message carries the A2UI action with what they entered. Where the host shows no apps, this answers w
- `get_install_command` (says read-only): 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.

## FAQ

### How do I connect?

Use the mlola-ui npm package or https://ui.mlola.com/mcp.

### Which clients are documented?

Claude Code, Cursor, Codex and VS Code.

### Does Mlola UI check my code?

It includes a markup checker.

### Is there a migration guide?

The docs include one from shadcn/ui.

### How do I add Mlola UI to Claude Code?

Run this command in your terminal: claude mcp add --transport http mlola-ui https://ui.mlola.com/mcp

### What are the best alternatives to Mlola UI?

The closest alternatives to Mlola UI are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mlola-ui
