Mlola UI

Mlola UI components, tokens and design rules for coding agents, with a markup checker

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
75%
Qualität der Benennung
100%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~1,292Tokens (Tool-Definitionen)
~565 BTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.01% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "mlola-ui": {
      "command": "npx",
      "args": [
        "mlola-ui"
      ]
    }
  }
}

Ausführbare Pakete

npmmlola-ui1.15.2stdio

Remote-Endpunkte

https://ui.mlola.com/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (9)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢get_design_rules

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢search_components(query, kind, tier)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Words describing what you need. Empty lists everything."
    },
    "kind": {
      "type": "string",
      "enum": [
        "component",
        "block",
        "page",
        "template"
      ]
    },
    "tier": {
      "type": "string",
      "enum": [
        "free",
        "pro"
      ]
    }
  },
  "additionalProperties": false
}
🟢get_component(name, include_source)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "include_source": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
🟢get_tokens(group)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "group": {
      "type": "string",
      "description": "For example 'spacing', 'color', 'shadow', 'radius'."
    }
  },
  "additionalProperties": false
}
🟢check_markup(markup)

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 classes (bg-[#fafafa]) what is typed by hand instead of read from a token: colors, spacing, type sizes, radii, shadows, durations, layers, overridden theme tokens and text faded with opacity. Each issue names its line and the fix. 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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "markup": {
      "type": "string"
    }
  },
  "required": [
    "markup"
  ],
  "additionalProperties": false
}
🟢get_render_catalog(format)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "guide",
        "schema"
      ],
      "default": "guide"
    }
  },
  "additionalProperties": false
}
🟢check_render(messages)

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 error names its JSON Pointer path and the fix. Pass every message of the surface: one object, an array, or JSON Lines.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "messages": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        {
          "type": "object"
        },
        {
          "type": "string"
        }
      ],
      "description": "The A2UI messages: an array of message objects, one message, or their JSON text (JSON Lines works too)."
    }
  },
  "required": [
    "messages"
  ],
  "additionalProperties": false
}
🟢render_ui(messages)

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 with the check's report.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "messages": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        {
          "type": "object"
        },
        {
          "type": "string"
        }
      ],
      "description": "The A2UI messages of the surface: createSurface, updateComponents, updateDataModel."
    }
  },
  "required": [
    "messages"
  ],
  "additionalProperties": false
}
🟢get_install_command(names)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Item names from search_components, for example [\"button\", \"date-picker\"]."
    }
  },
  "additionalProperties": false
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet9 Tools
verifiziertVersion nicht aufgezeichnet9 Tools
verifiziertVersion nicht aufgezeichnet9 Tools
verifiziertVersion nicht aufgezeichnet9 Tools
verifiziertVersion nicht aufgezeichnet9 Tools
verifiziertVersion nicht aufgezeichnet6 Tools
verifiziertVersion nicht aufgezeichnet6 Tools