You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default uvx isolation image is -slim and has no git, so every git+https:// MCP server fails under isolation #1143
area/dockerDocker security isolation and container lifecyclekind/bugSomething isn't workingpriority/highShould be addressed in the current or next release
The default Docker image for uvx / python / pip / pipx is a -slim variant that ships no git. Any MCP server installed from a git URL therefore can never start under Docker isolation.
$ docker run --rm --entrypoint sh ghcr.io/astral-sh/uv:python3.13-bookworm-slim -c "command -v git || echo NO GIT"
NO GIT
$ docker run --rm --entrypoint sh ghcr.io/astral-sh/uv:python3.13-bookworm -c "git --version"
git version 2.39.5
Real-world failure
gcore-mcp-server, configured as the vendor documents it:
Updating https://github.com/G-Core/gcore-mcp-server.git (HEAD)
× Failed to download and build `gcore-mcp-server @ git+https://github.com/G-Core/gcore-mcp-server.git@394e9ca`
├─▶ Git operation failed
╰─▶ Git executable not found. Ensure that Git is installed and available.
This is not a niche shape. A large share of MCP servers ship only as a git URL with no PyPI release (gcore-mcp-server is a 404 on PyPI), so for those servers Docker isolation is unusable out of the box. The user's only escape is to discover the cause from container stderr and hand-write a per-server image override.
Suggested fix
Don't bump the global default to non-slim — that costs every user ~700MB for a case most don't hit.
GetDockerImage already receives the full *config.ServerConfig, so it can inspect args:
if no per-server isolation.image override is set, and the runtime is a Python package runner, and any arg contains git+ → resolve to a git-capable image (e.g. a new default_images["uvx-git"] key, defaulting to ghcr.io/astral-sh/uv:python3.13-bookworm).
Keeping it a named default_images key rather than a hardcoded string means users can still retarget it.
Related: #1144 (the resulting error is unclassified and tells the user to file a bug).
area/dockerDocker security isolation and container lifecyclekind/bugSomething isn't workingpriority/highShould be addressed in the current or next release
Activity
merge: bring in main and reconcile the classifier with the #1145 perm…
fix(docker): pick a git-capable isolation image, and classify contain…