vite-plugin-vue-mcp
@webfansplz
vite-plugin-vue-mcp について
Vite plugin that enables a MCP server helping models to understand your Vue app better.
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is vite-plugin-vue-mcp?
A Vite plugin that provides a Model Context Protocol (MCP) server for Vue applications, exposing the component tree, component state, Vue Router routes, Pinia store tree, and Pinia state. Designed for Vue developers using AI-assisted coding tools like Cursor.
How to use vite-plugin-vue-mcp?
Install the package with pnpm install vite-plugin-vue-mcp -D. Then add VueMcp() to the plugins array in vite.config.ts. After starting the Vite dev server, the MCP server listens at http://localhost:[port]/__mcp/sse. For Cursor, the plugin can automatically update the .cursor/mcp.json configuration.
Key features of vite-plugin-vue-mcp
- Retrieve the Vue component tree
- Read component state by name
- Edit component state at a specific path
- Highlight a component in the browser
- Get Vue Router route information
- Retrieve the Pinia store tree
- Read individual Pinia store state
Use cases of vite-plugin-vue-mcp
- Debugging component hierarchy and state during development
- Modifying component state live via AI assistant
- Navigating and inspecting Vue Router routes
- Exploring and debugging Pinia stores
- Enhancing AI‑powered code editors with live Vue app data
FAQ from vite-plugin-vue-mcp
Do I need my Vue application to be running to use the MCP tools?
Yes. The README states: “Please ensure the application is running in your browser before using the features.”
Can I provide a custom MCP server instead of the built‑in tools?
Yes. The mcpServer option lets you supply a completely custom MCP server; when provided, the built‑in tools are ignored.
How does vite-plugin-vue-mcp integrate with Cursor?
The plugin can automatically write or update the .cursor/mcp.json file with the MCP server URL. This behavior is enabled by default when a .cursor folder exists.
What is the default endpoint of the MCP server?
The MCP server is exposed at http://localhost:[port]/__mcp/sse.
What are the required dependencies?
Only vite-plugin-vue-mcp installed as a dev dependency is required. It integrates directly into the Vite dev server.
「開発者ツール」の他のコンテンツ
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
コメント