detect_lsp_servers
Scan workspace directories to identify programming languages and locate corresponding Language Server Protocol binaries, generating ready-to-use configuration for the agent-lsp MCP server.
Instructions
Scan a workspace directory for source languages and check PATH for the corresponding LSP server binaries. Returns detected workspace languages (ranked by prevalence), installed servers with their paths, and a suggested_config array ready to paste into the agent-lsp MCP server args. Use this to set up agent-lsp for a new project or verify your configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_dir | Yes |