vite-plugin-vue-mcp  by webfansplz

Vite plugin for Vue app model understanding via MCP server

created 4 months ago
487 stars

Top 64.1% 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

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
78 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
12 more.

opencode by sst

8.7%
16k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 14 hours ago
Feedback? Help us improve.