Agent Upstart

Cool things people are building with agents — and practical help getting the most out of them.

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

The previous release in this line is covered in the page linked below.

Related playbooks

Sources

Back to: Coding playbooks hub · Also: Gemini CLI 0.69.0-preview.0: /stats heatmap for token use