LSP 工具 MCP 服务器

LSP 工具 MCP 服务器

一个用于构建 LSP 的 MCP 服务器,支持文本分析功能。

快速入门

安装

运行以下命令安装依赖并构建项目:

npm install npm run build

使用

启动服务器以允许访问特定目录:

node dist/index.js /path/to/allowed/directory

或指定多个目录:

node dist/index.js /path/to/dir1 /path/to/dir2

开发

运行测试:

npm test

或在开发时启用监视模式:

npm run test:watch

代码检查:

npm run lint