-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: ai supported codingtype: enhancementtype: install-issue
Milestone
Description
At the moment, the port for the embedded MCP server is assigned statically to a fixed value in the application.properties file. This causes trouble when there are multiple instances of the language server running on the same machine, since they all try to use the same port, which causes every language server to fail starting up when that server is not the first one on that machine.
Instead, the language server should be configured with a 0 as the port, which assigns a random free port to the embedded MCP servers http server.
The exact port can then be identified from inside of the language server easily, so that the client integration can then use this dynamic port to auto-configure the MCP server.
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: ai supported codingtype: enhancementtype: install-issue