LSP Tools MCP Server
@rajnaveen344
关于 LSP Tools MCP Server
An MCP server to build LSP
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"lsp-tools-mcp": {
"command": "node",
"args": [
"dist/index.js",
"/path/to/allowed/directory"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is LSP Tools MCP Server?
LSP Tools MCP Server is a Model Context Protocol (MCP) server that provides Language Server Protocol-like functionality for text analysis, enabling regex pattern matching and directory permission checks within allowed file paths.
How to use LSP Tools MCP Server?
Install with npm install and build with npm run build. Start the server by passing one or more allowed directory paths as arguments: node dist/index.js /path/to/allowed/directory. It provides two tools: find_regex_position and list_allowed_directories.
Key features of LSP Tools MCP Server
- Find 0-indexed line/column positions of regex matches in a file.
- List directories the server is allowed to access.
- Restricts file operations to explicitly allowed directories only.
- Provides test and linting support via npm scripts.
Use cases of LSP Tools MCP Server
- Locate text patterns in source code or log files with precise positions.
- Validate which directories the server can operate on before running searches.
- Automate regex‑based code analysis in MCP‑enabled tools.
FAQ from LSP Tools MCP Server
What does LSP Tools MCP Server provide?
It provides two tools: find_regex_position to locate regex matches (with line and column positions) and list_allowed_directories to show the allowed directories.
How does the server restrict file access?
Access is restricted to directories specified as command‑line arguments when starting the server (e.g., node dist/index.js /path/to/dir). The server will not operate on files outside those paths.
What dependencies are required to run the server?
Node.js and npm are required. The package uses Jest for testing and ESLint for linting, but these are development dependencies; only the built server is needed for production use.
Does the server use any authentication or transport protocol?
The README does not mention any authentication or specific transport protocol beyond the standard MCP protocol.
What are the known limitations?
The README does not list any limitations; however, the server only provides the two documented tools and requires explicit directory permissions.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Blender
ahujasidOpen-source MCP to use Blender with any LLM
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
评论