
Tired of outdated AI suggestions for your Nuxt project? Nuxt and Nuxt UI MCP servers give your AI assistant direct access to current Nuxt docs and Nuxt UI component information. Our latest article dives into why you need these MCP servers and how to set them up.

Get notified when we release new tutorials, lessons, and other expert Nuxt content.
Ever ask AI for help with a Nuxt feature and get an outdated answer? Or maybe it suggests a component that doesn't exist in Nuxt UI? Here's the thing—AI assistants can read your project files just fine, but they often don't have current information about the Nuxt framework itself or Nuxt UI components. That's exactly what the Nuxt MCP servers solve, and the difference is quite staggering.
Let's clear something up first: MCP (Model Context Protocol) servers don't magically know about your project. Your AI assistant already has tools to read your files and understand your codebase. What MCP servers do is give AI assistants up-to-date information about external resources—in this case, the Nuxt framework and Nuxt UI library.
Think of it this way: your AI can read your project files to understand your unique setup, but it needs MCP servers to access current documentation, component APIs, and framework features. It's like having a direct line to the official docs, except structured in a way that AI can query efficiently.
The Model Context Protocol creates a standardized bridge between AI tools (like Claude Code, Cursor, VS Code with Copilot, or Windsurf) and external information sources. Instead of relying on potentially outdated training data, your AI assistant can fetch current, accurate information on demand.
There are two MCP servers in the Nuxt ecosystem, and they serve distinct purposes:
The official Nuxt MCP server provides two straightforward but powerful tools:
These tools are simple but effective—they ensure your AI assistant is working with accurate, current information about Nuxt itself.
The Nuxt UI MCP server is specifically designed to help with Nuxt UI development. It provides a comprehensive set of tools:
Component Tools:
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 informationget_component: Retrieves component documentation and detailsget_component_metadata: Retrieves detailed metadata for a component including props, slots, and eventssearch_components_by_category: Searches components by category or text filterTemplates Tools:
list_templates: Lists all available Nuxt UI templates with optional category filteringget_template: Retrieves template details and setup instructionsDocumentation Tools:
list_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 instructionsExample Tools:
list_examples: Lists all available UI examples and code demonstrationsget_example: Retrieves specific UI example implementation code and detailsMigration Tool:
get_migration_guide: Retrieves version-specific migration guides and upgrade instructions
The server also provides guided prompts like find_component_for_usecase and implement_component_with_props to help with common workflows.
Getting these servers running in your editor is straightforward:
Cursor:
The quickest way is using Cursor's one-click install button (available on the Nuxt UI docs), or manually add to .cursor/mcp.json:
{
"mcpServers": {
"nuxt": {
"url": "https://mcp.nuxt.com/sse"
},
"nuxt-ui": {
"type": "http",
"url": "https://ui.nuxt.com/mcp"
}
}
}

VS Code:
.vscode folder or create one if it doesn't existmcp.json file with the following configuration:{
"servers": {
"nuxt": {
"url": "https://mcp.nuxt.com/sse"
},
"nuxt-ui": {
"type": "http",
"url": "https://ui.nuxt.com/mcp"
}
}
}
Claude Code: To install the Nuxt UI MCP Use the CLI command:
claude mcp add --transport http nuxt-ui-remote https://ui.nuxt.com/mcp
Let's say you're building a user profile page with Nuxt UI. Here's how the MCP servers help:
Without MCP: You ask AI about form components. It might suggest components based on old docs, give you outdated prop names, or recommend patterns that no longer exist.
With Nuxt UI MCP:
You: "What's the best way to build a user profile form with Nuxt UI?"
AI (using MCP tools):
list_components to find form-related componentsget_component_metadata to check current props for Form, Input, and Buttonget_example to find relevant form examplesFinally, once you’ve got a plan in place, you just tell it go, and it’ll build that form itself!
<template>
<UForm :state="state" @submit="onSubmit">
<UFormField label="Name" name="name">
<UInput v-model="state.name" />
</UFormField>
<UFormField label="Email" name="email">
<UInput v-model="state.email" type="email" />
</UFormField>
<UButton type="submit">
Save Profile
</UButton>
</UForm>
</template>
The code uses current component names, correct props, and follows current best practices—because the AI is querying live documentation, not relying on training data.
For Nuxt Core Features:
You: "How do I set up server-side caching in Nuxt?"
AI (using Nuxt MCP):
defineCachedEventHandlerYour AI can still read your project files to understand your unique setup—your custom composables, your routing structure, your components. The MCP servers just ensure it has accurate framework and library information to work with.
Here's what using these MCP servers actually gets you:
Current Information: No more outdated component names or deprecated APIs. The AI works with current docs.
Faster Development: Instead of manually searching docs, the AI fetches the exact information you need and applies it to your question.
Accurate Suggestions: Component props, available features, and best practices are all based on current documentation, not training data that might be months or years old.
Better Component Discovery: Describe what you need, and the AI can query the component library to find the right tool for the job.
It's worth noting what these MCP servers do and don't do:
They DO:
They DON'T:
Think of MCP servers as giving your AI assistant an up-to-date reference library for Nuxt and Nuxt UI, while the AI's built-in capabilities handle understanding your unique project.
If you're working with Nuxt and Nuxt UI, setting up these MCP servers is a low-effort way to get noticeably better AI assistance. You're not changing your workflow—you're just giving your AI assistant better reference materials.
The setup takes a few minutes, and the payoff is immediate: AI suggestions that use current APIs, accurate component information, and up-to-date best practices.
Give it a shot—you'll notice the difference as soon as the AI starts suggesting code that actually matches current Nuxt and Nuxt UI documentation.
