AI Compass / News
Claude Code 2.1.327: tokens via stdin, start-up files before approval
The 17 November release keeps MCP server credentials off the command line, checks paths more strictly and fixes three bugs that could delete or overwrite files. Also new: your shell start-up files run earlier. The stable channel doesn't have these changes yet.
Source: Claude Code Changelog, Version 2.1.327,
Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.


What happened: Version 2.1.327 of Claude Code came out on 17 November 2026, one day after 2.1.326. For what 2.1.326 changed about prompts and the sandbox, see Claude Code 2.1.326: more prompts, a tighter sandbox. The new release is mostly smaller safeguards and a long list of bug fixes.
What’s new:
- Tokens stay off the command line: with
claude mcp add-json <name> -, Claude Code reads an MCP server’s settings from standard input (stdin). MCP servers are add-on services that connect Claude Code to tools and data. Until now, an access key often sat right in the command and ended up in your shell history. The command only works outside a running Claude Code session. - Start-up files run earlier: so that a session’s first shell command starts faster, your shell start-up files (such as
.bashrc) may now run before you approve the command, even if you refuse it. You can turn this off with the environment variableCLAUDE_CODE_DISABLE_SHELL_HEAD_START=1. - Stricter path checks: Claude Code now refuses some symbolic links, and some paths no longer count as part of the working directory, so you get a prompt instead. If you’ve set
permissions.blockReadsOutsideWorkingDirectories, more shell commands now trigger a prompt in bypass and auto modes, and some are refused in auto mode. - More confirmations:
/install-github-appasks before it changes a repository. Claude Code also asks before removing a worktree that may still hold unsaved work. - Problem list in
/status:/statusnow lists broken agent, skill and command files, ignored permission rules, an unavailable sandbox and hooks that never fire. - Three fixes against data loss:
/exportoverwrote an existing file without asking.claude mcp addandclaude mcp removedeleted other top-level keys from a project’s.mcp.json, such as$schemaor another tool’s server entries. And stopping Remote Control in worktree mode could remove files that Git ignores, such as.env.
Announced, not yet in place: in auto mode, an upcoming release removes the fallback to billed classifier requests. Claude Code will then ask about the affected actions or refuse them.
What it means for you: on 18 November, according to the npm registry, the stable channel was still on version 2.1.311, while latest was already on 2.1.327. On stable, you’ll get these changes later.
What you can do:
- Check your version:
claude --versionshows which one you have. - Set up MCP servers without keys in your history: from now on, pass the settings through
claude mcp add-json <name> -. If a key is already in your shell history, delete the entry and replace the key. - Look at your start-up files: if your
.bashrcruns commands that shouldn’t run without your approval, setCLAUDE_CODE_DISABLE_SHELL_HEAD_START=1. - Run
/statusonce: the new list shows whether rules, skills or hooks are being silently ignored.
Context: everything here comes from Anthropic’s changelog, and the release dates from the npm registry. The 2.1.327 entry is long, and much of it only concerns cloud sessions, Windows or the display; I’ve left that out. I haven’t tested the new version myself.
My workshops show you how to bring AI into your team. See the workshops