MCP (Model Context Protocol) is a standardized protocol that enables AI assistants to access external data sources and tools. Nuxt UI provides an MCP server that allows AI assistants like Claude Code, Cursor, and Windsurf to access component information, source code, and usage examples directly.
The MCP server provides structured access to our component library, making it easy for AI tools to understand and assist with Nuxt UI development.
The Nuxt UI MCP server provides the following resources for discovery:
resource://nuxt-ui/components: Browse all available components with categoriesresource://nuxt-ui/composables: Browse all available composables with categoriesresource://nuxt-ui/examples: Browse all available code examplesresource://nuxt-ui/templates: Browse all available project templatesresource://nuxt-ui/documentation-pages: Browse all available documentation pagesYou're able to access these resources with tools like Claude Code by using @.
The Nuxt UI MCP server provides the following tools organized by category:
list_components: Lists all available Nuxt UI components with their categories and basic informationlist_composables: Lists all available Nuxt UI composables with their categories and basic informationlist_component_sections: Lists all available documentation sections for a specific component. Use this to discover what sections you can fetch (e.g., props, slots, theme, usage, examples)get_component: Retrieves component documentation and details. Supports optional sections parameter to fetch only specific parts (e.g., "props,slots") instead of full documentation to save tokensget_component_sections: Token-efficient tool to retrieve only specific sections of component documentation (e.g., props, slots, theme). Recommended when you only need certain informationget_component_metadata: Retrieves detailed metadata for a component including props, slots, and eventssearch_components_by_category: Searches components by category or text filterget_component_sections or pass the sections parameter to get_component when you only need specific information like props or slots. This can reduce token usage by 70-90% compared to fetching full documentation.list_templates: Lists all available Nuxt UI templates with optional category filteringget_template: Retrieves template details and setup instructionslist_documentation_pages: Lists all documentation pagesget_documentation_page: Retrieves documentation page content by URL pathlist_getting_started_guides: Lists all getting started guides and installation instructionslist_examples: Lists all available UI examples and code demonstrationsget_example: Retrieves specific UI example implementation code and detailsget_migration_guide: Retrieves version-specific migration guides and upgrade instructionsThe Nuxt UI MCP server provides guided prompts for common workflows:
find_component_for_usecase: Find the best component for your specific use caseimplement_component_with_props: Generate complete component implementation with proper propssetup_project_with_template: Get guided setup instructions for project templatesYou're able to access these resources with tools like Claude Code by using /.
The Nuxt UI MCP server uses HTTP transport and can be configured in different AI assistants.
Follow these steps to set up Nuxt UI as a connector within ChatGPT:
Nuxt UIhttps://ui.nuxt.com/mcpNoneThe Nuxt UI connector will appear in the composer's "Developer mode" tool later during conversations.
Add the server using the CLI command:
claude mcp add --transport http nuxt-ui-remote https://ui.nuxt.com/mcp
Click the button below to install the Nuxt UI MCP server directly in Cursor:
Install MCP ServerOr manually create/update .cursor/mcp.json in your project root:
{
"mcpServers": {
"nuxt-ui": {
"type": "http",
"url": "https://ui.nuxt.com/mcp"
}
}
}
NuxtUIhttps://ui.nuxt.com/mcp.vscode folder or create one if it doesn't existmcp.json file with the following configuration:{
"servers": {
"nuxt-ui": {
"type": "http",
"url": "https://ui.nuxt.com/mcp"
}
}
}
{
"mcpServers": {
"nuxt-ui": {
"type": "http",
"url": "https://ui.nuxt.com/mcp"
}
}
}
{
"context_servers": {
"nuxt-ui": {
"source": "custom",
"command": "npx",
"args": ["mcp-remote", "https://ui.nuxt.com/mcp"],
"env": {}
}
}
}
opencode.json{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"nuxt-ui": {
"type": "remote",
"url": "https://ui.nuxt.com/mcp",
"enabled": true
},
}
}
Once configured, you can ask your AI assistant questions like:
The AI assistant will use the MCP server to fetch structured JSON data and provide guided assistance for Nuxt UI during development.
When working with component documentation, you can request specific sections to save tokens:
list_component_sections)get_component_sections)get_component_sections)get_component_sections)The AI will automatically use the appropriate tool to fetch only the requested information, significantly reducing token usage while still providing the exact information you need.
For best results, the AI can follow this pattern:
list_component_sections to see what sections are availableget_component_sections to fetch only the sections you needExample interaction:
list_component_sections → discovers: props, slots, theme, usage, examplesget_component_sections with sections=theme,props → fetches only relevant parts