LSP Tools MCP Server
@rajnaveen344
About LSP Tools MCP Server
An MCP server to build LSP
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lsp-tools-mcp": {
"command": "node",
"args": [
"dist/index.js",
"/path/to/allowed/directory"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Other MCP servers
ICSS
chokcoco不止于 CSS
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Comments