LSP Tools MCP Server
LSPツールMCPサーバー
テキスト分析用の言語サーバー プロトコルのような機能を提供するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
正規表現の位置を検索: ファイル内の正規表現パターンに一致する 0 から始まる行と列の位置を検索します。
許可されたディレクトリの一覧: サーバーがアクセスを許可されているディレクトリの一覧を取得します
Related MCP server: MCP Filesystem Server
インストール
npm install
npm run build使用法
# Start the server allowing access to a specific directory
node dist/index.js /path/to/allowed/directory
# Start the server with multiple allowed directories
node dist/index.js /path/to/dir1 /path/to/dir2 /path/to/dir3発達
テストの実行
このプロジェクトではテストにJestを使用しています。以下のコマンドでテストを実行します。
npm test開発中にウォッチモードでテストを実行するには:
npm run test:watchリンティング
ESLint を使用してコードをリントします。
npm run lintツールドキュメント
正規表現の位置を見つける
このツールは、ファイル内の正規表現パターンに一致する 0 インデックスの行と列の位置を見つけます。
パラメータ:
path: 検索するファイルへのパスregex: 検索する正規表現パターン
戻り値:
次のプロパティを持つ一致の配列:
match: 一致したテキストline: 開始行(0から始まる)column: 開始列(0から始まるインデックス)endLine: 終了行(0から始まる)endColumn: 終了列(0から始まる、0を含まない)
許可されたディレクトリの一覧
このツールは、このサーバーがアクセスを許可されているすべてのディレクトリを一覧表示します。
パラメータ:
なし
戻り値:
許可されたディレクトリへの絶対パスの配列
ライセンス
マサチューセッツ工科大学
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rajnaveen344/lsp-tools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server