NuvUI
The docs, rules, blocks, charts and design tokens of nuvui, a React UI library, for coding agents.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen list_components
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"nuvui": {
"url": "https://nuvui.nuvraxis.com/mcp"
}
}
}Puntos de conexión remotos
https://nuvui.nuvraxis.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (11)
🟢get_rules(topic, version)
Start here. Without a topic: the versions these docs describe, what to know before writing code with nuvui, the packages, the rules in a line each, and which component meets which need. With a topic: that rule in full, with wrong and right code.
Esquema de entrada
{
"type": "object",
"properties": {
"topic": {
"description": "One of: accessibility, composition, forms, packages, server-components, styling, text-and-direction.",
"type": "string",
"enum": [
"accessibility",
"composition",
"forms",
"packages",
"server-components",
"styling",
"text-and-direction"
]
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_components(package, version)
Every component page, by package, with what each is for in a line. Pass a package to see only its pages.
Esquema de entrada
{
"type": "object",
"properties": {
"package": {
"description": "A package, such as @nuvui/table or table. One of: @nuvui/react, @nuvui/date-picker, @nuvui/table, @nuvui/charts, @nuvui/barcodes, @nuvui/chat, @nuvui/kanban, @nuvui/editor, @nuvui/emoji, @nuvui/map, @nuvui/flow, @nuvui/media, @nuvui/backgrounds, @nuvui/3d, @nuvui/scheduler, @nuvui/icons.",
"type": "string",
"maxLength": 40
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_guides(version)
The pages that aren't about one component: getting started, theming, Tailwind, SCSS, forms, right to left, translation, the Content Security Policy, support, and recipes for whole screens.
Esquema de entrada
{
"type": "object",
"properties": {
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_page(page, section, version)
One page of the reference, as Markdown: a component's parts, props, examples, CSS variables, classes and accessibility, or a guide. Takes a page's id from list_components, list_guides or search_docs, or a component's name, such as Compare or DataTable. A section gives only that part of the page, such as Props or CSS variables.
Esquema de entrada
{
"type": "object",
"properties": {
"page": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9][A-Za-z0-9 /_-]*$",
"description": "A page's id, such as components/compare, or a component's name."
},
"section": {
"description": "A `##` heading on the page, such as Props, Accessibility or CSS variables.",
"type": "string",
"maxLength": 100
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"required": [
"page"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢search_docs(query, limit, version)
Finds the sections of the reference that best answer a question or a few words, such as 'sortable table', 'dark mode' or 'error message on a field'. Each result names its page and section, for get_page.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"limit": {
"default": 8,
"type": "integer",
"minimum": 1,
"maximum": 20
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_blocks(category, version)
Blocks are screens and parts of apps built from the components, such as a sign-in screen, a dashboard or a pricing table, each a TSX file and an SCSS file to copy and change. Look here before building a screen from nothing.
Esquema de entrada
{
"type": "object",
"properties": {
"category": {
"description": "One of: 3d, accounts, calendar, chat, dashboard, data, developer, editor, flows, layout, marketing, media, settings.",
"type": "string",
"maxLength": 40
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_block(name, version)
A block's files in full, the packages they need, and the command that adds it to a project.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9][A-Za-z0-9 /_-]*$",
"description": "A block's name from list_blocks, such as sign-in."
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"required": [
"name"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_charts(family)
Charts built with @nuvui/charts on Recharts, each one file to copy: area, bar, line, pie, radar, radial, scatter and more.
Esquema de entrada
{
"type": "object",
"properties": {
"family": {
"description": "One of: area, bar, line, pie, radar, radial, tooltip, composed, scatter, dashboard.",
"type": "string",
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_chart(name)
A chart's file in full, such as bar/stacked, from list_charts.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9][A-Za-z0-9 /_-]*$",
"description": "A chart's id from list_charts, such as bar/stacked."
}
},
"required": [
"name"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_tokens(prefix, version)
The design tokens as CSS custom properties, for your own CSS: var(--color-primary), never a color written out. A prefix gives only those, such as --color-, --radius- or --text-.
Esquema de entrada
{
"type": "object",
"properties": {
"prefix": {
"type": "string",
"maxLength": 60,
"pattern": "^[a-z0-9-]*$"
},
"version": {
"description": "The @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.",
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_changes(installed)
What each @nuvui/* package added and changed after the versions a project has, from the packages' changelogs, newest first, and what's in the docs but in no release yet. Pass the @nuvui/* entries of the project's package.json. Without them: the latest version of each package.
Esquema de entrada
{
"type": "object",
"properties": {
"installed": {
"description": "The @nuvui/* packages in the project's package.json, with their versions as written there, such as { \"@nuvui/react\": \"^0.6.0\", \"@nuvui/table\": \"0.1.6\" }.",
"type": "object",
"properties": {
"@nuvui/3d": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/backgrounds": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/barcodes": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/charts": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/chat": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/date-picker": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/editor": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/emoji": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/flow": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/icons": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/kanban": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/map": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/media": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/react": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/scheduler": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
},
"@nuvui/table": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^(?:\\^|~|>=|=)?v?\\d+(?:\\.(?:\\d+|x|\\*)){0,2}(?:-[0-9A-Za-z.-]+)?$"
}
},
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Comunidad
Evidencia