LSPツールMCPサーバー
テキスト分析用の言語サーバー プロトコルのような機能を提供するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
正規表現の位置を検索: ファイル内の正規表現パターンに一致する 0 から始まる行と列の位置を検索します。
許可されたディレクトリの一覧: サーバーがアクセスを許可されているディレクトリの一覧を取得します
インストール
使用法
発達
テストの実行
このプロジェクトではテストにJestを使用しています。以下のコマンドでテストを実行します。
開発中にウォッチモードでテストを実行するには:
リンティング
ESLint を使用してコードをリントします。
ツールドキュメント
正規表現の位置を見つける
このツールは、ファイル内の正規表現パターンに一致する 0 インデックスの行と列の位置を見つけます。
パラメータ:
path
: 検索するファイルへのパスregex
: 検索する正規表現パターン
戻り値:
次のプロパティを持つ一致の配列:
match
: 一致したテキストline
: 開始行(0から始まる)column
: 開始列(0から始まるインデックス)endLine
: 終了行(0から始まる)endColumn
: 終了列(0から始まる、0を含まない)
許可されたディレクトリの一覧
このツールは、このサーバーがアクセスを許可されているすべてのディレクトリを一覧表示します。
パラメータ:
なし
戻り値:
許可されたディレクトリへの絶対パスの配列
ライセンス
マサチューセッツ工科大学
local-only server
The server can only run on the client's local machine because it depends on local resources.
ファイル内の正規表現パターンの位置を検索し、許可されたディレクトリを一覧表示するツールを提供し、LSP のような機能によるテキスト分析を可能にするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.Last updated -6530MIT License
- -securityAlicense-qualityA server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.Last updated -15GPL 3.0
- -securityAlicense-qualityA Model Context Protocol server that provides token-aware directory exploration and file analysis for Large Language Models, enabling intelligent codebase navigation with features like directory scanning, file content extraction, and token usage statistics.
- -securityAlicense-qualityA Model Context Protocol server that enables token-aware directory exploration and file analysis for LLMs, helping them understand codebases through intelligent scanning and reporting.Last updated -3MIT License