MCP.so
ログイン

LSP Tools MCP Server

@rajnaveen344

LSP Tools MCP Server について

An MCP server to build LSP

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

rajnaveen344

設定

以下の設定を使って、このサーバーを 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.

コメント

「その他」の他のコンテンツ