vite-plugin-vue-mcp

Vite plugin that enables a MCP server helping models to understand your Vue app better.

GitHub Stars

501

User Rating

Not Rated

Favorites

0

Views

32

Forks

27

Issues

19

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Node.js: 18.0.0 or higher
npm: 8.0.0 or higher

Installation Steps

1. Install the Plugin in Your Project

bash
pnpm install vite-plugin-vue-mcp -D

2. Edit Vite Configuration File

Add the following to vite.config.ts:
ts
import { VueMcp } from 'vite-plugin-vue-mcp'

export default defineConfig({
  plugins: [VueMcp()],
})

3. Verify MCP Server

The MCP server will be available at http://localhost:[port]/__mcp/sse.

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Node.js version and reinstall dependencies.

Additional Resources