Nuxt DevTools

v0.3.2Developer Toolsstable

MCP server helping models to understand your Vite/Nuxt app better.

mcpnuxtvitevite-pluginmodelcontextprotocol
Share:
907
Stars
0
Downloads
0
Weekly
0/5

What is Nuxt DevTools?

Nuxt DevTools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server helping models to understand your vite/nuxt app better.

MCP server helping models to understand your Vite/Nuxt app better.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server helping models to understand your Vite/Nuxt app b

Use Cases

MCP server helping models to understand your Vite/Nuxt app better.
antfu

Maintainer

LicenseMIT
Languagetypescript
Versionv0.3.2
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y vite-plugin-mcp

Manual Installation

npx -y vite-plugin-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Nuxt DevTools

vite-plugin-mcp (also distributed as nuxt-mcp-dev) is a Vite plugin and Nuxt module that embeds a live MCP server directly into your development server, giving AI coding assistants real-time introspection into your app's Vite configuration, module graph, and installed plugins. When the plugin is active, AI tools like Claude Code, Cursor, and Windsurf can automatically receive updated context about your local app structure without manual copy-pasting. It is designed to reduce the back-and-forth of explaining your project setup to an AI by making that information available through the Model Context Protocol.

Prerequisites

  • Node.js 18+ and npm or pnpm installed
  • A Vite-based project (any framework) or a Nuxt 3 application
  • An MCP-compatible AI coding client such as Claude Code, Cursor, Windsurf, or VS Code with MCP support
  • The project is marked experimental — suitable for development use only
1

Install vite-plugin-mcp

Install the plugin as a development dependency in your Vite or Nuxt project.

npm install -D vite-plugin-mcp
2

Add the plugin to your Vite config

Import ViteMcp from vite-plugin-mcp and add it to the plugins array in your vite.config.ts (or vite.config.js). The plugin is active only during development.

import { defineConfig } from 'vite'
import { ViteMcp } from 'vite-plugin-mcp'

export default defineConfig({
  plugins: [
    ViteMcp()
  ]
})
3

For Nuxt 3 projects, use the Nuxt module

Instead of the Vite plugin, Nuxt users can install and register the nuxt-mcp-dev module in their nuxt.config.ts.

npm install -D nuxt-mcp-dev
# then in nuxt.config.ts:
# modules: ['nuxt-mcp-dev']
4

Start your development server

Run your Vite or Nuxt dev server as normal. The MCP server starts automatically on the same port under the /__mcp/sse path.

npm run dev
# MCP endpoint available at: http://localhost:5173/__mcp/sse
5

Connect your AI client to the MCP server

For Claude Code, Cursor, and Windsurf, the plugin can auto-update your config files. For manual setup, add the server URL to your client's MCP configuration.

{
  "mcpServers": {
    "vite-mcp": {
      "type": "sse",
      "url": "http://localhost:5173/__mcp/sse"
    }
  }
}

Nuxt DevTools Examples

Client configuration (Claude Code, SSE connection)

Connect Claude Code to your running Vite dev server's MCP endpoint:

{
  "mcpServers": {
    "vite-mcp": {
      "type": "sse",
      "url": "http://localhost:5173/__mcp/sse"
    }
  }
}

Prompts to try

Ask your AI assistant questions about your running Vite/Nuxt app:

- "What Vite plugins are currently loaded in my project?"
- "Show me the module graph for my main entry point"
- "What version of Vue is being used in this Vite project?"
- "List all the routes defined in my Nuxt app"
- "What build optimizations are configured in my Vite setup?"

Troubleshooting Nuxt DevTools

MCP server endpoint at /__mcp/sse returns 404

Ensure the ViteMcp() plugin is listed in your vite.config.ts plugins array and that the dev server has been restarted after adding the plugin. The MCP endpoint is only active during dev mode (not in production builds).

AI client does not auto-update its config as promised

The auto-update feature works for VS Code, Cursor, and Windsurf. For Claude Code, you may need to manually add the SSE URL to your .claude/mcp.json. The updateConfig option in ViteMcp() can be set to false if you prefer to manage configs manually.

Plugin causes HMR (hot module replacement) to behave unexpectedly

This is a known risk with experimental plugins. If HMR breaks, try removing ViteMcp() from the plugins array temporarily to confirm it is the cause, then report the issue on the GitHub repository.

Frequently Asked Questions about Nuxt DevTools

What is Nuxt DevTools?

Nuxt DevTools is a Model Context Protocol (MCP) server that mcp server helping models to understand your vite/nuxt app better. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Nuxt DevTools?

Install via npm with the command: npx -y vite-plugin-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Nuxt DevTools?

Nuxt DevTools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Nuxt DevTools free to use?

Yes, Nuxt DevTools is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "nuxt-mcp-dev": { "command": "npx", "args": ["-y", "vite-plugin-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Nuxt DevTools?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides