Elementum Design System MCP

Component schemas, design tokens, snippet generation, and WCAG lint for @wcomp/elementum.

Sollte ich dies verwenden

Qualität und Sicherheit

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

Befunde (2)

  • LOWTool 'scaffold_component' description lacks action verbin scaffold_component
  • LOWTool 'validate_accessibility' description lacks action verbin validate_accessibility

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

Kontextkosten

~1,155Tokens (Tool-Definitionen)
~678 BTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (0.90% 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": {
    "elementum": {
      "command": "npx",
      "args": [
        "@wcomp/elementum"
      ]
    }
  }
}

Ausführbare Pakete

npm@wcomp/elementum0.8.0stdio

Remote-Endpunkte

https://elementum-sage.vercel.app/api/mcpstreamable-http
https://elementum-sage.vercel.app/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (10)

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

Lists all available Web Components in the Elementum Design System.

Eingabe-Schema

{
  "type": "object",
  "properties": {}
}
🟢get_component_doc(tag, section)

Retrieves structured component API metadata (separated closed variants, boolean states, props, composition/JS constraints, events, slots, CSS parts, and standalone usage examples) for an Elementum component.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tag": {
      "type": "string",
      "description": "The custom element tag name, e.g. \"el-button\" or \"el-badge\""
    },
    "section": {
      "type": "string",
      "enum": [
        "all",
        "schema",
        "examples"
      ],
      "description": "Optional filter: 'schema' returns variants, states, props, constraints, events, slots & parts without usage examples; 'examples' returns only usage examples; 'all' (default) returns both as separate sections."
    }
  },
  "required": [
    "tag"
  ]
}
🟢list_tokens(category)

Lists Figma design tokens (colors, spacing, radii) for the design system.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "color",
        "spacing",
        "radius",
        "all"
      ],
      "description": "Token category to filter by."
    }
  }
}
🟢generate_snippet(tag, variant, size, label, disabled)

Generates valid Elementum Web Component HTML markup matching Figma variants.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tag": {
      "type": "string",
      "description": "Component tag, e.g. \"el-button\""
    },
    "variant": {
      "type": "string",
      "description": "Visual variant, e.g. \"primary\", \"secondary\", \"danger\""
    },
    "size": {
      "type": "string",
      "description": "Size variant, e.g. \"sm\", \"md\", \"lg\""
    },
    "label": {
      "type": "string",
      "description": "Content text for the default slot"
    },
    "disabled": {
      "type": "boolean",
      "description": "Whether the element is disabled"
    }
  },
  "required": [
    "tag"
  ]
}
🟢scaffold_component(tag, name, description, formAssociated, attributes)

Scaffolds standard boilerplate JavaScript code for a new Elementum Web Component adhering to design system standards.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tag": {
      "type": "string",
      "description": "Component tag, e.g. \"el-card\""
    },
    "name": {
      "type": "string",
      "description": "Component class name, e.g. \"ElCard\""
    },
    "description": {
      "type": "string",
      "description": "Component description"
    },
    "formAssociated": {
      "type": "boolean",
      "description": "Whether the component associates with forms"
    },
    "attributes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Observed attributes, e.g. [\"variant\", \"disabled\"]"
    }
  },
  "required": [
    "tag"
  ]
}
🟢lint_accessibility(markup)

Static HTML accessibility linter for common WCAG 2.2 labeling and attribute issues (not a substitute for real-browser axe-core auditing).

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "markup": {
      "type": "string",
      "description": "HTML markup snippet to inspect"
    }
  },
  "required": [
    "markup"
  ]
}
🟢validate_accessibility(markup)

Alias for lint_accessibility: static HTML accessibility linter for common WCAG 2.2 labeling issues.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "markup": {
      "type": "string",
      "description": "HTML markup snippet to inspect"
    }
  },
  "required": [
    "markup"
  ]
}
🟢suggest_component(query, limit)

Recommends Elementum Web Components that best match a UI requirement or natural-language query.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "UI requirement, e.g. \"date picker\", \"code diff\", \"command palette\""
    },
    "limit": {
      "type": "number",
      "description": "Maximum results to return (default 5)"
    }
  },
  "required": [
    "query"
  ]
}
🟢validate_component_usage(markup)

Validates <el-*> tags and attributes in an HTML snippet against the live Custom Elements Manifest to catch hallucinated tags or props.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "markup": {
      "type": "string",
      "description": "HTML snippet containing <el-*> components"
    }
  },
  "required": [
    "markup"
  ]
}
🟢get_component_maturity

Returns machine-readable package version, component count, stability tier, and browser/testing verification metadata.

Eingabe-Schema

{
  "type": "object",
  "properties": {}
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet10 Tools
verifiziertVersion nicht aufgezeichnet10 Tools