Following this closed issue : #28
actually issue still happening on my end sometimes maybe at 50:50 chance
[MCP Unity] Failed to start WebSocket server: Port 8030 is already in use. Only one usage of each socket address (protocol/network address/port) is normally permitted.
The work around i do is usually changing the Port to another number or restarting unity
im checking the task process running at that port when it failed to start and this is the result

after i restart unity the task is disapear, and i can start normally. and this is how it's lookslike on fresh start

i think, somehow the process got stuck while recompile happens forcing the MCP server to restart but the old server is failed to stop completely.
should we have an option to ForceRestart the server?
PS: Let me know if you need any assistance to test it
Following this closed issue : #28
actually issue still happening on my end sometimes maybe at 50:50 chance
The work around i do is usually changing the Port to another number or restarting unity
im checking the task process running at that port when it failed to start and this is the result

after i restart unity the task is disapear, and i can start normally. and this is how it's lookslike on fresh start

i think, somehow the process got stuck while recompile happens forcing the MCP server to restart but the old server is failed to stop completely.
should we have an option to ForceRestart the server?
PS: Let me know if you need any assistance to test it