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_GRANTenvironment 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.
Names in the bundleCLAUDE_ARTIFACT_HOST_GRANT
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: CLAUDE_ARTIFACT_HOST_GRANT