Skip to content

Vue Codebase MCPStructured knowledge and live preview for Vue 3 codebases

Two MCP servers — one tells an AI assistant what is in the codebase, the other shows a human what it looks like when it runs

Two servers, one index ​

  • vue-codebase-mcp answers what is in the codebase: components with resolved props, events and slots, composables, Pinia stores, routes, utilities and markdown documentation — over MCP, for an AI assistant.
  • vue-codebase-view-mcp answers what it looks like when it runs: a live Vite dev server that renders your real components in a browser — for a human, with an interactive stand, an API table and a dependency graph.

The view server reads the same index and the same configuration file, and reuses the indexer as a library: no indexing logic is duplicated.

Both are live servers, not data exports: the client (Qwen Code, Cursor, VS Code, Claude Desktop) spawns the process itself and queries it during the session. The JSON snapshot on disk is only a cache that makes startup instant, and it is never handed to the model wholesale — each tool returns exactly the slice that was asked for.

What you will need ​

  • Node ≥ 20 and a Vue 3 project (TypeScript or JavaScript — Vue 2 is not supported);
  • an MCP client: Qwen Code, Cursor, VS Code, Claude Desktop, Windsurf;
  • about ten minutes: the Quick Start walks from installation to the first answer and the live preview, with real command output.

Never worked with MCP? What is MCP explains the client, the server, tools and resources in plain language — no specification required. Prefer the short version of the same story: Introduction.

Prefer to look before installing? Every example on this site is measured against the three demo projects that ship with the repository — Demo projects, and Recipes shows what the tools answer on them.

Need one index for the whole team? The server runs on any host over HTTP: Deployment covers starting it, systemd, Docker, a reverse proxy with TLS and security, and the From scratch section walks from an empty machine to a working URL — for readers who have never deployed anything to a server before.

MIT Licensed