Elements MCP
The NVIDIA Elements MCP server connects AI coding assistants to the Elements design system. It gives tools like Claude Code, Cursor, and Codex direct access to component APIs, design tokens, skills, template validation, project scaffolding, and interactive MCP Apps views so your AI assistant can build with Elements effectively
Install CLI
Install the Elements CLI to your system. This creates a canonical executable path and adds the nve command to your path when possible.
Quick Setup
After you install the CLI, the fastest way to configure the Elements MCP uses the setup command. This detects your package manager, configures the MCP server for Cursor, Claude Code, and Codex, and adds Elements core dependencies to the project.
Manual Setup
After adding the configuration in the root of your project, restart Claude Code for the changes to take effect. The Elements MCP tools are then available for use in your conversations.
After adding the configuration in your project's .cursor directory, enable the MCP under Cursor > Settings > Cursor Settings > Tools & MCP. The Elements MCP tools are then available for use in your conversations.
After adding the configuration in the root of your project, restart Codex for the changes to take effect. The Elements MCP tools are then available for use in your conversations.
Usage
Prompts
/artifact/artifact Create an example login form/doctor/doctor/create-project/create-project Create an Angular todo app/migrate/migrate Migrate this project from deprecated Elements APIsSkills
Elements provides one elements skill for persistent authoring context. Install its complete directory, including task-specific reference files, from the project root:
Use nve skills.install --global to install the skill for the current user. The MCP server does not expose skill listing or retrieval tools. Its four prompts load the matching artifact, doctor, integration, and migration references from the same skill source.
Tools
Call api_validate with { "paths": ["src/app.html"] } or supplied content such as { "template": "<nve-button></nve-button>", "format": "json" }; supplied content defaults to HTML. Set lang to json and provide filename for JSON content. JSON results contain ok, a complete summary, and diagnostics with locations, severity, rule, suggestion, and whether a fix is available.
api_listapi_getapi_validateapi_imports_getapi_tokens_listapi_icons_listnve-icon and nve-icon-button.packages_listpackages_getpackages_changelogs_getexamples_listexamples_getexamples_renderplayground_validateplayground_createproject_createproject_validateproject_setupMCP Apps UI
The Elements MCP server supports MCP Apps for hosts that implement the io.modelcontextprotocol/ui extension. The same nve mcp command advertises the text/html;profile=mcp-app MIME type, registers ui://elements/* resources, and attaches _meta.ui.resourceUri metadata to tools that have an app view. You do not need separate setup.
Hosts with MCP Apps support can render these views inline in the conversation. Hosts without Apps support still receive the normal text and structured tool output.
ui://elements/example-previewexamples_get, examples_renderui://elements/icons-listapi_icons_listui://elements/tokens-listapi_tokens_listEach app resource is a self-contained HTML document that includes Elements components, theme CSS, typography CSS, layout CSS, and a small MCP Apps client. The client initializes the app, reports size changes, receives tool input and result notifications, and calls server tools through the MCP Apps message channel when it needs more data. Message handling validates the parent origin before reading inbound JSON-RPC payloads.
Client support for MCP Apps is host-specific. Check the MCP extension support matrix before relying on inline Apps behavior in a specific assistant.
Troubleshooting
403 Forbidden
A 403 Forbidden error means your token has expired. Re-authenticate to resolve it.
Unsupported Engine
An Unsupported engine warning means your Node.js version is out of date. The CLI requires Node.js v20 or later. Update Node.js and try again.