Labsco
MCP SERVER

Nuxt MCP

by antfu

Attach an MCP server to your Nuxt or Vite dev server so a model can ask the running app about itself.

Code Intelligence & Repository Indexing
Summary
The dev server already knows how the app is wired; this lets the model ask it.

It is small on purpose — a module or a plugin, not a separate process — and it is experimental, so treat it as a development-time convenience rather than something to depend on.

What it is

A pair of packages that add MCP support to a local development server: `nuxt-mcp-dev` as a Nuxt module and `vite-plugin-mcp` as a Vite plugin. The MCP server lives inside the dev server you already run.

What you get

An MCP endpoint attached to your local Vite or Nuxt development server, so a model asking about your app is answered by the running app rather than by reading files on disk.

Requirements

A local Vite or Nuxt development server. Add `nuxt-mcp-dev` as a Nuxt module or `vite-plugin-mcp` as a Vite plugin. Both are marked experimental by the author and should be used with caution. Two adjacent projects are pointed at for different needs: `@nuxtjs/mcp-toolkit` for building an MCP server out of your own Nuxt application, and the Nuxt documentation MCP server for documentation questions. MIT licensed.

Setup effort

One command — npx -y nuxt-mcp-dev