File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
UnityMcpBridge/Editor/Windows Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1585,6 +1585,8 @@ private void UnregisterWithClaudeCode()
15851585 var claudeClient = mcpClients . clients . FirstOrDefault ( c => c . mcpType == McpTypes . ClaudeCode ) ;
15861586 if ( claudeClient != null )
15871587 {
1588+ // Optimistically flip to NotConfigured; then verify
1589+ claudeClient . SetStatus ( McpStatus . NotConfigured ) ;
15881590 CheckClaudeCodeConfiguration ( claudeClient ) ;
15891591 }
15901592 Repaint ( ) ;
@@ -1593,6 +1595,12 @@ private void UnregisterWithClaudeCode()
15931595 else
15941596 {
15951597 UnityEngine . Debug . LogWarning ( $ "Claude MCP removal failed: { stderr } \n { stdout } ") ;
1598+ var claudeClient = mcpClients . clients . FirstOrDefault ( c => c . mcpType == McpTypes . ClaudeCode ) ;
1599+ if ( claudeClient != null )
1600+ {
1601+ CheckClaudeCodeConfiguration ( claudeClient ) ;
1602+ }
1603+ Repaint ( ) ;
15961604 }
15971605 }
15981606
You can’t perform that action at this time.
0 commit comments