{"version":"2.1.337","anchor":"bridge-worktree-fencing-and-disallowed-tools","canonical_anchor":"bridge-worktree-fencing-and-disallowed-tools","heading":"Remote Control sessions in a worktree can be fenced with blocked tools","tier":"use","area":"Remote Control","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/bridge-worktree-fencing-and-disallowed-tools","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Remote Control sessions in a worktree can be fenced with blocked tools\n\nRemote Control sessions running in a worktree can now be fenced and started with `--disallowedTools`, and folder limits include `disabledMcpjsonServers`\n\n**Unclear.** It is not clear what turns on worktree fencing, or whether you can set it yourself.\n\n**What**\n\nRemote Control lets you drive a Claude Code session from somewhere else. A worktree is a separate checkout of a git repository. When an option to fence worktrees is set, a Remote Control session running in a worktree is now fenced: it starts with `--disallowedTools`, which removes certain tools from what Claude can use.\n\nThe limits applied to a served folder now also include `disabledMcpjsonServers`, the list of servers from a project's `.mcp.json` file that are rejected.\n\n**Why**\n\nThis keeps Remote Control sessions that run in a worktree confined, and stops rejected project servers from coming back in a served folder.\n\n- Area: Remote Control\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}