---
id: 20260623-T0-09
title: "Claude Code v2.1.186发布：支持CLI登录MCP服务及SSH输入重定向"
title_en: "Claude Code v2.1.186: CLI MCP Login and SSH Stdin Redirect Support"
url: https://ai.daily.yangsir.net/daily/20260623-T0-09
issue_date: 2026-06-23
publish_date: 2026-06-22T20:37:34.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.186
---

# Claude Code v2.1.186发布：支持CLI登录MCP服务及SSH输入重定向

Claude Code发布v2.1.186版本更新。新增claude mcp login和logout命令，允许用户在不打开交互式菜单的情况下通过CLI认证MCP服务器。针对SSH环境增加了--no-browser stdin重定向支持。同时，更新改进了/workflows代理详情视图的状态过滤功能（按f键），并在技能部分进行了UI优化。

## English Version

**Claude Code v2.1.186: CLI MCP Login and SSH Stdin Redirect Support**

Claude Code released version v2.1.186 with new CLI features. It added `claude mcp login` and `logout` commands to authenticate MCP servers without the interactive menu. The update also supports `--no-browser stdin` redirection for SSH usage and introduced status filtering (press f) in the `/workflows` agent detail view.

---

**来源**：[Claude Code Releases](https://github.com/anthropics/claude-code/releases/tag/v2.1.186)

**详情页**：https://ai.daily.yangsir.net/daily/20260623-T0-09

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*