Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cb603b7
restructured project
justinpbarnett Apr 8, 2025
75b62d3
updated gitignore
justinpbarnett Apr 8, 2025
61a7cb9
added remote install of python server
justinpbarnett Apr 8, 2025
ca7124e
updated gitignore
justinpbarnett Apr 8, 2025
183b44a
update gitignore
justinpbarnett Apr 8, 2025
8a89f55
update installer to account for different os
justinpbarnett Apr 8, 2025
7beaab1
updated GitUrl to include branch name
justinpbarnett Apr 8, 2025
99ceb49
update server install process
justinpbarnett Apr 8, 2025
441c0aa
gracefully handle multiple processes
justinpbarnett Apr 8, 2025
2f6d748
updated server install process
justinpbarnett Apr 8, 2025
33b6486
backslashes for windows
justinpbarnett Apr 8, 2025
b36c457
only install UnityMcpServer folder, not whole repo
justinpbarnett Apr 8, 2025
b8c8910
update install location
justinpbarnett Apr 8, 2025
0aa191c
update pyproject name and save location again
justinpbarnett Apr 8, 2025
e4ccf61
update server save location, again
justinpbarnett Apr 8, 2025
7b303b5
update pyproject.toml get location
justinpbarnett Apr 8, 2025
3199421
removed python and uv check during install
justinpbarnett Apr 8, 2025
d5917bd
added loging, updated paths
justinpbarnett Apr 8, 2025
e9bc45c
updated PyprojectUrl
justinpbarnett Apr 8, 2025
f446b50
removed logging
justinpbarnett Apr 8, 2025
8ed8c62
updated auto-config server location
justinpbarnett Apr 8, 2025
64b7712
update version analysis
justinpbarnett Apr 8, 2025
2f26086
update pyproject.toml path
justinpbarnett Apr 8, 2025
a3f1926
pass content, not path
justinpbarnett Apr 8, 2025
8c50e01
update update path
justinpbarnett Apr 8, 2025
9032c58
update server test
justinpbarnett Apr 8, 2025
99f38e2
PR prep
justinpbarnett Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
CLAUDE.md

# Code-copy related files
.codeignore
*codeclip*
.clipignore

# Python-generated files
__pycache__/
Expand All @@ -14,13 +13,19 @@ build/
dist/
wheels/
*.egg-info
UnityMcpServer/**/*.meta
UnityMcpServer.meta

# Virtual environments
.venv

# Unity Editor
*.unitypackage
*.asset
UnityMcpBridge.meta
LICENSE.meta
README.md.meta
CONTRIBUTING.md.meta

# IDE
.idea/
Expand Down
12 changes: 0 additions & 12 deletions Editor/Models/MCPConfigServers.cs

This file was deleted.

17 changes: 0 additions & 17 deletions Editor/Models/McpStatus.cs

This file was deleted.

959 changes: 0 additions & 959 deletions Editor/Tools/ManageAsset.cs

This file was deleted.

1,726 changes: 0 additions & 1,726 deletions Editor/Tools/ManageGameObject.cs

This file was deleted.

397 changes: 0 additions & 397 deletions Editor/Tools/ReadConsole.cs

This file was deleted.

7 changes: 0 additions & 7 deletions LICENSE.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Python.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/__init__.py.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Python/__pycache__.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/config.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/pyproject.toml.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/server.py.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Python/tools.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/__init__.py.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Python/tools/__pycache__.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/execute_menu_item.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/manage_asset.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/manage_editor.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/manage_gameobject.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/manage_scene.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/manage_script.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/tools/read_console.py.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/unity_connection.py.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Python/unity_mcp.egg-info.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Python/uv.lock.meta

This file was deleted.

7 changes: 0 additions & 7 deletions README.md.meta

This file was deleted.

2 changes: 1 addition & 1 deletion Editor.meta → UnityMcpBridge/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityMCP.Editor.Models;
using UnityMcpBridge.Editor.Models;

namespace UnityMCP.Editor.Data
namespace UnityMcpBridge.Editor.Data
{
public class DefaultServerConfig : ServerConfig
{
Expand All @@ -14,4 +14,5 @@ public class DefaultServerConfig : ServerConfig
public new int maxRetries = 3;
public new float retryDelay = 1.0f;
}
}
}

Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
using System;
using System.Collections.Generic;
using System.IO;
using UnityMCP.Editor.Models;
using UnityMcpBridge.Editor.Models;

namespace UnityMCP.Editor.Data
namespace UnityMcpBridge.Editor.Data
{
public class McpClients
{
public List<McpClient> clients = new() {
new() {
public List<McpClient> clients = new()
{
new()
{
name = "Claude Desktop",
windowsConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
Expand All @@ -23,9 +25,10 @@ public class McpClients
"claude_desktop_config.json"
),
mcpType = McpTypes.ClaudeDesktop,
configStatus = "Not Configured"
configStatus = "Not Configured",
},
new() {
new()
{
name = "Cursor",
windowsConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Expand All @@ -38,8 +41,8 @@ public class McpClients
"mcp.json"
),
mcpType = McpTypes.Cursor,
configStatus = "Not Configured"
}
configStatus = "Not Configured",
},
};

// Initialize status enums after construction
Expand All @@ -54,4 +57,5 @@ public McpClients()
}
}
}
}
}

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;

namespace UnityMCP.Editor.Helpers
namespace UnityMcpBridge.Editor.Helpers
{
/// <summary>
/// Provides static methods for creating standardized success and error response objects.
Expand All @@ -19,7 +19,12 @@ public static object Success(string message, object data = null)
{
if (data != null)
{
return new { success = true, message = message, data = data };
return new
{
success = true,
message = message,
data = data,
};
}
else
{
Expand All @@ -35,15 +40,21 @@ public static object Success(string message, object data = null)
/// <returns>An object representing the error response.</returns>
public static object Error(string errorMessage, object data = null)
{
if (data != null)
if (data != null)
{
// Note: The key is "error" for error messages, not "message"
return new { success = false, error = errorMessage, data = data };
return new
{
success = false,
error = errorMessage,
data = data,
};
}
else
{
return new { success = false, error = errorMessage };
}
}
}
}
}

Loading