关于
LSP is an MCP server that integrates Language Server Protocol (LSP) functionalities to bring powerful IDE-like refactoring tools directly to coding agents. It exposes these advanced refactoring capabilities as Model Context Protocol (MCP) tools, enabling AI clients like Claude Code to perform complex code modifications, symbol renames, and code extractions with high precision. This server acts as a bridge, translating natural language requests from agents into structured LSP commands for various programming languages, enhancing automated code development workflows.
主要功能
- Rename symbols consistently across all relevant files
- Extract code selections into new functions
- Find all references to symbols within codebases
- Move functions between files via LSP refactoring
- Rename files and folders using LSP capabilities
- 0 GitHub stars
使用案例
- Automating symbol renaming (e.g., functions, classes, variables) across a project by a coding agent.
- Enabling coding agents to find all references to a specific code symbol for analysis or modification.
- Allowing coding agents to refactor code by extracting a block of lines into a new function.