publish_site

Deploy files to a live URL. No slug → create a NEW site (works without auth; anonymous sites expire in 24h — always show the user the claimUrl). With slug → UPDATE that site (complete snapshot: send ALL files). A Dockerfile in the files makes it a server-side app (auth required; listen on process...

SERVERMcp SOURCEhttps://dataecho.ai/mcp
Medium RISK CLASS
Category Write
Parameters 71 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/ai-dataecho-mcp/publish-site.md

What publish_site does on Mcp

AI agents use publish_site to create or update resources in Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp environment.

ParameterTypeRequiredDescription
spa boolean Enable SPA fallback routing (serve index.html for unknown paths)
slug string Existing site slug to update (omit to create a new site)
files array Yes Files to publish. Each file: { path, content (utf-8 text) OR contentBase64 (binary), contentType? }. The publish is a COMPLETE snapshot — omitted files are remo
title string Viewer page title (used when there's no index.html)
claimToken string Claim token — required to update an anonymous site without auth
ttlSeconds number Expiry for authenticated sites, in seconds
description string Viewer page description

Parameters from the server's own tool schema.

Why publish_site is rated Medium

publish_site creates or updates a publicly accessible website by deploying files to a live URL. This is a Write operation (reversible via re-deployment or deletion), but carries high severity because it publishes content to the public internet, can run server-side applications via Dockerfile, and could be misused to deploy malicious content or expose sensitive files publicly.

From the tool's definition Deploy files to a live URL... create a NEW site... UPDATE that site (complete snapshot: send ALL files)

Risk signalsAccepts file system path (files[].path) · Accepts raw HTML/template content (files[].content) · High parameter count (11 properties) · Bulk/mass operation — affects multiple targets

Questions about publish_site

What does the publish_site tool do? +

Deploy files to a live URL. No slug → create a NEW site (works without auth; anonymous sites expire in 24h — always show the user the claimUrl). With slug → UPDATE that site (complete snapshot: send ALL files). A Dockerfile in the files makes it a server-side app (auth required; listen on process.env.PORT; persist under /data; poll app_status). Total payload ≤ 8 MB — for bigger sites use the dataecho skill scripts. It is categorised as a Write tool in the Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does publish_site accept? +

publish_site accepts 7 parameters: spa, slug, files, title, claimToken, ttlSeconds, description. Required: files. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on publish_site? +

Register the MCP server in PolicyLayer and add a rule for publish_site: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp. Nothing to install.

What risk level is publish_site? +

publish_site is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit publish_site? +

Yes. Add a rate_limit block to the publish_site rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block publish_site completely? +

Set action: deny in the PolicyLayer policy for publish_site. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides publish_site? +

publish_site is provided by the MCP server (https://dataecho.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on , and thousands of servers like it.

This server

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of 's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.