Tutorial7 min read

How to Publish an AI-Built Website With an MCP (No Git, No Terminal)

If an AI built your site as a folder of HTML, CSS and JavaScript, an MCP server can put it online from the same conversation. The Vercel MCP's create_deployment takes the files directly and builds on the platform; Hostinger's hosting_deploy-static-website takes a zip archive with no build step; Netlify's deploy-site publishes the folder the client is working in. No repository and no command line are required for the first two. Five steps, with the prompt to paste at each one and a clear note on which paths overwrite the live site.

Goal

A folder of files becomes a live URL

Time

~10 min for the first deploy

Prereq

The files, an account on one platform, an MCP client

Steps

1

Get the site into one folder, with index.html at the top

A static site is a folder: index.html at the root, any other pages beside it, and CSS, JavaScript, images and fonts in subfolders referenced by relative paths. Ask the AI that built the site to write it that way, or to zip that folder — Hostinger's deploy takes an archive, Vercel's takes the files themselves, and Netlify publishes the folder the client is working in. Anything that needs a build step (a React app, a framework) still works on Vercel, which detects the framework and builds; the other two paths want the finished output.

Prompt
Put the whole site in a folder called "site": index.html at
the root, styles in site/css, scripts in site/js, images in
site/img, all linked with relative paths. Then zip it to
site.zip and tell me where both are.
2

Pick the path by what you have

Files and no account anywhere in particular: the Vercel MCP's create_deployment accepts the files in its request body, creates the project, detects the framework and builds; the first deployment is a preview URL you can share while it finishes. A Hostinger hosting plan: hosting_deploy-static-website (found with search, run with execute) uploads a static site from an archive with no build step, and hosting_deploy-js-application builds a JavaScript app from a source archive. A Netlify account and the folder on the machine your client runs on: the deploy-site operation in Netlify's deploy-services updater publishes it. A Claude Design bundle: Vercel's import-claude-design-from-url takes the public HTTPS URL directly.

3

Connect the server and deploy — a preview first where the platform has one

Vercel is a hosted server: add https://mcp.vercel.com to your client and approve one team. Its first deployment is a preview by default; production needs target: "production", which is the call to keep behind your confirmation. Hostinger and Netlify have no preview inside the tool: a deploy is the live site, and Hostinger's own operation text warns that it overwrites the website's existing contents and cannot be undone. Netlify's deploy-site publishes to the live project the same way. Treat both as production writes, and confirm before each.

Prompt
Deploy the "site" folder to Vercel as a preview deployment
in my team "acme". Create the project "acme-site" if it
does not exist. Give me the preview URL and the build log
once it finishes. Do not deploy to production.
4

Check the live page from inside the conversation

On Vercel the agent can read the deployment state with get_deployment, follow the build output with list_deployment_events, and fetch the page itself with web_fetch_vercel_url — including a protected preview. On Hostinger and Netlify, open the URL the deploy returned and ask the agent to fetch it with any web-fetch tool. Check the home page, one inner page, and one image path; a broken relative path is the most common first-deploy bug.

Prompt
Fetch the preview URL and confirm the home page renders,
the link to /about works, and /img/hero.png returns an
image. Report anything that 404s with the exact path.
5

Promote, then attach the domain

When the preview is right, ask for the production deployment (Vercel) or accept that the deploy you just made is live (Hostinger, Netlify). Then give the site its name: on Vercel, add_project_domain attaches it and the DNS half follows the connect-a-custom-domain tutorial; on Hostinger the same server writes the zone. Every later change is a new deploy of the whole folder, so keep the source folder — there is no "edit one file on the server" in this workflow.

Prompt
The preview looks right. Deploy the same files to
production, then add the domain www.example.com to the
project and tell me which DNS record it expects.

Two of the three paths publish straight to the live site

Hostinger's deploy replaces the website's existing contents — its own operation description says it cannot be undone and to confirm with the user first — and Netlify's deploy-site publishes to the live project with no preview step inside the tool. Only Vercel gives you a preview by default. On the other two, the confirmation before the deploy call is the preview.

The three paths side by side

PathInputBuild stepPreview?Runs where
Vercel — create_deploymentFiles in the request, or a Git sourcePlatform detects the framework and buildsYes, by default; production on requestHosted server, OAuth; ChatGPT too
Hostinger — hosting_deploy-static-websiteA zip archive of the finished siteNone (hosting_deploy-js-application builds JS apps)No — overwrites the live siteLocal stdio or HTTP, OAuth or token
Netlify — deploy-siteThe project folder on the client's machinePer the project's Netlify configNo — publishes the live projectLocal stdio, Netlify sign-in, Node 22+
Vercel — import-claude-design-from-urlA public claudeusercontent.com HTML bundleNoneA new Vercel projectHosted server

This is a pattern, not a hosting ranking

The point of this page is the shape of the workflow — an AI produces files, an MCP call publishes them — using the three servers in the catalog whose deploy tools were read back from the server or the vendor's documentation. Which host to choose for a given site is the web hosting category's job.

Frequently asked questions

Can I publish a website an AI built without GitHub or a terminal?

Yes. Two of the three paths here need neither: Vercel's MCP takes the files directly through create_deployment and builds on the platform, and Hostinger's hosting_deploy-static-website takes a zip archive. Netlify's deploy-site publishes a folder on the machine the client runs on, so it needs the files locally but no repository. In every case the MCP client is the only interface; the platform does the hosting.

Which MCP is best for publishing a static site?

The one for the account you have. With no preference, Vercel is the easiest: a hosted server, OAuth, a preview URL by default, and the agent can read the build log and fetch the page afterwards. Hostinger is the pick when the same account should also hold the domain and the DNS. Netlify suits a folder that already lives on your machine. This is a pattern, not a hosting ranking — the ranked list is on the web hosting category page.

Can ChatGPT publish my site?

Through Vercel, yes: its MCP is a reviewed ChatGPT connector, so ChatGPT can create the deployment from files it is given. Hostinger and Netlify run locally over stdio and need Claude Desktop, Claude Code, Cursor or another local client.

Does deploying overwrite the site that is already there?

On Hostinger and Netlify, yes — each deploy replaces the live contents, and Hostinger's operation text says so explicitly. On Vercel each deployment is a new, immutable one; production is whichever you promote, and the earlier deployments stay listed so you can redeploy one to roll back.

How do I roll back?

Vercel: ask the agent to list deployments and redeploy the last good one to production. Hostinger and Netlify: redeploy the previous archive or folder — keep every version you ship, because the server does not. That is the reason step one asks for a zip: it is your rollback artifact.

What about a site with a database or a login?

That is an application, not a static site, and it wants a platform that runs code: Vercel handles frameworks with server functions, and Render, Railway, Fly.io and the others in the deploying-websites guide run services. The folder-of-files workflow on this page is for pages, not for servers.

Next

Give the site its domain, see the full deploy loop for framework apps, or browse every ranked hosting server.

Related guides

Browse all 64 guides