detect_lsp_servers
Scans a workspace directory to detect source languages and find corresponding LSP server binaries, returning a ready-to-use configuration for the agent-lsp 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 |