Skip to content

Claude Code v2.1.186: MCP Authentication, Workflow Filtering, and Bash Automation

The Bottom Line: New CLI commands for MCP login without browser, workflow status filtering, and automatic Claude responses to Bash output streamline CLI-based development.

Claude Code 2.1.186 enables authentication of MCP servers directly via the CLI and introduces status filters for workflows. Bash commands now automatically trigger Claude responses instead of merely providing context.

New MCP Authentication without interactive UI: The new commands claude mcp login <name> and claude mcp logout <name> allow authentication of MCP servers directly from the command line without opening the interactive menu. With the --no-browser option and stdin redirection, this also works over SSH connections – critical for automated or remote-based development environments.

Workflow and agent UI improvements: A status filter (key f) has been added to the /workflows agent detail view, and the /plugin Installed tab now shows a dedicated “Skills” section. Additionally, the setting teammateMode: "iterm2" has been added, which warns if auto mode cannot find the iTerm2 CLI.

Bash commands trigger automatic Claude responses: A breaking change: Bash commands now automatically cause Claude to respond to the output instead of merely providing context. The previous behavior can be restored via "respondToBashCommands": false in settings.json. This change accelerates iterative debug workflows, but may require adjustment of existing automations.

Comprehensive bug fixes: Fixed streaming errors after system sleep (“Content block not found”), UI flashing during background tasks, missing enforcement of subagent access restrictions, stale-state issues with background job status, and malformed YAML handling in skills metadata. The CLAUDE_CODE_MAX_RETRIES environment variable is now capped at 15; for unattended sessions, CLAUDE_CODE_RETRY_WATCHDOG is recommended instead. The /review command now uses the same analysis engine as /code-review medium.


Source: github.com · Published 22 June 2026
Lumi AI News — AI-assisted curation pursuant to Art. 50 EU AI Act. Paraphrase and classification by Lumi News Pipeline v1.7.1.

Share on: