Lsp icon

Lsp

39

Bridges Language Server Protocol (LSP) servers with Model Context Protocol (MCP) clients, enabling LLMs to leverage LSP features.

关于

Lsp acts as a bridge between Language Server Protocol (LSP) servers and Model Context Protocol (MCP) clients, allowing Large Language Models (LLMs) to tap into the power of LSP for more accurate code suggestions and analysis. By exposing LSP functionalities like hover information, code completion, and diagnostics through MCP tools and resources, Lsp empowers LLMs to provide enhanced code-related assistance.

主要功能

  • Exposes LSP Hover and Completion providers to LLMs.
  • Offers MCP tools for code actions, diagnostics, and document management.
  • Provides real-time diagnostic updates via MCP resources.
  • Supports runtime-configurable log levels.
  • Includes language-specific extensions (e.g., Haskell).

使用案例

  • Enabling LLMs to provide more accurate code suggestions.
  • Accessing code completion and hover information through MCP.
  • Utilizing LSP diagnostics within LLM-powered development environments.
Craft Better Prompts with AnyPrompt
Sponsored
Lsp: Bridge LLMs to LSP for Smarter Code