nuwax-openui-mcp
Enables MCP hosts to render OpenUI artifacts (inline or sidecar) for agent-generated UI components such as cards, dashboards, forms, and charts, with validation, versioning, and security controls.
README
Nuwax OpenUI MCP
@nuwax-ai/openui-mcp provides OpenUI authoring guidance, schema resources,
validation, and durable artifact generation for Nuwax Agent sessions.
Architecture
The MCP server does not host pages. It writes OpenUI data into the active project and returns a lightweight reference:
nuwax_render_openui
-> validate OpenUI Lang
-> data/{artifactId}.openui.json
-> nuwax.openui-ref/v1
Nuwax PC Web loads the data file and renders it with the frozen static runtime
at /openui-runtime/index.html. Inline, sidecar, and file preview all use that
same runtime.
Installation
Configure the server as a session-scoped stdio MCP so it inherits the current project directory:
{
"mcpServers": {
"nuwax-openui": {
"command": "npx",
"args": ["-y", "@nuwax-ai/openui-mcp@0.2.0"]
}
}
}
Do not configure it as a persistent/global MCP. If the host cannot provide the
project as the process working directory or an MCP Root, set
NUWAX_OPENUI_PROJECT_ROOT explicitly.
The file repository is initialized lazily on the first render call. This avoids
creating a data/ directory when a client starts the server only to discover
its tool list.
Tools and resources
nuwax_render_openui: creates or updates an Artifact file.nuwax_get_openui_reference: returns the authoring guide or schema.nuwax://openui/schema/v0.5: renderer-generated component schema.nuwax://openui/authoring-guide/v0.5: syntax and examples.nuwax_openui_authoring: reusable authoring prompt.
Call nuwax_get_openui_reference before producing complex forms, charts, or
dashboards.
Creating an Artifact
{
"schemaVersion": "nuwax.openui/v1",
"title": "Deployment status",
"presentation": {
"mode": "inline",
"autoOpen": false
},
"document": {
"language": "openui-lang",
"specVersion": "0.5",
"source": "root = Stack([title])\ntitle = TextContent(\"Ready\", \"large-heavy\")"
},
"bindings": { "tools": [] },
"fallback": { "markdown": "Deployment is ready." }
}
The response is a nuwax.openui-ref/v1 pointing to:
data/{artifactId}.openui.json
Pass the same artifactId on a later call to atomically replace the Artifact.
The original createdAt is retained while updatedAt and the document digest
are refreshed.
File contract
{
"type": "nuwax.openui-file",
"schemaVersion": "nuwax.openui-file/v1",
"artifactId": "550e8400-e29b-41d4-a716-446655440000",
"title": "Deployment status",
"presentation": { "mode": "inline", "autoOpen": false },
"document": {
"language": "openui-lang",
"specVersion": "0.5",
"source": "root = Stack([])",
"digest": "sha256:..."
},
"bindings": { "tools": [] },
"fallback": { "markdown": "" },
"createdAt": "2026-07-22T00:00:00.000Z",
"updatedAt": "2026-07-22T00:00:00.000Z"
}
Artifacts have no TTL. Their lifetime follows the project files and they can be reviewed and versioned with Git.
Development
pnpm install
pnpm verify
The web build produces dist/web/runtime.js and dist/web/runtime.css. In the
Nuwax repository, scripts/sync-openui-runtime.sh copies those assets into
public/openui-runtime/.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.