LSP

•

Provides semantic code intelligence from language servers to AI agents for robust, long-running agentic workflows.

LSP is a comprehensive MCP server that transforms Language Server Protocol (LSP) servers into queryable infrastructure specifically designed for AI agents. It targets complex, long-running agentic workflows by maintaining persistent language server sessions, enabling agents to operate on a fully indexed, stateful workspace with real-time diagnostics and cross-file reasoning. This design significantly enhances token efficiency for LLM agents, allowing them to query the pre-built code index directly instead of loading entire files into context. Featuring 24 tools for navigation, diagnostics, refactoring, and formatting, and CI-verified across 7 programming languages, LSP ensures correctness, persistence, and reliability for advanced code intelligence applications driven by AI.

Key Features

01Real-time diagnostic subscriptions and notifications for active code monitoring
0224 tools for code navigation, diagnostics, refactoring, and formatting
03Persistent language server sessions for stateful, indexed workspace operations
04Token-efficient direct queries to the code index for LLM agents
050 GitHub stars
06CI-verified multi-language support across 7 languages (TypeScript, Python, Go, Rust, Java, C/C++, PHP)

Use Cases

01Safe, workspace-wide refactoring with full code context
02Agent-driven analysis across large, multi-language repositories
03Integration into CI pipelines for validation against real language server behavior