-
Notifications
You must be signed in to change notification settings - Fork 216
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 client (the IDE extension that runs starts the language server) should identify a port dynamically and assign that port via a startup command line system preference (-Dserver.port=<port number>
) to the language server. This also allows the client integration to use this port for automatically configuring the AI assistant of the surrounding IDE to use the embedded MCP server.