Skip to content

Commit 41de83e

Browse files
committed
refactor: rename namespace from UnityMcpBridge to MCPForUnity across all files
See thread in #6, we can't use Unity MCP because it violates their trademark. That name makes us look affiliated. We can use MCP for Unity
1 parent 14a6cba commit 41de83e

39 files changed

+65
-65
lines changed

TestProjects/UnityMCPTests/Assets/Tests/EditMode/CommandRegistryTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using Newtonsoft.Json;
33
using NUnit.Framework;
4-
using UnityMcpBridge.Editor.Tools;
4+
using MCPForUnity.Editor.Tools;
55

6-
namespace UnityMCPTests.EditMode
6+
namespace MCPForUnityTests.Editor
77
{
88
public class CommandRegistryTests
99
{

TestProjects/UnityMCPTests/Assets/Tests/EditMode/UnityMCPTests.EditMode.asmdef renamed to TestProjects/UnityMCPTests/Assets/Tests/EditMode/MCPForUnityTests.Editor.asmdef

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "UnityMCPTests.EditMode",
2+
"name": "MCPForUnityTests.EditMode",
33
"rootNamespace": "",
44
"references": [
5-
"UnityMcpBridge.Editor",
5+
"MCPForUnity.Editor",
66
"UnityEngine.TestRunner",
77
"UnityEditor.TestRunner"
88
],

UnityMcpBridge/Runtime/UnityMcpBridge.Runtime.asmdef.meta renamed to TestProjects/UnityMCPTests/Assets/Tests/EditMode/MCPForUnityTests.Editor.asmdef.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityMcpBridge/Editor/Data/DefaultServerConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using UnityMcpBridge.Editor.Models;
1+
using MCPForUnity.Editor.Models;
22

3-
namespace UnityMcpBridge.Editor.Data
3+
namespace MCPForUnity.Editor.Data
44
{
55
public class DefaultServerConfig : ServerConfig
66
{

UnityMcpBridge/Editor/Data/McpClients.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using System.Collections.Generic;
33
using System.IO;
4-
using UnityMcpBridge.Editor.Models;
4+
using MCPForUnity.Editor.Models;
55

6-
namespace UnityMcpBridge.Editor.Data
6+
namespace MCPForUnity.Editor.Data
77
{
88
public class McpClients
99
{

UnityMcpBridge/Editor/Helpers/ExecPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Runtime.InteropServices;
77
using UnityEditor;
88

9-
namespace UnityMcpBridge.Editor.Helpers
9+
namespace MCPForUnity.Editor.Helpers
1010
{
1111
internal static class ExecPath
1212
{

UnityMcpBridge/Editor/Helpers/GameObjectSerializer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using Newtonsoft.Json.Linq;
77
using UnityEditor;
88
using UnityEngine;
9-
using UnityMcpBridge.Runtime.Serialization; // For Converters
9+
using MCPForUnity.Runtime.Serialization; // For Converters
1010

11-
namespace UnityMcpBridge.Editor.Helpers
11+
namespace MCPForUnity.Editor.Helpers
1212
{
1313
/// <summary>
1414
/// Handles serialization of GameObjects and Components for MCP responses.

UnityMcpBridge/Editor/Helpers/PackageInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEditor;
22
using UnityEngine;
33

4-
namespace UnityMcpBridge.Editor.Helpers
4+
namespace MCPForUnity.Editor.Helpers
55
{
66
/// <summary>
77
/// Handles automatic installation of the Python server when the package is first installed.

UnityMcpBridge/Editor/Helpers/PortManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Newtonsoft.Json;
1010
using UnityEngine;
1111

12-
namespace UnityMcpBridge.Editor.Helpers
12+
namespace MCPForUnity.Editor.Helpers
1313
{
1414
/// <summary>
1515
/// Manages dynamic port allocation and persistent storage for Unity MCP Bridge

UnityMcpBridge/Editor/Helpers/Response.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33

4-
namespace UnityMcpBridge.Editor.Helpers
4+
namespace MCPForUnity.Editor.Helpers
55
{
66
/// <summary>
77
/// Provides static methods for creating standardized success and error response objects.

0 commit comments

Comments
 (0)