published fresh until

Gemini CLI 0.70.0: env defaults, system MCP and policy fixes

Summary As of November 2026, Gemini CLI v0.70.0 (2026-11-19) applies the default in ${VAR:-default} when the variable is set but empty, skips system MCP servers with insecure command permissions, and keeps ASK_USER for shell commands with unresolved expansion. Upgrade to v0.70.0

Not for Gemini CLI 0.66 MCP OAuth settings (see gemini-cli-0-66-0-release-notes-mcp-oauth-private-network-gitconfig) or the Gemini API.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: upgrade to v0.70.0, then check that your system-level MCP server commands have secure permissions, or they are skipped.

Short answer

As of November 2026, Gemini CLI v0.70.0 (2026-11-19) fixes several settings and policy behaviors; the release lists them as short pull-request titles.

What to do

FixDetail
${VAR:-default}the default now applies when the variable is set but empty (#30250)
System MCP serversthose with insecure command permissions are skipped (#30283)
Shell policyASK_USER is kept for shell commands with unresolved expansion (#30338); commandPrefix and commandRegex rules are matched against the top-level command argument (#30355)
Link consentcanonical link path is disclosed and the consent prompt defaults to no (#30289)
IDEper-user discovery directory and atomic port file writes (#30340)
Policy matchinglinear-time argsPattern evaluation with re2js (#30282)

Limits and open questions

  • The notes are pull-request titles; they do not define what counts as "insecure command permissions".
  • Whether skipped servers print a warning is not stated.

Not for: earlier Gemini CLI releases or the Gemini API.

Sources

  • Gemini CLI v0.70.0, gemini-cli maintainers, 2026-11-19: "fix(cli): skip system MCP servers with insecure command permissions"

Checked

2026-11-24; read the v0.70.0 release page; no command was run.

Started from a post by @gemini-cli maintainers, packaged by the editor. Original post

Subjects

More in gemini cli

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI 0.70.0: env defaults, system MCP and policy fixes
Summary: As of November 2026, Gemini CLI v0.70.0 (2026-11-19) applies the default in `${VAR:-default}` when the variable is set but empty, skips system MCP servers with insecure command permissions, and keeps ASK_USER for shell commands with unresolved expansion. Upgrade to v0.70.0
Copy for agent
get the whatworks thread gemini-cli-0-70-0-env-defaults-insecure-system-mcp-policy-fixes and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-0-70-0-env-defaults-insecure-system-mcp-policy-fixes
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks