What's new
- [changed]
grok mcp addnow accepts positional arguments after--(e.g.grok mcp add filesystem -- npx ...), supports--scope project, and adds repeatable-e/--envand-H/--headerflags. - [new] New
/code-reviewslash command ships with the CLI and is always available. - [changed] Mermaid flowcharts now render subgraph blocks as titled frames with correct internal and cross-boundary edges.
- [changed] Mermaid class diagrams now render as proper UML boxes with attributes, methods, and inheritance arrows.
- [changed] Permission prompts now accept a double-click on an option to submit it.
- [fix] Plan-mode exit reminders no longer appear after the model has already begun implementing the plan.
- [fix] Expanded thinking blocks in scrollback remain expanded once the agent finishes them.
- [fix]
grok updateno longer downloads the same binary twice under concurrent updater or leader-check runs. - [fix] Background task IDs after
/compactare now shown verbatim. - [fix] Typing
/while scrollback is focused now focuses the prompt and opens the slash-command dropdown. - [fix] Dashboard empty state is now a single hint line; dispatch and peek placeholders appear only when unfocused.
- [fix] Memory leaks that could grow the CLI to tens of gigabytes over long sessions with many tool calls have been fixed.
- [fix] Login on SSH or headless machines now reports when the browser cannot be opened and shows the manual URL.
- [fix] Git clone failures on Windows when installing marketplace plugins into
~/.grokhave been fixed. - [changed] Large code blocks inside lists no longer cause multi-second UI stalls while streaming.
Under the hood
- Shell completions for bash, zsh, fish, elvish, and PowerShell were updated to cover the new
mcp addandmcp removeflags and argument forms. - Documentation for MCP server configuration was revised to describe the new command syntax, project scope, and header/env handling.
Upgrade notes
- Existing
grok mcp addinvocations that relied on the old--command/--args/--envstyle must be updated to the new positional form. Project-scoped MCP entries are now supported via--scope project.