nuxt-mcp-dev
by antfu
Overview
Provides a Model Context Protocol (MCP) server for Vite/Nuxt applications, offering AI models insights into the app's setup and module graphs.
Installation
pnpm -C packages/nuxt-mcp-dev playEnvironment Variables
- DEBUG
- PORT
Security Notes
The project is explicitly marked as 'Experimental. Not ready for production.' The server exposes an SSE endpoint and a message POST endpoint, which, if not handled carefully, could be a vector for attacks. Automatic updates to config files (`.cursor/mcp.json`, `.vscode/mcp.json`, `~/.codeium/windsurf/mcp_config.json`, `.mcp.json`) could be risky if the plugin itself is compromised or if arbitrary remote URLs are added via `updateConfigAdditionalServers`. The `toolsScaffold` function executes `nuxi` commands, and while `zod` schemas are used for input, potential command injection vulnerabilities could arise if parameters are not sufficiently sanitized before execution.
Similar Servers
XcodeBuildMCP
A Model Context Protocol (MCP) server that provides Xcode-related tools for AI assistants, enabling programmatic interaction with Xcode projects, simulators, devices, and Swift packages.
mcp-handler
A Vercel adapter for the Model Context Protocol (MCP), enabling real-time communication between web applications and AI models.
tmcp
Build Model Context Protocol (MCP) servers for AI agents to interact with external tools and data sources, enabling LLMs to access context and perform actions.
mcp-toolkit
A Nuxt module for easily creating a Model Context Protocol (MCP) server directly within a Nuxt application, allowing AI assistants to access defined tools, resources, and prompts.