Skip to main content

Migrate To The Fork

Stable 1.0.0 starts this fork's independent version series from upstream 10.3.x code; it is not an upstream downgrade. Fork release notes distinguish additions from fixes and list verification limits.

Replace the package​

  1. Save the project and review uncommitted changes before changing dependencies.
  2. Remove com.coplaydev.unity-mcp in Package Manager. The fork retains original assembly names and asset GUIDs; the packages must not coexist.
  3. Install com.ykh09242.unity-mcp with the stable Git URL. Update old package entries in testables too, if present.
  4. Open Window > Unity MCP (ykh09242). Clear unintended development server overrides so the installed package selects its pinned server.
  5. Start HTTP before configuring clients; regenerate configurations and reconnect. Remove obsolete entries that would launch the upstream distribution.
  6. Discover connected Editors and perform a read-only verification before editing.

The Python distribution is ykh09242-unity-mcp-server; executables remain mcp-for-unity and unity-mcp. Python modules, existing tool names, resource identifiers, C# namespaces and original MIT notices are retained.

Versions and updates​

SourceWhat it selects
#ykh09242-v2.6.0The current stable fork release tag.
Full 40-character SHAA commit-addressed Unity package revision.
#betaThe moving development branch, not an immutable release.
Installed mcpServerSourceMatching Python source at a full SHA and Server subdirectory.

Unity and Python versions can evolve independently; this release uses 2.6.0 for both. The installed package's MCPForUnity/package.json is authoritative for mcpServerSource, the immutable Python server archive. Downloading that archive bypasses Git for Windows checkout limits. Its source commit need not match the Unity package's later release commit. Default launch validates the same-fork full-commit archive (or a legacy full-commit Git pin) and does not silently fall back to PyPI or a floating branch.

Update checks are notifications, not changes to the installed pin. Tagged/SHA/default fork installs check beta metadata. Explicit #main checks inherited main; explicit #beta checks beta. Other revision spellings do not imply a preserved separate update channel. Local-copy/Asset Store update routing is unsupported; manage local copies manually.

Adapt client behavior​

  • Since 1.1.1, setup opens only when requested. Closing an MCP window does not stop its server or bridge; HTTP auto-start remains an optional background preference. Previously saved Editor layouts can still restore an open tab.
  • Send JSON booleans for flags and whole integers for integer fields. Invalid scalar values are rejected rather than rounded, truncated, or silently defaulted; documented string alternatives remain supported.
  • Local HTTP/WebSocket needs a fresh token each launch. Since 1.2.1, verified Codex and Claude Code configurations use token-file helpers; reconnect when necessary. Static-header clients still need reconfiguration after restarting. See client configuration.
  • Modern sessionless calls need explicit targets when local selection is ambiguous, and always in hosted mode. Tools use unity_instance; resources use _meta.unity_instance. Stateful legacy connections can retain a default Editor selection.
  • Tool discovery is separate from Editor selection: supported modern scopes retain project-bound tool choices. Modern HTTP using the existing API-key layer cannot change tool selection; set UNITY_MCP_TOOL_PROFILE=full in the server environment, restart and reconnect when needed. See Tool Visibility And Groups.
  • High-impact tools need explicit Editor consent; general enablement does not grant it. See Security And Consent.
  • Validation and budgets reject more invalid/oversized requests, but errors do not guarantee an unchanged project: best-effort operations can apply valid fields before reporting invalid ones. Inspect state before retrying writes. CLI Unity failures now return nonzero status; review shell-script assumptions.
  • A timeout after dispatch does not prove a write was canceled. Inspect state before retrying.

Historical documentation​

Upstream release history and version migrations describe CoplayDev releases and older distribution routes. They are history, not instructions to install this fork from Asset Store, OpenUPM or PyPI. Use Install And Connect for current setup.