Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion MCPForUnity/UnityMcpServer~/src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-anyio>=0.6.0",
"pytest-asyncio>=0.23",
]

[build-system]
Expand Down
6 changes: 3 additions & 3 deletions mcp_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()}"),
]

Expand Down