feat(claude.sh): mount ~/.claude-jail/mcp read-only at /opt/mcp #28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mcp-dir-mount"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Custom MCP server binaries need a stable path inside every container so
that
claude mcp add <name> -- <cmd>keeps resolving across sessions.CLAUDE_JAIL_MOUNTS cannot carry that convention: it is a single key, so
a project .env.claude defining its own mounts replaces the shared value
and the binary silently vanishes in that project.
Like env.default, the directory is optional: when ~/.claude-jail/mcp
exists it is bind-mounted read-only at /opt/mcp; when it is absent (or
not a directory) nothing changes.
Claude-Session: https://claude.ai/code/session_019JtF9QULHtmmA7Kq5kjkGL