Playbooks · Coding tasks
Gemini CLI 0.70.0 tightens MCP and policy checks
Written November 21, 2026
Gemini CLI 0.70.0 skips system MCP servers with insecure command permissions, defaults a link-path consent prompt to no, and evaluates policy patterns linearly.
Most of the Gemini CLI 0.70.0 release list is fixes rather than new features, and the fixes with the clearest titles cluster around trust: which MCP servers get to run, what a consent prompt assumes when you do not answer yes, when a shell command still has to ask you first, and how policy patterns are matched. A second group makes information you already rely on more accurate, and a third repairs small state losses. The list is one line per pull request, so this page stays with what those titles say, rather than guessing at the code behind them.
System MCP servers with insecure command permissions are skipped
One pull request title says the CLI now skips system MCP servers with insecure command permissions. An MCP server is a program the CLI can start and call, so the permissions on the command that launches it decide who could have altered what runs. A server defined at system level is not one you necessarily wrote yourself, which makes that check more pointed: configuration inherited from the machine gets held to a permission standard instead of being trusted because of where it sits. If a system server you expect stops appearing after this update, start with the permissions on its command.
A link-path consent prompt that defaults to no
Another title says a change discloses the canonical link path and defaults the consent prompt to no. Two ideas sit in that one line. The first is disclosure: you are shown the canonical path, the resolved destination, rather than only the link as presented. The second is the default: when a prompt defaults to no, moving past it without a deliberate yes does not grant consent. Defaults decide outcomes for everyone who is tired, hurried, or unsure, so a no default puts the burden of action on allowing something rather than on refusing it.
Shell commands with unresolved expansion still ask
A third title says the CLI will keep ASK_USER for shell commands with unresolved expansion. Expansion is where a command string gets filled in with values, and an unresolved expansion means part of what will actually run is not yet settled when a policy decision is made. Keeping the ask matters because approving a command you can fully read is a different act from approving one whose final form is still open. A related title says command prefix and command regex rules are matched against the top-level command argument: policy rules work best when applied to the command actually being judged.
Policy pattern matching moves to linear-time evaluation
The policy engine gets a different kind of fix: one title says policy argsPattern evaluation moved to re2js for linear-time matching. A policy pattern is matched against command arguments, so it runs on the path of ordinary work, often against text a user or a tool supplied. Linear-time matching is worth wanting there: the time a match takes grows in proportion to the input instead of ballooning on crafted or merely awkward input. A pattern check that can be made slow is a weak point in a safety mechanism, because the check itself becomes the problem.
The models list reports accurate output token limits
Not every title is about refusing things. One says the models list now reports accurate output token limits. A limit printed in a list is something people plan around: how long an answer can be, whether a task fits, and which model to pick for work that needs a long output. If that number is wrong, the plan built on it is wrong in a way you only discover when output stops early. Accuracy in a reference display sounds minor until it is the number you chose a model by.
Two smaller state fixes worth knowing
Two more titles describe state surviving situations that used to lose it. One says the selected worktree is preserved across authentication restarts. Signing in again should not quietly move you to a different working tree; if it does, your next commands run somewhere other than where you left your work. The other says a default in ${VAR:-default} is applied when the variable is set but empty. The distinction between a variable that is unset and one set to nothing is a classic source of configuration surprises: the syntax promises a fallback, and the title says it now arrives in the empty case too.
What to do
- Check system MCP servers that stop loading. If a system-level server is skipped after this update, look at the permissions on its command first.
- Read the canonical path when prompted. The prompt now shows it and defaults to no, so a yes is a deliberate choice.
- Expect to still be asked about unresolved commands. A shell command with unresolved expansion keeps the ASK_USER behavior.
- Recheck the models list. If you picked models by their listed output token limits, look again now that those limits are reported accurately.
The previous release in this line is covered in the page linked below.
Related playbooks
- MCP Gateway Registry 1.37 tightens wildcards
- Gemini CLI 0.68 stable: extension checks
- Copilot CLI 1.0.117 scopes MCP approvals to that server
- A critical flaw in gemini-mcp-tool, fixed in 1.1.6
Sources
- Gemini CLI v0.70.0 release notes — GitHub — the pull request list naming the skipped system MCP servers with insecure command permissions, the canonical link path disclosure and consent prompt defaulting to no, ASK_USER kept for shell commands with unresolved expansion, policy argsPattern evaluation moved to re2js, accurate output token limits in the models list, and the worktree and variable-default fixes.
Back to: Coding playbooks hub · Also: Gemini CLI 0.69.0-preview.0: /stats heatmap for token use