mcp-language-server icon indicating copy to clipboard operation
mcp-language-server copied to clipboard

Find and use LSPs already installed in VSCode or other IDE where Claude Code is running

Open ohmantics opened this issue 1 year ago • 4 comments

It's much easier to install LSPs in IDEs like VSCode where they have a "store" and the LSPs are one-click installed.

It would be great if this MCP could just find the relevant LSPs that are installed and use them without specific additional configuration.

ohmantics avatar Jul 10 '25 05:07 ohmantics

I think this would be great

0xadeeb avatar Aug 09 '25 14:08 0xadeeb

this is possible , but yeah this is not my project, but i was building my own tool for rust , before i remove rust analyzer as it is slow for running commands , i used to connect to either the daemon i spawn for rust analyzer or connect to existing rust analyzer being used by vscode with the use of Proxy ... I just only see the benefits of doing like that now, lol ... I might be able to create an LSP proxy just for rust analyzer , this project is great but i find it often times it either sluggish or crashing down. maybe its not the mcp server but the LSP server itself...

Your Request is only possible if there is a VSCode plugin that would expose that proxy , as this project dont have that yeah your request are impossible to be done by the Maintainer.

codeitlikemiley avatar Aug 11 '25 01:08 codeitlikemiley

I've ~started iterating on a solution~ that takes an explicit --lsp-connect arg to optionally run in "headless" mode. It's working for me so far, talking to the LSP that I already configured just how I like it over in VSCode.

It has the nice benefit of working around the "too many files opened" bug in a very large repo for me, since I already have my LSP ignore lists all configured over in VSCode.

Need to find a better workaround for the integration tests, though.

UPDATE: New PR here, give it a try!

rickbatka avatar Feb 07 '26 23:02 rickbatka

Would be incredible if PR #116 could be merged. It would offer a no-headache VSCode + clangd integration

nidefawl avatar Jun 01 '26 16:06 nidefawl