diff --git a/Editor/MCPEditorWindow.cs b/Editor/MCPEditorWindow.cs index 89353a2..ba3250f 100644 --- a/Editor/MCPEditorWindow.cs +++ b/Editor/MCPEditorWindow.cs @@ -287,7 +287,7 @@ public class MCPEditorWindow : EditorWindow else { // If not found locally, try to find it in the package cache - string packageName = "com.justinpbarnett.unitymcpserver"; + string packageName = "com.justinpbarnett.unity-mcp"; string packageCachePath = Path.Combine(Application.dataPath, "..", "Library", "PackageCache", packageName); if (Directory.Exists(packageCachePath)) { diff --git a/Python/server.py b/Python/server.py index 3e31d97..a54c8b4 100644 --- a/Python/server.py +++ b/Python/server.py @@ -12,7 +12,7 @@ logging.basicConfig( level=getattr(logging, config.log_level), format=config.log_format ) -logger = logging.getLogger("UnityMCPServer") +logger = logging.getLogger("UnityMCP") # Global connection state _unity_connection: UnityConnection = None diff --git a/Python/unity_connection.py b/Python/unity_connection.py index 41264fa..582a6a8 100644 --- a/Python/unity_connection.py +++ b/Python/unity_connection.py @@ -10,7 +10,7 @@ logging.basicConfig( level=getattr(logging, config.log_level), format=config.log_format ) -logger = logging.getLogger("UnityMCPServer") +logger = logging.getLogger("UnityMCP") @dataclass class UnityConnection: diff --git a/package.json b/package.json index 5b09cc7..bb5c1e5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "com.justinpbarnett.unitymcpserver", + "name": "com.justinpbarnett.unity-mcp", "version": "0.1.0", "displayName": "Unity MCP Server", "description": "A Unity package to communicate with a local MCP Client via a Python server.",