Skip to main content
Glama
nuwax-openui-mcp

nuwax-openui-mcp

Official
by nuwax-ai

Nuwax OpenUI MCP

pnpm workspace containing the Nuwax OpenUI MCP server and its frozen renderer runtime.

Packages

Package

Path

Description

@nuwax-ai/openui-mcp

packages/server

Lean stdio MCP server: OpenUI authoring guidance, validation, and durable artifact generation. Does not load the renderer at runtime.

@nuwax-ai/openui-runtime

packages/runtime

Frozen, self-contained OpenUI renderer bundle (runtime.js + runtime.css) for sidecar / file preview.

See packages/server/README.md for the MCP server contract, installation, and artifact format.

Related MCP server: widget-studio

Development

pnpm install
pnpm verify          # format + lint + typecheck + test + build (both packages)

The server keeps its runtime lean: the component JSON Schema and authoring reference are precomputed at build time (pnpm gen:openui → packages/server/src/generated/) and read as static files, so the stdio process never imports @openuidev/react-ui or react-dom.

Publishing

pnpm publish --filter @nuwax-ai/openui-mcp
pnpm publish --filter @nuwax-ai/openui-runtime

Available Tools

2 tools
nuwax_get_openui_referenceGet Nuwax OpenUI authoring referenceA
Read-onlyIdempotent

Get the authoritative OpenUI Lang contract before creating a complex Nuwax UI. Use format=guide for syntax, component signatures, and examples; use format=schema for the complete renderer-generated JSON Schema. Use this instead of guessing syntax or searching local package files. Choose dashboard for tables/charts, form for inputs, basic for cards/content, and all only as a fallback.

Inputs: format, profile.

nuwax_render_openuiRender Nuwax OpenUIA

Create or update a durable OpenUI artifact in the active project. Use this whenever the user asks to show, render, visualize, preview, or build a card, dashboard, chart, table, report, form, status panel, or other structured interface—even if they do not mention OpenUI. The tool writes data/{artifactId}.openui.json and returns a lightweight reference. Reuse artifactId to update an existing UI. OpenUI Lang is assignment-based and is NEVER XML/HTML/JSX: start with root = Stack(...), use positional arguments, and reference every defined variable. For complex UI or uncertain component signatures, call nuwax_get_openui_reference first. Reactive filters must handle empty initial bindings, and dynamic pie/radial charts must guard zero totals. Use inline for compact conversation UI and sidecar only for a full page.

Inputs: title (required), document (required), presentation (required), schemaVersion (required), +3 more. Returns: path, type, title, digest, +4 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one retrieves reference documentation for OpenUI syntax, the other creates or updates OpenUI artifacts. No overlap in functionality.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with the 'nuwax_get_' and 'nuwax_render_' prefixes, making them predictable and easy to understand.

    Tool Count3/5

    With only 2 tools, the server feels minimally scoped. While it covers the core operations of getting guidance and rendering artifacts, it lacks additional utilities like listing or deleting, which may be needed.

    Completeness2/5

    The tool set covers documentation retrieval and artifact creation/update, but is missing essential operations like listing existing artifacts, deleting them, or validating schemas, leaving notable gaps in the lifecycle.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server that lets agents create, display, and export rich UI widgets (cards, dashboards, charts, forms) inline in conversations, with interactive iframe support in MCP Apps hosts and PNG image fallback for other clients.
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides read-only MCP tools for discovering UI libraries, recommending minimal compatible UI stacks, and auditing plans to enforce deterministic UI policy and quality gates for coding agents.
      7
      71 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to browse, customize, and compose UI components, design tokens, site content, and a UI/UX spec into standalone pages. Also supports searching components and retrieving specs, resources, and prompts for page generation.
      7
      MIT