1. Conduid
  2. Developer Tools
  3. Vue MCP Server
MCP server · Developer Tools

Vue MCP Server

A Vue MCP server exposed as a Vite plugin

37Low

Scored 6 months ago · breakdown

About Vue MCP Server

Vue MCP Server is an MCP server in the Developer Tools category: a Vue MCP server exposed as a Vite plugin.

Install

Claude Code
claude mcp add vue-mcp-server -- npx -y vue-mcp-server
npx
npx -y vue-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (2)

getComponentStateReturns the reactive state (refs, computed) of a component

Parameters not published.

getInspectorTreeReturns the full Vue component tree

Parameters not published.

Ask AI

✦

Ask AI about Vue MCP Server

Powered by Claude · Grounded in docs

I know everything about Vue MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

vue-mcp-server

A Vite plugin that exposes a Model Context Protocol (MCP) server for Vue applications. It lets AI agents (Cursor, Claude Desktop, etc.) inspect your running Vue app in real time — component tree, component state, and more.

Warning — This project is experimental and not production ready.

Credits

This project is heavily inspired by:

Install

npm install vue-mcp-server

Setup

Add the plugin to your vite.config.ts:

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import VueMcpPlugin from "vue-mcp-server";

export default defineConfig({
  plugins: [vue(), VueMcpPlugin()],
});

Start your dev server as usual (vite / npm run dev). The MCP endpoint is available at http://localhost:5173/__mcp.

Connect your AI agent

Add the MCP server to your agent's configuration. For example, in Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "vue-mcp": {
      "url": "http://localhost:5173/__mcp"
    }
  }
}

Adjust the port if your Vite dev server runs on a different one.

MCP Tools

Tool Description Parameters
getInspectorTree Returns the full Vue component tree —
getComponentState Returns the reactive state (refs, computed) of a component nodeId — the node ID from the inspector tree (e.g. app-1:3)

Example workflow

  1. Call getInspectorTree to get the component tree and find the nodeId of the component you're interested in.
  2. Call getComponentState with that nodeId to inspect its reactive state.

How it works

The plugin runs only in dev mode (apply: 'serve'). It:

  1. Injects a client runtime into your app that connects to the Vue DevTools Kit API.
  2. Exposes a Streamable HTTP MCP endpoint at /__mcp via Vite's dev server middleware.
  3. Bridges MCP tool calls to the browser via Vite's WebSocket (HMR) channel.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Vue MCP Server

How do I install Vue MCP Server?

Run claude mcp add vue-mcp-server -- npx -y vue-mcp-server, then add the server to your MCP client's configuration.

Is Vue MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Vue MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.