lsp_rename
Rename a symbol across the workspace.
How to use it
Project documentation lists lsp_rename for the Lsp MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Lsp MCP Server
npx @modelcontextprotocol/inspector node dist/index.jsOther tools in Lsp MCP Server (23)
Get the call hierarchy for a function - who calls it and what it calls.
Get available code actions (refactorings, quick fixes) at a position or range, and optionally apply them.
Get code completion suggestions at a position.
Get cached diagnostics (errors, warnings) for a file.
Get all symbols (functions, classes, variables, etc.) defined in a document.
Get the public API surface of a file - all exported functions, classes, interfaces, and variables.
Get all imports and dependencies of a file.
Find all implementations of an interface or abstract method.
Find all references to a symbol across the workspace.
Find a symbol by name and get comprehensive information about it - no file path needed.
Format a document using the language server's formatting capabilities.
Navigate to the definition of a symbol.
Navigate to the type definition of a symbol (useful for finding the interface/class that defines a variable's type).
Get hover information (type info, documentation) for a symbol.
Find files connected to a given file - what it imports and what imports it.
Get status of running language servers.
Get function/method signature information when inside a call expression.
Comprehensive symbol search combining multiple LSP operations in one call.
Manually start a language server for a specific workspace.
Stop a running language server.
Get the type hierarchy for a class or interface - supertypes and subtypes.
Get diagnostics across all open files in the workspace.
Search for symbols across the entire workspace by name.