Vite plugin for Vue app model understanding via MCP server
Top 64.1% on sourcepulse
This plugin provides a server for AI models to introspect and interact with Vue.js applications during development. It exposes component trees, state, routing information, and Pinia stores, enabling AI-powered debugging, code generation, and enhanced developer tooling.
How It Works
The plugin integrates with Vite's development server to expose a Server-Sent Events (SSE) endpoint. This endpoint streams real-time information about the Vue application's structure and state, including component hierarchy, component state (get/set), router information, and Pinia store details. This allows external tools, like AI coding assistants, to query and manipulate the application's internal state programmatically.
Quick Start & Requirements
pnpm install vite-plugin-vue-mcp -D
VueMcp()
to your vite.config.ts
plugins.Highlighted Details
.cursor/mcp.json
for automatic configuration updates.Maintenance & Community
vite-plugin-mcp
.Licensing & Compatibility
Limitations & Caveats
The plugin requires the Vue application to be actively running in the browser for its features to function.
3 months ago
Inactive