Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaMCPwhat it touches
KindNew Featuresin v2.1.271,
Group of 3 Use it now Notable No documentation found

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

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 →