You ask Cursor or Claude Code for a landing page. Two minutes later you have an index.html, a stylesheet and a couple of images. Then the boring part starts: pick a host, create a project, drag files somewhere, wait for a deploy, copy the URL.
I wanted the assistant that wrote the site to also put it online. So we built a remote MCP server for SoFast, the static hosting I work on. This post shows how to wire it up in Cursor, Claude Code and VS Code, and what actually happens when you ask the assistant to publish.
Disclosure: I'm on the SoFast team. The setup below works the same way with any remote MCP server that uses OAuth, so it's useful even if you host elsewhere.
The server URL is:
https://mcp.sofast.host/mcp
There's no API key. The first time the client connects, it opens a browser window, you sign in to SoFast and approve access. The assistant never sees your password, and you can revoke access from the SoFast dashboard at any time.
One command:
claude mcp add --transport http sofast https://mcp.sofast.host/mcp
Then, inside Claude Code:
/mcp
Pick sofast and sign in when the browser opens.
Add the server to .cursor/mcp.json in your project (or ~/.cursor/mcp.json to make it available everywhere):
{
"mcpServers": {
"sofast": { "url": "https://mcp.sofast.host/mcp" }
}
}
Cursor asks you to sign in the first time a tool is used.
In the Chat view: Customizations → Add MCP Server → HTTP, then paste the URL. Or commit it with the project in .mcp.json:
{
"mcpServers": {
"sofast": {
"type": "http",
"url": "https://mcp.sofast.host/mcp",
"tools": ["*"]
}
}
}
Ask:
List my SoFast sites.
If you get a list (or "no sites yet"), you're connected.
Try a prompt like this one:
Build a one-page portfolio for a freelance illustrator: hero, three project cards, contact section. Plain HTML and CSS. Then publish it on SoFast at a new address.
Behind the scenes, the assistant chains a few tools:
upload_files`` upload_id. Big sites can be sent in several calls with the same create_site``<name>.sofast.website with that get_site_status`` index.html at the root is the classic one).
You get back a live HTTPS URL.
If your client can run shell commands (Claude Code, Cursor's agent), there's a faster path for sites with lots of binary files. get_upload_link returns a one-time command that zips the folder and uploads it directly. It's valid for 15 minutes and a single upload. The assistant runs it, and the site is published as a new version.
Change the headline to "Available for new projects" and republish my portfolio.
The assistant edits the file, calls upload_files, then publish_site on the existing site. The address doesn't change, and the previous version stays restorable from the dashboard. Small copy fixes happen without opening anything.
| Tool | What it does |
|---|---|
list_sites |
Lists your sites with their address, status and last publish |
get_site_status |
One site's status, file count and latest publish result |
rename_site |
Changes the name shown in your dashboard (not the URL) |
change_site_address |
Moves the site to a new *.sofast.website subdomain (once a day; old links break) |
_site /un_site |
Takes a site offline or puts it back online |
delete_site |
Doesn't delete anything: returns a link so you confirm it in the dashboard |
Two design choices worth copying if you build your own MCP server:
list_sites, readOnlyHint, the rest are marked as writes or destructive, so clients can ask for confirmation before the risky ones.delete_site hands you a link instead.
Sites get a *.sofast.website address with SSL out of the box. On paid plans you can connect your own domain to each site from the dashboard, and the certificate is issued and renewed for you. Domains are managed in the dashboard, not through MCP.
The nice thing about remote MCP servers with OAuth is that setup is just a URL. Once it's added, "publish this" becomes part of the same conversation that built the site.
Full setup for every client (including Claude and ChatGPT on the web): sofast.host/mcp.
If you've built an MCP server yourself, I'm curious how you handled destructive actions. Let me know in the comments.