@@ -817,7 +817,7 @@ private void DrawClientConfigurationCompact(McpClient mcpClient)
817817 if ( claudeAvailable )
818818 {
819819 bool isConfigured = mcpClient . status == McpStatus . Configured ;
820- string buttonText = isConfigured ? "Unregister UnityMCP with Claude Code" : "Register with Claude Code" ;
820+ string buttonText = isConfigured ? "Unregister MCP for Unity with Claude Code" : "Register with Claude Code" ;
821821 if ( GUILayout . Button ( buttonText , GUILayout . Height ( 32 ) ) )
822822 {
823823 if ( isConfigured )
@@ -1623,7 +1623,7 @@ private void RegisterWithClaudeCode(string pythonDir)
16231623 var existingClient = mcpClients . clients . FirstOrDefault ( c => c . mcpType == McpTypes . ClaudeCode ) ;
16241624 if ( existingClient != null ) CheckClaudeCodeConfiguration ( existingClient ) ;
16251625 Repaint ( ) ;
1626- UnityEngine . Debug . Log ( "<b><color=#2EA3FF>MCP-FOR-UNITY</color></b>: UnityMCP already registered with Claude Code." ) ;
1626+ UnityEngine . Debug . Log ( "<b><color=#2EA3FF>MCP-FOR-UNITY</color></b>: MCP for Unity already registered with Claude Code." ) ;
16271627 }
16281628 else
16291629 {
@@ -1653,7 +1653,7 @@ private void UnregisterWithClaudeCode()
16531653 ? "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"
16541654 : null ; // On Windows, don't modify PATH - use system PATH as-is
16551655
1656- // Determine if Claude has a UnityMCP server registered by using exit codes from `claude mcp get <name>`
1656+ // Determine if Claude has a " UnityMCP" server registered by using exit codes from `claude mcp get <name>`
16571657 string [ ] candidateNamesForGet = { "UnityMCP" , "unityMCP" , "unity-mcp" , "UnityMcpServer" } ;
16581658 List < string > existingNames = new List < string > ( ) ;
16591659 foreach ( var candidate in candidateNamesForGet )
@@ -1732,7 +1732,7 @@ private bool ParseTextOutput(string claudePath, string projectDir, string pathPr
17321732 {
17331733 UnityEngine . Debug . Log ( $ "Claude MCP servers (text): { listStdout } ") ;
17341734
1735- // Check if output indicates no servers or contains UnityMCP variants
1735+ // Check if output indicates no servers or contains " UnityMCP" variants
17361736 if ( listStdout . Contains ( "No MCP servers configured" ) ||
17371737 listStdout . Contains ( "no servers" ) ||
17381738 listStdout . Contains ( "No servers" ) ||
@@ -1742,7 +1742,7 @@ private bool ParseTextOutput(string claudePath, string projectDir, string pathPr
17421742 return false ;
17431743 }
17441744
1745- // Look for UnityMCP variants in the output
1745+ // Look for " UnityMCP" variants in the output
17461746 return listStdout . Contains ( "UnityMCP" ) ||
17471747 listStdout . Contains ( "unityMCP" ) ||
17481748 listStdout . Contains ( "unity-mcp" ) ;
@@ -2148,13 +2148,13 @@ private void CheckClaudeCodeConfiguration(McpClient mcpClient)
21482148 string configJson = File . ReadAllText ( configPath ) ;
21492149 dynamic claudeConfig = JsonConvert . DeserializeObject ( configJson ) ;
21502150
2151- // Check for UnityMCP server in the mcpServers section (current format)
2151+ // Check for " UnityMCP" server in the mcpServers section (current format)
21522152 if ( claudeConfig ? . mcpServers != null )
21532153 {
21542154 var servers = claudeConfig . mcpServers ;
21552155 if ( servers . UnityMCP != null || servers . unityMCP != null )
21562156 {
2157- // Found UnityMCP configured
2157+ // Found MCP for Unity configured
21582158 mcpClient . SetStatus ( McpStatus . Configured ) ;
21592159 return ;
21602160 }
@@ -2174,11 +2174,11 @@ private void CheckClaudeCodeConfiguration(McpClient mcpClient)
21742174
21752175 if ( string . Equals ( normalizedProjectPath , normalizedProjectDir , StringComparison . OrdinalIgnoreCase ) && project . Value ? . mcpServers != null )
21762176 {
2177- // Check for UnityMCP (case variations)
2177+ // Check for " UnityMCP" (case variations)
21782178 var servers = project . Value . mcpServers ;
21792179 if ( servers . UnityMCP != null || servers . unityMCP != null )
21802180 {
2181- // Found UnityMCP configured for this project
2181+ // Found MCP for Unity configured for this project
21822182 mcpClient . SetStatus ( McpStatus . Configured ) ;
21832183 return ;
21842184 }
0 commit comments