# neuron_sites_publish

Publish a static site (HTML/CSS/JS/images/fonts/PDF/video) and get its link. Creates a new site when siteId is omitted, otherwise redeploys to the same URL — the link and access settings survive and the previous version stays available for rollback. Pass exactly one source: dir (local folder, e.g. the output of a build), zipPath (local .zip), html (a single page), or files ([{path, base64}]). New sites start Restricted (only you). Use neuron_sites_set_access to share. Only changed files are uploaded on redeploy. A new site is reviewed by Neuron once; until approved (reviewStatus), visitors can't open it. Its address (label) is fixed for life.

Agent View of the PolicyLayer registry record for `neuron_sites_publish`. HTML page: https://policylayer.com/tools/io-github-conquext-neuron/neuron-sites-publish

## Facts

- Tool: `neuron_sites_publish`
- Server: Neuron (`neuron-mcp-server`) — https://policylayer.com/tools/io-github-conquext-neuron.md
- Install: `npx -y neuron-mcp-server`
- Homepage: https://github.com/conquext/neuron
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 11
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `dir` | string | no | Local folder to publish (local MCP only). index.html at its root opens first. |
| `html` | string | no | A single HTML page; becomes index.html. |
| `mode` | string | no | 'replace' (default): the source IS the whole site. 'patch' (needs siteId): start from the live version; the source's files add/replace those paths, `delete` rem |
| `name` | string | no | Name for a new site (required when siteId is omitted). |
| `note` | string | no | Version note, e.g. 'Added pack 41'. |
| `files` | array | no | Files as base64 with relative paths. |
| `label` | string | no | Business plans: the address for a new site (<label>.<sites domain>). Lowercase letters, numbers, hyphens. Can't be changed later. Omit to get one generated. |
| `delete` | array | no | mode=patch only: site paths to remove, e.g. ['brand/old-logo.png']. |
| `siteId` | string | no | Existing site to redeploy. Omit to create a new site. |
| `zipPath` | string | no | Local .zip to publish (local MCP only). A single top-level folder is unwrapped. |
| `entryPath` | string | no | Page that opens at / when there's no index.html. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "neuron_sites_publish",
    "arguments": {}
  }
}
```

## Why neuron_sites_publish is rated Medium

An AI agent can call neuron_sites_publish faster than any human can review: one bad instruction and it creates or modifies resources in Neuron by the hundred, each call as confident as the last.

Risk signals: Accepts file system path (dir) · Accepts raw HTML/template content (html) · High parameter count (13 properties)

## Use case

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

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Neuron:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "neuron_sites_publish": {
      "limits": [
        {
          "counter": "neuron_sites_publish_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Neuron (400)

- `neuron_cancel_approval` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-approval.md
- `neuron_cancel_booking` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-booking.md
- `neuron_cancel_flow_run` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-flow-run.md
- `neuron_cancel_scheduled_message` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-scheduled-message.md
- `neuron_clear_chat` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-clear-chat.md
- `neuron_clear_media` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-clear-media.md
- `neuron_delete_ad_request` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-ad-request.md
- `neuron_delete_blog_post` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-blog-post.md
- `neuron_delete_bot` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-bot.md
- `neuron_delete_broadcast` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-broadcast.md
- `neuron_delete_calendar` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-calendar.md
- `neuron_delete_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-campaign.md
- `neuron_delete_channel` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-channel.md
- `neuron_delete_contact` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-contact.md
- `neuron_delete_contact_list` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-contact-list.md
- `neuron_delete_event` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-event.md
- `neuron_delete_event_type` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-event-type.md
- `neuron_delete_flow` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-flow.md
- `neuron_delete_flow_run` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-flow-run.md
- `neuron_delete_kb_entry` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-kb-entry.md
- `neuron_delete_knowledge_base` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-knowledge-base.md
- `neuron_delete_list_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-list-campaign.md
- `neuron_delete_message` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-message.md
- `neuron_delete_newsletter` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-newsletter.md
- `neuron_delete_outbound_webhook` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-outbound-webhook.md
- `neuron_delete_override` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-override.md
- `neuron_delete_persona` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-persona.md
- `neuron_delete_product` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-product.md
- `neuron_delete_sms_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-sms-campaign.md
- `neuron_delete_social_channel` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-social-channel.md
- …and 370 more: https://policylayer.com/tools/io-github-conquext-neuron.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-conquext-neuron · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-conquext-neuron
