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.

What you need

  • An MCP client that supports remote servers over Streamable HTTP with OAuth: Cursor, Claude Code, VS Code, Claude, ChatGPT (developer mode) or Gemini.
  • A SoFast account. There's a 60-day free trial, no credit card.
  • A static site: HTML, CSS, JavaScript, images, fonts. No build step on the server side, so if you use a framework, build it first.

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.

Claude Code

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.

Cursor

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.

VS Code

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": ["*"] } } } 

Check that it works

Ask:

List my SoFast sites.

If you get a list (or "no sites yet"), you're connected.

Publishing a site

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:

  1. upload_files sends the files (text as UTF-8, images as base64). It returns an upload_id. Big sites can be sent in several calls with the same upload_id, up to 4 MB per call.
  2. create_site creates the site at <name>.sofast.website with that upload_id and publishes the first version.
  3. If the publish is still running, get_site_status is called until the site is live, or until it fails with a reason (missing index.html at the root is the classic one).

You get back a live HTTPS URL.

Large sites: the shell route

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.

Updating a site

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.

The other tools

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)
pause_site / unpause_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:

  • Every tool is annotated. Read-only tools (list_sites, get_site_status) are marked readOnlyHint, the rest are marked as writes or destructive, so clients can ask for confirmation before the risky ones.
  • Irreversible actions stay with the human. An assistant that misreads "clean up my sites" shouldn't be able to wipe anything. delete_site hands you a link instead.

Custom domains

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.

Wrapping up

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.