Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LSP_CONFIG_PATH | No | Path to configuration file | |
| LSP_MCP_LOG_LEVEL | No | Override log level (debug, info, warn, error) | info |
| LSP_WORKSPACE_ROOT | No | Override workspace root detection | |
| LSP_MCP_REQUEST_TIMEOUT | No | Override request timeout in milliseconds | 30000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lsp_goto_definition | Navigate to the definition of a symbol at the given position. Returns file path, line, and column of the definition. |
| lsp_goto_type_definition | Navigate to the type definition of a symbol. Useful for finding the class/interface that defines a variable's type. |
| lsp_find_references | Find all references to the symbol at the given position across the workspace. |
| lsp_find_implementations | Find all implementations of an interface or abstract method. |
| lsp_hover | Get hover information (type info, documentation) for the symbol at the given position. |
| lsp_signature_help | Get function/method signature information when inside a call expression. |
| lsp_document_symbols | Get all symbols (functions, classes, variables, etc.) defined in a document. |
| lsp_workspace_symbols | Search for symbols across the entire workspace by name. |
| lsp_diagnostics | Get cached diagnostics (errors, warnings) for a file. Diagnostics come from language server notifications. |
| lsp_completions | Get code completion suggestions at the given position. |
| lsp_rename | Rename a symbol across the workspace. By default performs a dry run showing changes without applying them. |
| lsp_code_actions | Get available code actions (refactorings, quick fixes) at a position or range. Use for automated fixes, imports organization, and refactoring operations. |
| lsp_call_hierarchy | Get the call hierarchy for a function/method - who calls this function (incoming) and what functions this calls (outgoing). Essential for understanding code flow and impact analysis before refactoring. |
| lsp_type_hierarchy | Get the type hierarchy for a class/interface - supertypes (parents, interfaces) and subtypes (children, implementations). Use for understanding inheritance and planning refactoring that affects class hierarchies. |
| lsp_format_document | Format a document using the language server's formatting capabilities. Respects project-specific formatting settings. |
| lsp_smart_search | Comprehensive symbol search combining multiple LSP operations in one call. Get definition, references, implementations, type info, and call hierarchy for a symbol. More efficient than calling multiple individual tools. |
| lsp_server_status | Get status of running language servers. |
| lsp_start_server | Manually start a language server for a specific workspace. |
| lsp_stop_server | Stop a running language server. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |