---
id: 20261118-T0-16
title: "Claude Code v2.1.327：安装GitHub应用前增加确认步骤"
title_en: "Claude Code v2.1.327 Adds Confirmation Before GitHub App Installs"
url: https://ai.daily.yangsir.net/daily/20261118-T0-16
issue_date: 2026-11-18
publish_date: 2026-11-17T23:17:45.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.327
---

# Claude Code v2.1.327：安装GitHub应用前增加确认步骤

Claude Code发布v2.1.327，主要变更包括：/install-github-app更改仓库前增加确认步骤；新增claude mcp add-json命令，可从标准输入读取服务器JSON，避免token出现在命令行中，但该命令在Claude Code会话内不可用；恢复会话时若早期消息无法加载，会给出提示。这些改动偏向安全与易用性，减少误操作和凭证泄露风险。

## English Version

**Claude Code v2.1.327 Adds Confirmation Before GitHub App Installs**

Claude Code released v2.1.327 with a confirmation step before /install-github-app changes a repository, a new claude mcp add-json command that reads server JSON from stdin so tokens stay off the command line (not available inside a Claude Code session), and a notice when a resumed session's earlier messages can't be loaded. The changes target safety and usability, reducing misoperations and credential exposure.

---

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

**详情页**：https://ai.daily.yangsir.net/daily/20261118-T0-16

---

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