[KongchangAI]
ConceptLanguage Server Protocol

LSP

The Language Server Protocol (LSP) is an open communication protocol standard proposed by Microsoft that defines the interaction between code editors or integrated development environments (IDEs) and language servers. LSP adopts a client–server architecture, encapsulating code-analysis logic—such as auto-completion, go-to-definition, error diagnostics, and code refactoring—in standalone language servers. This allows a single language server to be reused across multiple editors, thereby reducing the development and maintenance costs of toolchains.

Core Facts

Timeline (last 90 days)

Oct 26

LSP has now become a de facto standard, widely supported by VS Code, Neovim, Emacs (via lsp-mode/eglot), Sublime Text, and others, covering dozens of programming languages.

Unverified50%
Oct 26

It took several years for LSP to go from proposal to de facto standard.

Unverified50%
Oct 26

The interaction complexity of type systems is far higher than the general language features LSP currently covers; for example, a single member completion may trigger computations such as conditional type evaluation, generic parameter inference, and intersection type merging.

Unverified50%
Oct 26

LSP reduces the cost of adapting editors to language services from M×N to M+N, meaning each language only needs to implement one server and each editor only needs to implement one client.

Unverified50%
Oct 26

The Type Server Protocol builds on LSP, unifying type information queries and interactions into the protocol.

Unverified50%
Oct 18

Helix builds LSP in as a default capability that works out of the box without plugins, which is an important selling point distinguishing it from the traditional Vim ecosystem.

Unverified50%
Oct 18

As a fork of Helix, Mitos naturally inherits Helix's built-in LSP support.

Unverified50%
Oct 17

LSP diagnostics are asynchronous and delayed; by the time errors arrive the file has already been written to disk, and the snapshot and index may already be polluted.

Unverified50%
Oct 17

CodeSmith already had three after-the-fact lines of defense: LSP diagnostics inject compile errors after edits, a declaration verifier at round end replays test commands, and run_tests lets the model run tests itself.

Unverified50%
Oct 16

Serena provides, through MCP, the language server (LSP) capabilities running behind the IDE, such as go-to-definition and find-references; its advantage is following accurate references and resolving types, but building the index takes time.

Unverified50%

40 more timeline events

All Facts (20)

Verified

LSP (Language Server Protocol) is a communication protocol designed and open-sourced by Microsoft in 2016 for VS Code.

90%
Verified

The design philosophy of MCP draws on LSP (Language Server Protocol), aiming to unify the way context is passed between AI models and external systems.

90%
Verified

The design of MCP was inspired by the Language Server Protocol (LSP) proposed by Microsoft.

90%
Verified

MCP's design was inspired by the Language Server Protocol (LSP), which simplifies the M×N integration problem between editors and programming languages to linear complexity of M+N.

80%
Verified

MCP(模型上下文协议)是由Anthropic于2024年底推出的开放标准协议,旨在为AI模型与外部工具、数据源之间建立统一的通信接口

80%
Verified

MCP借鉴了LSP(Language Server Protocol)的设计思想

80%
Verified

The Language Server Protocol (LSP) decouples language intelligence suggestion logic from the editor, enabling any programming language to implement the protocol once and obtain auto-completion and error detection in all LSP-compatible editors.

75%
Verified

ACP (Agent Communication Protocol) was proposed under the leadership of IBM Research and is an open protocol that standardizes the interaction between Agents and clients.

75%
Verified

The Language Server Protocol was proposed by Microsoft in 2016, with its core concept being the decoupling of language intelligence from editors, reducing complexity from M×N to M+N.

70%
Verified

VS Code is a code editor open-sourced by Microsoft that has become one of the most popular development tools in the world thanks to its Language Server Protocol (LSP) architecture and rich extension ecosystem.

70%
Verified

LSP (Language Server Protocol) was designed by Microsoft for VS Code in 2016 and open-sourced, simplifying the M×N adaptation relationship of M editors supporting N languages to M+N.

65%
Unverified

avante.nvim可以与LSP、Treesitter、Telescope等核心Neovim插件协同工作

90%
Unverified

Serena的语义检索能力建立在Language Server Protocol(LSP)之上,LSP最初由微软为VS Code设计

90%
Unverified

Neovim自2014年启动,内置LSP客户端、Tree-sitter语法解析和异步任务等特性

90%
Unverified

Cursor保留了VS Code的Electron桌面框架、插件系统、语言服务器协议(LSP)和调试适配器协议(DAP)

90%
Unverified

Helix将LSP客户端深度集成进核心,安装语言服务器后无需任何额外配置即可自动识别并连接

90%
Unverified

LSP的标准化让VS Code等编辑器能够支持数百种编程语言的智能提示,而无需为每种语言单独开发插件

90%
Unverified

OpenCode集成了LSP(语言服务器协议),能够实时显示代码中的错误信息

90%
Unverified

oh-my-pi 集成了语言服务器协议(LSP),使 AI 代理能够获取实时的代码诊断信息、类型检查结果和自动补全建议

85%
Unverified

Claude Code接入LSP后可以获得编译器级别的语义理解,对C++等强类型项目能实现类型级别的精准度

80%

Source Articles