lsp-mcp
The LSP MCP Server is a Model Context Protocol server designed for interacting with the Language Server Protocol interface. This server acts as a bridge, enabling large language models (LLMs) to query LSP hover and completion providers. By doing so, LLMs can obtain more accurate code suggestions, enhancing their utility in code development and analysis.
GitHub Stars
70
User Rating
Not Rated
Favorites
0
Views
28
Forks
10
Issues
3
Technical Information
Programming Languages
TypeScriptPrimary Language
System Requirements
Node.js (v16 or later)npmProvided Features
get_info_on_location: 特定のファイル内の位置におけるhover情報を取得
get_completions: 特定のファイル内の位置における補完提案を取得
get_code_actions: 特定の範囲に対するコードアクションを取得
open_document: LSPサーバーでファイルを開いて分析する
close_document: LSPサーバーでファイルを閉じる
get_diagnostics: 開いているファイルの診断メッセージを取得
start_lsp: 指定されたルートディレクトリでLSPサーバーを起動
restart_lsp_server: MCPサーバーを再起動せずにLSPサーバーを再起動
Safety Analysis
Safety Score
Safe100/100
Recommended For
Recommended for developers using TypeScript, those looking to extend IDEs or editors with LSP capabilities, and projects aiming to implement AI-driven code completion and analysis features.