You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HeadlessArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
Unclear Which feature this applies to, and the name of its environment variable, are not stated.
What
A feature that previously worked only in the interactive terminal now also works with claude -p (running Claude Code once from a script, without the interactive screen) and in Agent SDK apps (programs built on Claude Code). Its messages now explain the conditions for these non-interactive runs:
The feature's environment variable must be set in the env block of the settings passed with --settings.
The run must use the Anthropic API directly, not a cloud provider or a gateway.
Why
The feature can now be used from scripts and SDK apps, not only by someone typing in the terminal.
Read from
Names in the bundleclaude -p
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.
Added sinceA small documentation edit on Connect Claude Code to tools via MCP touched a line naming claude -p after this was published.5. [claude.ai connectors](#use-mcp-servers-from-claude-ai). In `claude -p`, Agent SDK, and VS Code sessions, connectors rank above plugin-provided servers.mcpsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich feature this applies to, and the name of its environment variable, are not stated.
Anthropic's documentation agreesA small documentation edit on Connect Claude Code to tools via MCP touched a line naming claude -p after this was published.
Anthropic's release notes agreeFixed claude -p exiting 0 with no message when its output went to a file on a full disk: it now prints an error and exits 1, though a full…