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.
「その他」の他のコンテンツ
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
コメント