File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -120,3 +120,5 @@ log.txt
120
120
log.txt.meta
121
121
Server~ /build /*
122
122
Server~ /node_modules /*
123
+ .bmad-core /
124
+ .windsurf /
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ private void DrawServerTab()
175
175
mcpUnityServer . StopServer ( ) ;
176
176
}
177
177
178
- Repaint ( ) ;
178
+ // Repaint();
179
179
180
180
GUI . enabled = true ;
181
181
EditorGUILayout . EndHorizontal ( ) ;
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ public void StartServer()
127
127
{
128
128
var host = McpUnitySettings . Instance . AllowRemoteConnections ? "0.0.0.0" : "localhost" ;
129
129
_webSocketServer = new WebSocketServer ( $ "ws://{ host } :{ McpUnitySettings . Instance . Port } ") ;
130
+ _webSocketServer . ReuseAddress = true ;
130
131
_webSocketServer . AddWebSocketService ( "/McpUnity" , ( ) => new McpUnitySocketHandler ( this ) ) ;
131
132
_webSocketServer . Start ( ) ;
132
133
McpLogger . LogInfo ( $ "WebSocket server started successfully on { host } :{ McpUnitySettings . Instance . Port } .") ;
You can’t perform that action at this time.
0 commit comments