vite-plugin-vue-mcp  by webfansplz

Vite plugin for Vue app model understanding via MCP server

Created 11 months ago
545 stars

Top 58.5% on SourcePulse

GitHubView on GitHub
Project Summary

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

  • Install: pnpm install vite-plugin-vue-mcp -D
  • Usage: Add VueMcp() to your vite.config.ts plugins.
  • Requirements: Vue.js application running in the browser.
  • Docs: Cursor documentation

Highlighted Details

  • Exposes component tree, component state (get/set), router info, and Pinia store state.
  • Supports highlighting components for easier identification.
  • Integrates with Cursor IDE via .cursor/mcp.json for automatic configuration updates.
  • Offers extensive configuration options for host, path, and custom server integration.

Maintenance & Community

  • MIT License.
  • Inspired by vite-plugin-mcp.

Licensing & Compatibility

  • MIT License. Permissive for commercial use and closed-source linking.

Limitations & Caveats

The plugin requires the Vue application to be actively running in the browser for its features to function.

Health Check
Last Commit

10 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 30 days

Explore Similar Projects

Starred by Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf), and
5 more.

coffee by Coframe

0%
2k
AI tool for rapid UI development in IDEs
Created 2 years ago
Updated 9 months ago
Feedback? Help us improve.