Replies: 1 comment
|
On the core question — the pin is a snapshot, not something that follows the package. That's exactly the drift you're worried about, and your git-tracked package setup ( A couple of practical takes on your sub-questions:
I'd flag the rest as genuinely maintainer questions, since they depend on the project's intended contract rather than anything observable from the config: (a) the exact failure mode on a server-newer-than-package or package-newer-than-server mismatch (hard handshake error vs. silently missing tools), (b) whether there's a documented same-major/minor compatibility policy, and (c) whether the Connect tab could surface the running server version next to the package version to make drift visible before it breaks — that last one sounds like a worthwhile feature request. Worth pinning a maintainer for a definitive statement on the compatibility policy, because that determines whether a version range is safe for your team. |
Uh oh!
There was an error while loading. Please reload this page.
Question
When I update the MCP for Unity package inside Unity, do I also have to update the pinned
Python server version in my MCP client config, and what happens if I don't?
My
claude_desktop_config.json(generated byWindow → MCP for Unity → Configure All Detected Clients)contains an exact pin:
{ "mcpServers": { "unityMCP": { "command": "C:\\Users\\<me>\\.local\\bin\\uvx.exe", "args": [ "--from", "mcpforunityserver==10.1.2", "mcp-for-unity", "--transport", "stdio" ], "type": "stdio" } } }The Unity window currently reports v10.1.2, Transport
Stdio, port 6400, session active — soright now the two match. My concern is what happens after the next package update.
Specifically:
(e.g. 10.1.2 → 10.2.0), must I re-run
Configure All Detected Clients(or hand-edit the JSON)so the pin follows, or does the package pick the right server version some other way?
a hard failure (handshake refused / "server version mismatch"), silently missing tools, or
is it fine as long as major versions agree? Is there a documented compatibility policy
(e.g. server and package share the same major/minor)?
mcpforunityserver>=10.1,<11oran unpinned
mcpforunityserverbe a supported setup, or does the project intentionallygenerate an exact
==pin (reproducibility, avoiding uvx pulling an untested server)?version — could/does it also surface the running server version so a mismatch is visible
before things break?
Our project tracks the package from git rather than a fixed tag:
So the Unity side can move forward on any
Packages/packages-lock.jsonrefresh while the clientconfig keeps pointing at
==10.1.2. On a small team this drift is easy to miss — one devre-resolves packages, another doesn't touch their config, and only one of them has a working
session.
All reactions