概要
This tool acts as a Model Context Protocol (MCP) server, bridging the gap between Language Servers and Large Language Models (LLMs). It leverages the power of Language Servers to provide LLMs with precise code understanding, including type information, symbol references, and code diagnostics. By integrating LSP capabilities into the MCP ecosystem, this server enables LLMs to perform advanced code-related tasks like code completion, refactoring, and error detection within large projects, enhancing their ability to interact with and understand complex codebases.
主な機能
- Retrieves source code definitions of symbols.
- Provides diagnostic information for files (warnings, errors).
- Applies text edits programmatically.
- Finds all usages and references of a symbol.
- Retrieves code lens hints for additional context.
ユースケース
- Enabling LLMs to accurately understand code structure and semantics.
- Automating code refactoring tasks within an LLM workflow.
- Improving the accuracy of code generation by LLMs through precise type and reference information.