Deepnote Static Sites
Tool arguments and the capability boundary are defined in deepnote-mcp.
Publishing Workflow
- Author and validate the HTML, CSS, and JavaScript in the local agent workspace.
- If a local shell and the Deepnote CLI are available, prefer
deepnote publish ./dist --project-id <uuid>, especially for local builds and larger sites. - If deployment must happen through hosted MCP, use
publish_static_site. Send the final file contents in one call. - Use the canonical URL returned by the publish operation. Never construct a static-site hostname.
- To change access later without changing files, use
update_projectwithstaticFiles.sharingEnabledand/orstaticFiles.apiAccessEnabled. Disabling sharing also disables viewer API access; re-enabling sharing serves the retained files again. - Do not execute a notebook to write published files, and do not look for generic file-write tools.
publish_static_sitecan write only beneath the static-site root; it cannot upload arbitrary project files.
Safety
Publishing makes the files available through the project's shared static site to anyone who can view the project. Never include API keys, personal tokens, .env contents, or other secrets. Viewer API access is separately opt-in and should be enabled only for browser apps that need the viewer-scoped Deepnote run API.
Reporting
Report the canonical site URL, the number of files published, the sharing state, and the viewer API state.