MCP server for the Web UI Component Specification — behavioral specs, tests, and principles for web UI component libraries
Strong tool naming and descriptions across all 10 tools. All tools have clear action verbs (list_, get_, search_, validate_) and descriptions ranging 100-250 chars, well within the 10-1024 baseline. Input schemas are present and properly typed with JSON Schema. However, output schemas are not documented, LLMs cannot predict response structure. Parameters lack some specificity (e.g., 'component' accepts both names and IDs but no validation guidance). Error handling and recovery guidance are absent. No tool annotations (readOnlyHint, destructiveHint). Overall solid foundation but missing production-grade polish.
Return the full behavioral specification for a single component. Includes description, all main features, secondary features (accessibility, keyboard navigation, touch, responsive, i18n, etc.), and implementation notes. Use this when implementing a component from scratch.
Return a lightweight summary for one or more components — description and main features only, no secondary features or test scenarios. Use this for planning and surveying before deep implementation work.
Return only the Test Scenarios for one or more components. Use this when writing tests or reviewing an implementation against the spec. More token-efficient than get_component_spec when tests are all you need.
Return a curated component list and recommended build order for a project type. Use this when starting a library from scratch to get a sensible scope and sequence. Pass 'list' as scenario to see all available options.
Return content from the Core Principles section of the spec. Fetch only the section you need to minimize context usage. Use 'philosophy' when starting any component work. Use 'design_tokens' when reviewing token definitions. Use 'all' sparingly.
Output schemas not documented. LLMs cannot predict response structure (fields, types, nesting). Tools return structured data but responses are opaque to the agent.
Parameter 'component' and 'components' accept both names and IDs but lack validation guidance. Description says 'e.g. Modal, Button' or '46, 16' but no regex, enum, or format constraint. LLMs may pass invalid values.
No error handling or recovery guidance. Tools do not document what happens on invalid input (e.g., unknown component name, invalid scenario). No actionable error messages defined.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2026-07-28+ | v2 |
Return dependency and relationship information for a component: what it depends on, what depends on it, and what it's commonly confused with. Call this before implementing to understand what needs to be built first.
Return one or more steps from the Step-by-Step Build Guide. Fetch only the steps relevant to the current phase of work. e.g. pass [1, 2, 3] when defining design tokens, [7, 8] when building components.
List all components in the Web UI Component Specification. Returns name, id, category, tier, and one-line summary for each. Always call this first in a new session to establish what exists. Optionally filter by category or tier.
Fuzzy search across component names, descriptions, and features. Use this when you know what behavior you need but not which component provides it. e.g. 'focus trap', 'date range', 'file upload', 'keyboard navigation'
Compare an implementation against the spec's Main Features and Test Scenarios. Returns a coverage report showing what's covered, what's missing, and an overall status. Use this to QA a component before marking it done.
No tool annotations. All tools are read-only but lack readOnlyHint annotation. Agents cannot distinguish safe tools from destructive ones without explicit hints.
Parameter descriptions lack format/constraint details. E.g., 'tier' accepts 'Basic', 'Intermediate', 'Advanced' but no enum constraint. 'limit' defaults to 8 but no min/max bounds stated. LLMs may pass invalid values.