LSPs should expose their api through shell commands - then integrating it with any LLM would be trivial. And it would also be very useful for humans.
You could use a CLI frontend for LSP, e.g. https://github.com/valentjn/lsp-cli
But why would that be better than LLMs using the LSP with a dedicated tool rather than a shell command tool?
You could use a CLI frontend for LSP, e.g. https://github.com/valentjn/lsp-cli
But why would that be better than LLMs using the LSP with a dedicated tool rather than a shell command tool?