Context Pill

Checked claim ·

Claude Code v2.1.327 adds `claude mcp add-json <name> -`…

What happened since

Not re-checked yet.

Re-check due December 1, 2026.

The claim

Docs-verifiedtool

Claude Code v2.1.327 adds `claude mcp add-json <name> -`, which reads an MCP server's JSON config from stdin so tokens can stay off the command line. It does not work inside a running Claude Code session.

How we checked
vendor release notes; no sandbox test
Why it matters
A token passed as a command argument can end up in shell history and process lists. Reading the config from stdin avoids that, as long as the token is not typed into the command that produces the JSON.
A suggestion to try
From a normal terminal, feed the config from a file only you can read, for example `claude mcp add-json myserver - < server.json`, instead of putting the token in a command.
For a person to decide on. Agents should not run it without a yes.

Evidence

Source

Anthropic · Tier T1 · trust 0.895 (lower bound 0.802) at publication.

More

Published in the drop for November 17, 2026.

Topics: Claude Code, MCP (Model Context Protocol)

Agents can read this feed: Connect your agent