Vue
Provides application insights for Vue apps by exposing component trees, state, routes, and Pinia data through a Model Context Protocol server.
What is Vue?
Vue is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to provides application insights for vue apps by exposing component trees, state, routes, and pinia data through a model context protocol server.
Provides application insights for Vue apps by exposing component trees, state, routes, and Pinia data through a Model Context Protocol server.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Provides application insights for Vue apps by exposing compo
Use Cases
Maintainer
Works with
Installation
NPM
npx -y vite-plugin-vue-mcpManual Installation
npx -y vite-plugin-vue-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Vue
vite-plugin-vue-mcp is a Vite plugin that embeds an MCP server directly into your Vue development environment, exposing live application state to AI assistants through the Model Context Protocol. It gives tools like Claude or Cursor's AI agent real-time visibility into your Vue component tree, individual component state, Pinia stores, and Vue Router configuration — without any manual inspection or console drilling. Developers use it to let AI assistants debug components, suggest state corrections, and understand application structure with accurate, live data instead of guesswork.
Prerequisites
- Node.js 18+ and a Vue 3 project using Vite as the build tool
- pnpm, npm, or yarn for package management
- An MCP-compatible client or IDE integration (Claude Desktop, Cursor with MCP support)
- Vue DevTools or the application running in a browser during MCP tool usage
Install the plugin as a dev dependency
Add vite-plugin-vue-mcp to your project's dev dependencies using your preferred package manager.
pnpm install vite-plugin-vue-mcp -D
# or
npm install vite-plugin-vue-mcp -DAdd the plugin to your Vite config
Import VueMcp from the plugin and add it to the plugins array in your vite.config.ts. The MCP server will automatically start when you run the dev server.
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import { VueMcp } from 'vite-plugin-vue-mcp'
export default defineConfig({
plugins: [
Vue(),
VueMcp(),
],
})Start the Vite dev server
Run your development server. The MCP endpoint will be available at http://localhost:[port]/__mcp/sse once the server is running.
pnpm devOpen your application in a browser
The MCP tools inspect the live running application. Navigate to your app in the browser before using any MCP tools — the component tree and state are only available when the app is mounted.
Configure your MCP client
Point your MCP client to the SSE endpoint exposed by the plugin. For Cursor, the plugin automatically updates .cursor/mcp.json. For Claude Desktop, add the server configuration manually.
Vue Examples
Client configuration
Add this to your claude_desktop_config.json (or equivalent MCP client config). Adjust the port to match your Vite dev server port. The MCP endpoint uses SSE transport.
{
"mcpServers": {
"vue-mcp": {
"command": "npx",
"args": ["-y", "vite-plugin-vue-mcp"]
}
}
}Prompts to try
Once the MCP server is running and your Vue app is open in a browser, use these prompts.
- "Show me the full Vue component tree of the currently running app."
- "What is the current state of the UserProfile component?"
- "List all Pinia stores and their current state."
- "What routes are defined in Vue Router for this application?"
- "Highlight the Header component in the browser so I can see where it renders."Troubleshooting Vue
MCP tools return empty results or errors
Make sure the Vue application is running and loaded in a browser tab before calling any MCP tools. The component tree and state are only available when the app is actively mounted in the browser.
The /__mcp/sse endpoint returns 404
Confirm that VueMcp() is included in the plugins array in your vite.config.ts and that the Vite dev server was restarted after adding the plugin. The endpoint path can be customized via the mcpPath option.
get-component-state fails for a specific component
The tool requires the exact component name as registered in the Vue app. Use get-component-tree first to see the exact names available, then pass the correct name to get-component-state.
Frequently Asked Questions about Vue
What is Vue?
Vue is a Model Context Protocol (MCP) server that provides application insights for vue apps by exposing component trees, state, routes, and pinia data through a model context protocol server. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Vue?
Install via npm with the command: npx -y vite-plugin-vue-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Vue?
Vue works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Vue free to use?
Yes, Vue is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Vue Alternatives — Similar Developer Tools Servers
Looking for alternatives to Vue? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Vue in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Vue?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.