Vue LSP MCP服务器
一个模型上下文协议(MCP)服务器,使用以下方式提供Vue.js代码智能 伏拉尔 (@vue/language-server).
特性
- Vue SFC支持:智能分析
.vue文件(模板、脚本、样式)。 - 混合模式:支持Vue项目中的TypeScript文件。
- LSP功能:悬停、定义、完成等。
安装
npm install -g @treedy/vue-lsp-mcp用法
通过命令行(stdio)运行:
vue-lsp-mcp或者通过npx:
npx @treedy/vue-lsp-mcp需求
需要一个Vue项目 typescript 和 vue 安装在 node_modules.
