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.