Opus Growth

Rebuild Site From Source

Re-build and re-publish a Next.js / Vite / CRA site FROM THE SOURCE KEPT ON THE SERVER by a prior deploy_site_zip of a source project.

Type
Makes changes
Credits
1
Platform
AI Server
Approval
Preview first, applied after you approve

What it does

Re-build and re-publish a Next.js / Vite / CRA site FROM THE SOURCE KEPT ON THE SERVER by a prior deploy_site_zip of a source project. This is the edit-in-chat → publish loop for build frameworks: the source lives under .src/ (kept after the first deploy) and is edited with site_edit_file / site_write_file (.src/app/page.tsx, .src/pages/index.js, .src/src/App.jsx and so on); site_rebuild then compiles the static export again and publishes it. Only works when a SOURCE project was deployed (a .src/ exists); a plain static site has no build step — just edit its files directly (they are already live). A version snapshot is taken first (site_restore undoes it). Build cap ~10 min; the server needs enough disk for node_modules (Next.js is large — small/free servers may run out of space; use an adequately-sized AI Server). `site` = the key or domain of an EXTRA website on that server; leave it empty for the main website.

MCP: site_rebuild

How to use it

You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.

Because this tool changes your account, your assistant first shows a preview of exactly what will change. Nothing is applied until you say yes, and every applied change is written to your audit log.

Parameters

NameTypeRequiredDefault
serverstringOptional·Name of the connected hosting server to target when more than one server is available.
sitestringOptional·Identifier, key, or domain of the hosted site to target when more than one site is available.
page_tokenstringOptional·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.