Week 26 · June 22–26, 2026
Authenticate MCP servers from your shell with claude mcp login, get a response to shell mode command output with the ! prefix, and resume a conversation from before /clear with /rewind.
Releases v2.1.185 → v2.1.1932 features · June 22–26
Authenticate MCP servers from the CLIv2.1.186
<p className="digest-feature-lede">New `claude mcp login <name>` and `claude mcp logout <name>` commands authenticate a configured MCP server from your shell instead of the interactive <code>/mcp</code> menu. `claude mcp login` runs the server's OAuth flow directly, and `claude mcp logout` clears the stored credentials.</p> Run the OAuth flow for a configured server without opening a session:
bash
claude mcp login sentryAuthenticate from the command line
Shell mode responds to command outputv2.1.186
Commands you run with the ! prefix now get a response from Claude once the output lands in the transcript, so you can run ! npm test and get an explanation of the failures without a second prompt. The response costs the same as sending a normal prompt. To keep the earlier behavior, where the output is added to context without a response, set respondToBashCommands to false in settings.json.
Run a command and get a response to its output:
text
<div className="digest-wins"> <p className="digest-wins-title">Other wins</p> <div className="digest-wins-grid"> <div><code>/rewind</code> can now resume a conversation from before <code>/clear</code> was run</div> <div>New <code>sandbox.credentials</code> setting blocks sandboxed commands from reading credential files and secret environment variables</div> <div>Org-configured model restrictions now apply to the model picker, `--model`, <code>/model</code>, and <code>ANTHROPIC\_MODEL</code>, with a "restricted by your organization's settings" message when a restricted model is selected</div> <div>New <code>autoMode.classifyAllShell</code> setting routes all Bash and PowerShell commands through the auto-mode classifier, and denial reasons now show in the transcript, the denial toast, and <code>/permissions</code></div> <div>New <code>claude\_code.assistant\_response</code> OpenTelemetry log event carries the model's response text; deployments that already log prompt content start receiving it on upgrade, so set <code>OTEL\_LOG\_ASSISTANT\_RESPONSES=0</code> to keep prompts only</div> <div>Background subagents now surface permission prompts in the main session instead of auto-denying; the dialog shows which agent is asking, and Esc denies only that tool</div> <div><code>/install-github-app</code> can now install only the GitHub App and skip the Actions workflow and secret steps</div> <div>Hosts you allow in the sandbox network permission dialog are remembered for the rest of the session instead of re-prompting on every connection</div> <div>Streaming responses use about 37% less CPU, and long-session memory growth from the terminal output cache is reduced</div> <div>`/review <pr>` now uses the same review engine as <code>/code-review medium</code></div> <div>Bash mode <code>!</code> commands get live file path autocomplete</div> </div> </div> > ! npm test