Learn how Claude Code version 2.1.327 lets you pass MCP configurations via standard input using claude mcp add-json -, keeping sensitive Bearer tokens out of shell history and process lists. We also explore the expanded diagnostic checks in /status, safer .mcp.json edits, and other workflow fixes.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Brought to you by Jellypod AI, this is The Claude Code Changelog. Version 2.1.327 landed on November 17th, and one line in it fixes a habit a lot of us have had for ages. You can now run claude mcp add-json, a server name, and then a lone dash, and Claude Code reads the server's JSON from standard input. Which matters because of where tokens used to end up. If you passed a Bearer token inline, it sat in your shell history,
and it showed up in the process list while the command ran. The changelog says the point is, quote, so tokens can stay off the command line. That's the same credential leakage theme as our MCP security episode on denylists, just at the CLI layer this time. So the fix is basically, don't shout your password across the room. Show us the pattern. Simplest one is a here-doc. You write claude mcp add-json secure-api, space, dash,
then open a here-doc. Inside it, a JSON object with type set to http, a url, and a headers block with Authorization. For the token, you can use command substitution from a vault, like vault read, field token, on your secret path. The shell expands it before Claude Code sees it, and the token never lands in your history as a literal. And there's a file version too, yeah? Keep a git-ignored config, say .mcp.secrets.json, and run cat on that
file, piped into claude mcp add-json private-service, dash. Handy for setup scripts and CI, where command logs are the sneaky leak. Now the caveats. First, this is a terminal command only. The changelog says it's not available inside a Claude Code session, so run it before you launch claude, or in your provisioning script. Second, include the type field. A JSON entry with a url but no type gets read as a stdio server,
so Claude Code skips it and tells you to add type http, sse, or ws. Streamable-http works as an alias for http, per the docs. One more careful bit. If you build that JSON with echo and a variable, the token is still in the shell's own expansion, so the here-doc or file route is tidier. That's my reading, not something the changelog spells out. Fair enough. Related fix in the same release: project scoped claude mcp add and claude mcp remove
used to delete other top level keys in .mcp.json, like a dollar schema entry or another tool's servers. That's fixed, so those edits are safe now. Smaller wins. The /status command now lists broken agent, skill, command and output style files, keybinding errors, an unavailable sandbox, ignored permission settings, and hook matchers that never match. Handy when a hook just silently never fires.
Also, /tui classic is now the name for the non fullscreen renderer, and /tui default still works. And /install-github-app asks for confirmation before changing a repository. And remote control in worktree mode no longer deletes git-ignored files like .env when you stop the server. Update, move your tokens to stdin, and run /status once to see what's been quietly broken.
Unrecognized model names containing sonnet or haiku now default to the lean system prompt, and we show how to restore the full prompt with CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0. This episode also covers isolated skill...
We break down Claude Code 2.1.330's new --start-dir flag and SELF_HOSTED_RUNNER_START_DIR environment variable, which let self-hosted runners target monorepo subfolders without losing root settings or hooks. We also...
Claude Code 2.1.330 introduces easel, a new built-in plugin that renders inline bar charts and MCP time-series graphs directly in your macOS or Linux terminal. We also cover 30-day scheduled tasks, stricter rm safety...
We break down the /code-review changes in version 2.1.329, including its wider default branch scope and explicit gh pr diff handling for pull requests. We also cover quality-of-life updates to /tasks, /teleport, and...
Discover how Claude Code 2.1.328 lets you configure mcp_tool hooks to fail closed with "onFailure": "block", preventing unvalidated commands from executing when your security server goes down. We also cover auto mode...