Vue

v0.3.2Developer Toolsstable

Provides application insights for Vue apps by exposing component trees, state, routes, and Pinia data through a Model Context Protocol server.

vite-pluginvuemcpmodelcontextprotocol
Share:
566
Stars
0
Downloads
0
Weekly
0/5

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

Expose Vue component trees, state, routes, and Pinia data to AI agents.
Get application insights for debugging and optimization through MCP.
webfansplz

Maintainer

LicenseMIT License
Languagevue
Versionv0.3.2
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y vite-plugin-vue-mcp

Manual Installation

npx -y vite-plugin-vue-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 -D
2

Add 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(),
  ],
})
3

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 dev
4

Open 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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "vue-mcp-server": { "command": "npx", "args": ["-y", "vite-plugin-vue-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides