File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,20 @@ public class McpClients
2828 configStatus = "Not Configured" ,
2929 } ,
3030 new ( )
31+ {
32+ name = "Claude Code" ,
33+ windowsConfigPath = Path . Combine (
34+ Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) ,
35+ ".claude.json"
36+ ) ,
37+ linuxConfigPath = Path . Combine (
38+ Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) ,
39+ ".claude.json"
40+ ) ,
41+ mcpType = McpTypes . ClaudeCode ,
42+ configStatus = "Not Configured" ,
43+ } ,
44+ new ( )
3145 {
3246 name = "Cursor" ,
3347 windowsConfigPath = Path . Combine (
@@ -63,20 +77,6 @@ public class McpClients
6377 mcpType = McpTypes . VSCode ,
6478 configStatus = "Not Configured" ,
6579 } ,
66- new ( )
67- {
68- name = "Claude Code" ,
69- windowsConfigPath = Path . Combine (
70- Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) ,
71- ".claude.json"
72- ) ,
73- linuxConfigPath = Path . Combine (
74- Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) ,
75- ".claude.json"
76- ) ,
77- mcpType = McpTypes . ClaudeCode ,
78- configStatus = "Not Configured" ,
79- } ,
8080 } ;
8181
8282 // Initialize status enums after construction
Original file line number Diff line number Diff line change @@ -957,7 +957,7 @@ private void RegisterWithClaudeCode(string pythonDir)
957957 process . WaitForExit ( ) ;
958958
959959
960-
960+
961961 // Check for success or already exists
962962 if ( output . Contains ( "Added stdio MCP server" ) || errors . Contains ( "already exists" ) )
963963 {
@@ -968,6 +968,7 @@ private void RegisterWithClaudeCode(string pythonDir)
968968 CheckMcpConfiguration ( claudeClient ) ;
969969 }
970970 Repaint ( ) ;
971+ UnityEngine . Debug . Log ( "UnityMCP server successfully registered from Claude Code." ) ;
971972
972973
973974 }
You can’t perform that action at this time.
0 commit comments