@treedy/vue-lsp-mcp 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/index.js +1115 -27
- package/dist/vue-service.d.ts +139 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Vue LSP MCP Server
|
|
2
|
+
|
|
3
|
+
A Model Context Protocol (MCP) server that provides Vue.js code intelligence using **Volar** (`@vue/language-server`).
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
* **Vue SFC Support**: Intelligent analysis of `.vue` files (Template, Script, Style).
|
|
8
|
+
* **Hybrid Mode**: Supports TypeScript files in Vue projects.
|
|
9
|
+
* **LSP Features**: Hover, Definition, Completion, etc.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @treedy/vue-lsp-mcp
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Run via command line (stdio):
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
vue-lsp-mcp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or via npx:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx @treedy/vue-lsp-mcp
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Requirements
|
|
32
|
+
|
|
33
|
+
Requires a Vue project with `typescript` and `vue` installed in `node_modules`.
|