Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

claude mcp add-json can read the server's JSON from standard input

Pass - to claude mcp add-json to read the server JSON from standard input, up to 1 MiB, outside a Claude Code session

Use it now Notable New Features
JSON All of v2.1.327
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
MCPArea: what it touches
New FeaturesKind: in v2.1.327,
What probably matters to youSection of the release
What

claude mcp add-json adds an MCP server (a program that gives Claude Code extra tools) from a JSON description. You can now pass - in place of the JSON. The command then reads the description from standard input, meaning text piped in or typed after the command, up to 1 MiB.

This is refused when the command runs inside a Claude Code session, because the session's permission prompt would not show the server being added. Run the command outside the session instead.

Why

The server description can hold secrets such as tokens. Piping it in keeps those secrets out of the command line and your shell history.

Read from
Names in the bundleclaude mcp add-json
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up claude mcp add-json, on Connect Claude Code to tools via MCP. > * To pipe the JSON in, pass `-` in its place: `cat server.json | claude mcp add-json <name> -`. Run the command outside a Claude Code session. Requires Claude Code v2.1.327 or later. mcp see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up claude mcp add-json, on Connect Claude Code to tools via MCP.
Anthropic's release notes agreeFixed claude mcp add and claude mcp remove with project scope deleting other top-level keys from .mcp.json, such as $schema or another…

See this entry in the whole of v2.1.327 →

Feedback