Agentic site development, reference implementation
A website your agent maintains
Revolvenet's source, its preview and its production release are all reached through one small MCP server. Ask your agent for a change, look at it on stage, and tell it to publish. Every page here was written and deployed that way, on Plexara.
Three environments, one direction
The site lives in three environments. A change is made once, in dev, and the same release then moves forward one step at a time. Nothing is copied or rebuilt on the way, so what reaches production is exactly what you previewed.
Every edit your agent makes lands here as a new release. Nobody outside the platform sees it.
The preview. Your agent moves dev's newest release here so you can check it in a browser.
The live site. It takes only the release stage is serving, when you say publish.
- You ask for a change. "Add a section about pricing", "fix the typo in the footer", "make the header darker".
- Your agent edits the source. It reads the files it needs and changes them. Each change is a new release in dev.
- Your agent previews it. The release moves to stage, and your agent gives you the stage address.
- You check stage and say publish. The same release moves to production.
- Anything can be undone. Ask your agent to roll stage or production back to an earlier release, and it is serving that release again.
Two tools
The MCP server is deliberately small. One tool works on the source, the other moves releases between environments. Keeping them apart lets your client ask before anything goes live while letting edits flow freely.
| Tool | Action | What it does |
|---|---|---|
| site_files | list | Lists the site's files, optionally under a folder. |
read | Reads a file, or a range of its lines. | |
edit | Changes a file by replacing exact text, without resending the rest of it. | |
write | Creates a file or replaces it whole. | |
delete | Removes a file. | |
| site_release | status | Shows which release each environment serves and where to see it. |
history | Lists recent releases with what each one was for. | |
preview | Moves dev's newest release to stage. | |
publish | Moves the release stage serves to production. | |
rollback | Returns stage or production to an earlier release. |
What it is built from
Everything below runs on Plexara. There is no build server, no repository to deploy from and no hosting account for the site's owner to manage.
- The site
- A static site on Plexara Sites, with dev, stage and production environments. Each environment keeps its recent releases, so a rollback is one step.
- The MCP server
- A Plexara Application whose endpoint script speaks MCP over HTTP. Each tool call becomes a platform call, checked against what the application may do and recorded in the audit log.
- Access
- The site's owner gets an address and a key. The endpoint checks the key on every request; the owner needs no Plexara account.
- Releases
- An edit makes a release in dev. Preview and publish move a release forward without changing it; rollback points an environment back at one it served before.
Connect an agent
Any MCP client that speaks streamable HTTP can connect. You need the server address and the key you were given.
Claude Code
claude mcp add --transport http revolvenet \ https://plexara.deasil.works/endpoints/revolvenet-mcp \ --header "X-MCP-Key: <your key>"
Clients that read a JSON config
{
"mcpServers": {
"revolvenet": {
"type": "http",
"url": "https://plexara.deasil.works/endpoints/revolvenet-mcp",
"headers": { "X-MCP-Key": "<your key>" }
}
}
}
Clients that cannot send a header
Put the key at the end of the address instead: https://plexara.deasil.works/endpoints/revolvenet-mcp/<your key>. Treat that address as the key itself.