Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Artifact publish can be scoped by a host-issued local MCP server grant

Artifact publish now checks a CLAUDE_ARTIFACT_HOST_GRANT environment variable to limit which local MCP servers and tools an artifact can declare

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

What

  • A new CLAUDE_ARTIFACT_HOST_GRANT environment variable, set by the app that launched the session, is parsed as JSON ({v, servers: [{server, tools}]}) describing which local MCP servers and tools this computer's launcher has granted.
  • When an artifact declares capabilities that use host: MCP servers, only servers/tools named in this grant are kept; anything else is dropped and reported to the user. If the environment variable is set but can't be parsed, capability resolution is refused outright rather than silently falling back.
  • Before publishing an artifact that doesn't explicitly declare capabilities, Claude Code now checks whether the artifact's stored capabilities include local servers not covered by the current grant, and refuses the publish with a detailed error (explaining how to declare capabilities explicitly or clear them) instead of silently carrying them forward. This applies to inline-page, files-only, and full publish paths.

Why This stops an artifact from silently retaining access to local MCP tools or servers beyond what the current computer's launcher actually permitted, so publishing an artifact can't grant it more local capability than the host intended.

Read from
Names in the bundleCLAUDE_ARTIFACT_HOST_GRANT
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_ARTIFACT_HOST_GRANT

See this entry in the whole of v2.1.271 →

Feedback