LSP
- typescript
2
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"professioneit-lsp-mcp-server": {
"command": "node",
"args": [
"/absolute/path/to/lsp-mcp-server/dist/index.js"
],
"env": {
"LSP_CONFIG_PATH": "/path/to/config.json",
"LSP_MCP_LOG_LEVEL": "info",
"LSP_WORKSPACE_ROOT": "/workspace/root",
"LSP_MCP_REQUEST_TIMEOUT": "60000"
}
}
}
}Available tools
lsp_goto_definition
Navigate to the definition of a symbol in the current file or project.
lsp_goto_type_definition
Navigate to the type definition associated with a symbol.
lsp_find_references
Find all references to a symbol across the workspace.
lsp_find_implementations
Find all implementations of an interface or abstract method.
lsp_hover
Show hover information including type details and documentation.
lsp_signature_help
Show function or method parameter hints at the call site.
lsp_document_symbols
List all symbols defined in a document.
lsp_workspace_symbols
Search symbols across the entire workspace.
lsp_diagnostics
Retrieve cached diagnostics for a file.
lsp_completions
Provide code completion suggestions at a given position.
lsp_rename
Rename a symbol across the workspace with an optional dry run.
lsp_code_actions
Offer code actions like quick fixes and refactorings.
lsp_format_document
Format a document using the language server formatter.
lsp_call_hierarchy
Inspect who calls a function and what it calls.
lsp_type_hierarchy
Explore supertypes and subtypes for a class or interface.
lsp_smart_search
Perform a comprehensive symbol analysis by combining multiple operations.
lsp_server_status
Check the status of running language servers.
lsp_start_server
Start a language server for a specific workspace.
lsp_stop_server
Stop a running language server.