Lsp MCP Server
未认领An MCP (Model Context Protocol) server that bridges Claude Code to Language Server Protocol (LSP) servers, enabling semantic code intelligence capabilities.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'lsp-mcp-server' -- 'npx' '-y' '@modelcontextprotocol/inspector' 'node' 'dist/index.js'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
24 个工具中显示 24 个
文档中列出的工具 (24)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
lsp_call_hierarchy
Get the call hierarchy for a function - who calls it and what it calls.
lsp_code_actions
Get available code actions (refactorings, quick fixes) at a position or range, and optionally apply them.
lsp_completions
Get code completion suggestions at a position.
lsp_diagnostics
Get cached diagnostics (errors, warnings) for a file.
lsp_document_symbols
Get all symbols (functions, classes, variables, etc.) defined in a document.
lsp_file_exports
Get the public API surface of a file - all exported functions, classes, interfaces, and variables.
lsp_file_imports
Get all imports and dependencies of a file.
lsp_find_implementations
Find all implementations of an interface or abstract method.
lsp_find_references
Find all references to a symbol across the workspace.
lsp_find_symbol
Find a symbol by name and get comprehensive information about it - no file path needed.
lsp_format_document
Format a document using the language server's formatting capabilities.
lsp_goto_definition
Navigate to the definition of a symbol.
lsp_goto_type_definition
Navigate to the type definition of a symbol (useful for finding the interface/class that defines a variable's type).
lsp_hover
Get hover information (type info, documentation) for a symbol.
lsp_related_files
Find files connected to a given file - what it imports and what imports it.
lsp_rename
Rename a symbol across the workspace.
lsp_server_status
Get status of running language servers.
lsp_signature_help
Get function/method signature information when inside a call expression.
lsp_smart_search
Comprehensive symbol search combining multiple LSP operations in one call.
lsp_start_server
Manually start a language server for a specific workspace.
lsp_stop_server
Stop a running language server.
lsp_type_hierarchy
Get the type hierarchy for a class or interface - supertypes and subtypes.
lsp_workspace_diagnostics
Get diagnostics across all open files in the workspace.
lsp_workspace_symbols
Search for symbols across the entire workspace by name.