subagentic.ai RSS X YouTube GitHub
AI-generated illustration

News

Claude Code 2.1.327 guards GitHub installs and MCP config edits

Claude Code 2.1.327 confirms GitHub app installs, reads MCP server JSON from stdin, and stops MCP edits from wiping other .mcp.json keys.

claude-codeanthropicmcpsecurity

Claude Code v2.1.327, published on 17 November 2026 at 23:17 UTC, puts a confirmation in front of repository changes from /install-github-app, adds a stdin path for MCP server JSON so tokens can stay off the command line, and stops project-scoped MCP edits from wiping other keys in .mcp.json.

/install-github-app now asks before it changes a repository. The release notes also say the repository, secret, and API key steps use the standard list and keys, with shorter messages, a spinner, and clearer errors.

For adding a server from outside a session, claude mcp add-json <name> - reads that server's JSON from stdin. The notes are explicit about why: tokens can stay off the command line. The same line says this form is not available inside a Claude Code session, so it is a shell command, not something you run from the in-session prompt.

Project scope was the destructive case. claude mcp add and claude mcp remove with project scope no longer delete other top-level keys from .mcp.json. The notes name $schema and another tool's servers as keys that were being removed. Separately, claude mcp add --scope project now stops instead of overwriting the file when .mcp.json lists its servers at the top level with no mcpServers key.

/status now lists broken agent, skill, command, and output style files, plus keybinding errors, an unavailable sandbox, ignored permission settings, and hook matchers that never match. On the file-safety side, stopping the Remote Control server in worktree mode no longer deletes a running session's git-ignored files, such as .env.

If you use /install-github-app or keep shared config in .mcp.json, read the v2.1.327 notes before the next install or project-scoped add or remove, and confirm the keys you did not mean to edit are still there.

Sources