mcpField
N
NVIDIA Elements

NVIDIA Elements

Local
nvidia.github.ioDeveloper Tools106Updated today

About NVIDIA Elements

NVIDIA Elements provides the nve command line tool, which works both as an interactive CLI and as an MCP server for the Elements UI design system. It supports component lookup, template validation and project setup for interfaces in AI/ML, robotics and autonomous vehicle contexts.

Key features

  1. 01Elements component API lookup and search
  2. 02Lint validation for HTML and JSON
  3. 03Design token and icon name lookup
  4. 04Project creation, setup and health checks
  5. 05Bundled agent skill installation
  6. 06MCP tools and prompts

Use cases

  1. 01Giving AI assistants accurate nve-* component documentation
  2. 02Validating generated HTML templates against Elements rules
  3. 03Setting up or migrating a project to use Elements

MCP support

Started with the nve mcp command, it exposes component API, example, package and project setup tools to MCP clients such as Claude Code, Cursor and Codex.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"nvidia-elements": {
"command": "npx",
"args": [
"-y",
"@nvidia-elements/cli"
]
}
}
}
Run commandnpx -y @nvidia-elements/cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@nvidia-elements/cli2.2.13

Tools

16

Saved tool list · updated 4d ago

ParameterTypeRequiredDescription
formatenumNoFormat of output. Use 'json' ONLY when you need to programmatically process the data. For reading/understanding, use the default 'markdown' format which is more readable and uses fewer tokens.markdown | json

Details

From the project README

@nvidia-elements/cli

NVIDIA Design System and UI Agent Harness for AI/ML Factories, Robotics, and Autonomous Vehicles.

The @nvidia-elements/cli is a dual-mode command-line tool for the Elements Design System. It provides interactive CLI commands and a Model Context Protocol (MCP) server for AI assistant integration.

Purpose

This package serves two primary modes:

  1. Interactive CLI (nve command) - Command-line interface with interactive prompts for:

    • Component API discovery and search
    • Example template browsing and searching
    • Template linting and validation
    • Project scaffolding and health checks
    • Changelog and version information
    • Design token access
    • Icon name lookup
    • Bundled agent skill access
  2. MCP Server (nve mcp command) - Model Context Protocol server that:

    • Exposes MCP-supported tools to AI assistants (Claude, Cursor, etc.)
    • Provides context-specific prompts for common tasks
    • Enables AI-assisted development with Elements components
    • Integrates Elements knowledge directly into AI workflows

Getting Started

The best way to get started is to run the install script.

curl -fsSL https://nvidia.github.io/elements/install.sh | bash

On Windows, run the PowerShell installer.

irm https://nvidia.github.io/elements/install.ps1 | iex

For agents and CI, invoke the canonical path directly: $HOME/.nve/bin/nve on macOS and Linux, or $env:LOCALAPPDATA\nve\bin\nve.exe on Windows.

Alternatively you can install with Node.js and npm.

npm install -g @nvidia-elements/cli

Usage

CommandDescription
nveShow About and help output.
nve api.list [format]Get a list of all available Elements (nve-*) APIs and components.
nve api.get <names..> [--format <format>]Get documentation for one to five known components or attributes (nve-*).
nve api.validate [paths..]Check HTML and JSON from explicit file paths, glob patterns, or standard input (--stdin) using Elements lint rules.
nve api.imports.get <template>Get ESM imports for an HTML template using Elements APIs (nve-*).
nve api.tokens.list [format] [query]Get available semantic CSS custom properties and design tokens for theming.
nve api.icons.list [format]Get available icon names for nve-icon and nve-icon-button.
nve examples.list [format]Get available Elements (nve-*) starter templates, patterns, and examples.
nve examples.get <id> [format]Get the full template of a known example or pattern by ID.
nve project.create <type> [cwd] [start]Create a new starter project.
nve project.setup [cwd]Set up or update a project to use Elements.
nve project.validate <type> [cwd]Check project configuration and dependencies.
nve packages.listGet latest published versions of all Elements packages.
nve packages.get <name>Get details for a specific Elements package.
nve packages.changelogs.get <name> [format] [limit]Retrieve changelog details by package name.
nve skills.install [--global]Install the Elements agent skill in the project or for the current user.
nve mcpStart the MCP server.
Global Options
OptionDescription
--helpShow help.
--versionShow version number.
--upgradeUpgrade Elements CLI (nve) to the latest version.
--debugEnable debug output for tools.

MCP

Quick Setup

The fastest way to configure MCP is with the project.setup command:

nve project.setup

This detects your package manager, configures the MCP server for Cursor, Codex, and Claude Code, and adds Elements core dependencies to the project.

Claude Code

Install to Claude Code by adding the configuration to your .mcp.json file. The file is typically located at ~/.config/claude-code/.mcp.json or %APPDATA%\claude-code\.mcp.json on Windows.

{
  "mcpServers": {
    "nvidia_elements": {
      "description": "NVIDIA Elements UI Design System (nve-*), custom element schemas, APIs and examples",
      "command": "nve",
      "args": ["mcp"]
    }
  }
}

After adding the configuration, restart Claude Code for the changes to take effect. The Elements MCP tools are then available for use in your conversations.

Cursor

Install to Cursor with the MCP configuration below.

// .cursor/mcp.json
{
  "mcpServers": {
    "nvidia_elements": {
      "description": "NVIDIA Elements UI Design System (nve-*), custom element schemas, APIs and examples",
      "command": "nve",
      "args": ["mcp"]
    }
  }
}
Codex

Install to Codex with the MCP configuration below.

[mcp_servers.nvidia_elements]
description = "NVIDIA Elements UI Design System (nve-*), custom element schemas, APIs and examples"
command = "nve"
args = ["mcp"]
Prompts
PromptDescriptionExample Prompt
/artifactCreate a standalone Elements UI artifact/artifact Create an example login form
/doctorVerify Elements setup and MCP configuration/doctor
/create-projectCreate a new Elements starter project/create-project Create a todo app
/migrateMigrate from deprecated Elements APIs/migrate Migrate this project from deprecated Elements APIs

NVIDIA Elements Skill

Elements provides one elements skill with reference files for artifact creation, setup checks, project integration, and migration. Install the complete directory in the current project:

nve skills.install

This writes .agents/skills/elements/ and .claude/skills/elements/. Add --global to install it for the current user at ~/.agents/skills/elements/ instead. The command replaces existing elements directories at the selected destinations so stale references do not remain.

Alternatively, install the Elements agent skill with the open skills CLI:

npx skills add https://github.com/nvidia/elements --skill elements

This route does not install the Elements CLI or configure the MCP server. Use nve project.setup for complete project setup, and continue to use the CLI or MCP tools for deterministic API lookup and template validation.

MCP Tools

ToolDescription
api_listGet list of all available Elements (nve-*) APIs and components.
api_getGet documentation known components or attributes by name (nve-*).
api_validateChecks HTML and JSON files or supplied content with Elements lint rules.
api_imports_getGet esm imports for a given HTML template using Elements APIs (nve-*).
api_tokens_listGet available semantic CSS custom properties / design tokens for theming.
packages_listGet latest published versions of all Elements packages.
packages_getGet details for a specific Elements package.
packages_changelogs_getRetrieve changelog details by package name.
examples_listGet list of available Elements (nve-*) patterns and examples.
examples_getGet the full template of a known example or pattern by id.
project_createCreate a new starter project.
project_validateCheck project for configuration issues and dependencies.
project_setupSetup or update a project to use Elements.

Links

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.