Skip to content
All news
ChangelogAI-written

Claude Code 2.1.327 adds install‑github‑app confirmation and claude mcp add-json command

Claude Code 2.1.327 introduces a required confirmation prompt before the /install-github-app command modifies a repository, adds the claude mcp add-json - command for reading JSON from stdin, and makes the /export command show a confirmation dialog before overwriting files.

Claude Code 2.1.327 was released on 2026-11-17. The update adds a confirmation step for the /install-github-app command, introduces the claude mcp add-json - command, and changes the /export command to display a confirmation dialog before overwriting an existing file.

The /install-github-app command now requires a user confirmation prompt before it can modify a repository, and scripts that invoke it must handle the extra prompt (breaking change). The /export command also presents a confirmation dialog when it would overwrite a file. A new command, claude mcp add-json -, lets the server read JSON from stdin, keeping tokens off the command line. Integrations that relied on the previous header must accept the new x-claude-code-managed-settings-checksum header.

The non‑fullscreen renderer is renamed to /tui classic; the existing /tui default renderer continues to work unchanged. Remote Control no longer deletes git‑ignored files such as .env when stopping the server in worktree mode.

Self‑hosted runners started with --use-anthropic-git-proxy now retain a non‑empty directory named by GIT_CONFIG_GLOBAL instead of deleting it, and they emit a warning about this behavior. Runner scripts that expected the directory to be removed must accommodate the retained directory (breaking change). Artifact publishing now succeeds when a synced folder changes only the file timestamp, fixing a prior "source file changed" error.

Developers can set the attributionProject setting to name a session's billing group for Claude apps gateways that support admin.billing_group_tag. A bug that let a previously approved command keep running after the user pressed Stop has been fixed for both cloud and self‑hosted sessions. Auto mode now respects PowerShell allow rules that contain a script path with ".\" syntax. Headless sessions no longer lose stored messages on resume when a message is resent with the same UUID after a crash. Compaction that occurs after a reply is cut at the output token limit now preserves the tool call and its result. WebFetch now rejects URLs longer than 2,000 characters before showing any permission prompt. When a message contains more than 100 @ mentions, only the first 100 are looked up as files to avoid stalls.