From d630be8a067b685cb33d589627bed63455e215d8 Mon Sep 17 00:00:00 2001 From: David Sarno Date: Tue, 21 Oct 2025 12:37:31 -0700 Subject: [PATCH 1/2] mcp_source.py: use MCPForUnity path and show branch in options --- mcp_source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcp_source.py b/mcp_source.py index 4b1390ea..ae964c91 100755 --- a/mcp_source.py +++ b/mcp_source.py @@ -92,7 +92,7 @@ def write_json(path: pathlib.Path, data: dict) -> None: def build_options(repo_root: pathlib.Path, branch: str, origin_https: str): - upstream = "git+https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity" + upstream = "https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity" # Ensure origin is https origin = origin_https # If origin is a local file path or non-https, try to coerce to https github if possible @@ -103,9 +103,9 @@ def build_options(repo_root: pathlib.Path, branch: str, origin_https: str): origin_remote = origin return [ ("[1] Upstream main", upstream), - ("[2] Remote current branch", + (f"[2] Remote {branch}", f"{origin_remote}?path=/{BRIDGE_SUBPATH}#{branch}"), - ("[3] Local workspace", + (f"[3] Local {branch}", f"file:{(repo_root / BRIDGE_SUBPATH).as_posix()}"), ] From eac7c6c25314db75dee00d4292c2c446cfade8ea Mon Sep 17 00:00:00 2001 From: David Sarno Date: Tue, 21 Oct 2025 13:45:57 -0700 Subject: [PATCH 2/2] dev(deps): replace pytest-anyio (stub) with pytest-asyncio for tests --- MCPForUnity/UnityMcpServer~/src/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCPForUnity/UnityMcpServer~/src/pyproject.toml b/MCPForUnity/UnityMcpServer~/src/pyproject.toml index 294e9ff5..dda99f1e 100644 --- a/MCPForUnity/UnityMcpServer~/src/pyproject.toml +++ b/MCPForUnity/UnityMcpServer~/src/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ [project.optional-dependencies] dev = [ "pytest>=8.0.0", - "pytest-anyio>=0.6.0", + "pytest-asyncio>=0.23", ] [build-system]