nuxt-mcp

MCP.Pizza Chef: antfu

nuxt-mcp is an MCP server module designed to integrate with Nuxt and Vite applications, enabling language models to better understand the structure and context of these apps. It provides real-time, structured context from your Vite/Nuxt environment, facilitating advanced AI interactions and workflows within these frameworks. This experimental tool supports developers in building AI-enhanced features by exposing app internals to models securely and efficiently.

Use This MCP server To

Expose Nuxt app context to language models for enhanced AI workflows Enable real-time model interaction with Vite/Nuxt app internals Support AI-driven code navigation and understanding in Nuxt projects Integrate structured app data into AI copilots for Vite-based apps Facilitate multi-step reasoning over Nuxt app state and components

README

nuxt-mcp / vite-plugin-mcp

npm version npm downloads bundle JSDocs License

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

This monorepo contains two packages:

  • nuxt-mcp - A Nuxt module for adding MCP support to your Nuxt app.
  • vite-plugin-mcp - A Vite plugin for adding MCP support to your Vite app.

Important

Experimental. Use with caution.

Sponsors

License

MIT License © Anthony Fu

nuxt-mcp FAQ

How do I install nuxt-mcp in my Nuxt project?
You can install nuxt-mcp via npm or yarn and add it as a module in your Nuxt configuration to enable MCP support.
Is nuxt-mcp compatible with both Nuxt 2 and Nuxt 3?
nuxt-mcp is primarily designed for Nuxt 3 and Vite-based projects; compatibility with Nuxt 2 may be limited or require additional configuration.
Can nuxt-mcp be used with other MCP clients or only specific ones?
nuxt-mcp is designed to work with any MCP client that follows the MCP protocol, making it provider-agnostic.
What kind of data does nuxt-mcp expose to language models?
It exposes structured, real-time context about your app's components, routes, and state to help models understand the app environment.
Is nuxt-mcp production-ready?
nuxt-mcp is currently experimental and should be used with caution in production environments.
Does nuxt-mcp support secure and scoped model interactions?
Yes, it follows MCP principles to ensure secure, scoped, and observable interactions between models and your app.
Can I use nuxt-mcp with other frameworks besides Nuxt and Vite?
nuxt-mcp is specifically tailored for Nuxt and Vite apps; other frameworks would require different MCP servers.
How does nuxt-mcp improve AI-assisted development workflows?
By providing models with detailed app context, it enables smarter code suggestions, navigation, and automated tasks within Nuxt/Vite projects.