Event ·Official first-hand

Claude Code 发布 v2.1.327:MCP 配置、会话恢复与权限规则多处修复

Anthropic 发布 Claude Code v2.1.327,新增 claude mcp add-json <name> - 支持从 stdin 读取 MCP 服务器 JSON,避免 token 出现在命令行中。/status 现在会列出损坏的 agent、skill、command、输出风格文件、键位错误、不可用沙箱以及从未匹配的 hook matcher 等配置问题。\n\n安全与权限方面有多处修复:/install-github-app 在修改仓库前加入确认,/export 不再直接覆盖已有文件,cloud 与 self-hosted runner 中重启后才到达的审批不再让已按 Stop 的命令继续执行。还修复了 claude mcp add/remove 会误删 .mcp.json 中 $schema 等其他顶层键的问题,以及 auto mode 忽略 PowerShell(.\scripts\build.ps1 *) 这类通配符允许规则的 bug。\n\n会话管理也得到改进:Remote Control 修复了在 worktree 模式下停止服务会删除 .env 等 git-ignored 文件的问题;到达用量上限后暂停的终端工作流会在登录切换后保持暂停;attributionProject 设置可为 Claude apps gateway 会话命名计费组。

Current read

Claude Code 这次更新挺实在:MCP 的 JSON 可以从 stdin 传了,token 不会再留在命令行里。还有一堆权限和会话恢复的 bug 修复,比如 Stop 按不死了、.env 不会被误删。天天用它的开发者建议升级。

11 sources43° AI heatLast updated 2026/11/17 23:17:45

Evidence

11 sources
Primary sourceClaude Code: GitHub Releases
View source
Related source 1claudedevs
View source
Related source 2marktechpost
View source
Related source 5Gergely Orosz
View source
Related source 6阿里云 Alibaba Cloud
View source
Related source 7TestingCatalog
View source
Related source 8Amjad Masad
View source
Related source 10shao__meng
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.

Claude Code 发布 v2.1.327:MCP 配置、会话恢复与权限规则多处修复 · 事件专题 | AITOP