Let your coding agent publish the website
Your agent already writes the files. Connect Hostilo once and it can create the site, upload every file and give you the link, without you touching a terminal or a hosting panel.
- An address like your-name.hostilo.page with HTTPS
- Up to 5 pages and 50 MB, no card
- A code editor with a live preview
- Create a free Hostilo account.
- Add the connector: in Claude Code run claude mcp add --transport http hostilo https://hostilo.app/mcp, in Cursor or Windsurf add the same URL as an MCP server. Log in once and approve.
- Tell the agent: "Publish this folder on Hostilo as my-project". It returns the address.
Add Hostilo to Claude once, then just say "publish this on Hostilo". Claude sends the files itself, no copying.
A prompt that gives you code ready to publish
Publish the static site in this folder on Hostilo using the hostilo MCP tools: create the site if it doesn't exist, upload all HTML, CSS, JS and image files keeping the folder structure, then give me the live URL. Site name:
Paste it into your AI chat and describe your page after the colon.
Problems people usually hit
My project is React, Vue or Next.js
Hostilo serves built static files. Ask the agent to run the build (for example npm run build) and publish the dist or out folder.
The agent can't see the Hostilo tools
Restart the agent after adding the connector and check that you approved access. In Claude Code, claude mcp list shows the connection.
I use a tool without MCP
Use the REST API: create an API key in your account and call /api/v1/publish_files. The OpenAPI file is at hostilo.app/openapi.json.
What you get on the free plan
- An address like your-name.hostilo.page with HTTPS
- Up to 5 pages and 50 MB, no card
- A code editor with a live preview
- Visit stats for the last 7 days
- Contact forms: 50 messages a month
- Download your page as a ZIP at any time
PRO adds your own domain, 20 pages, 1 GB, no badge and a year of stats, for $29 a year. Try it free for 7 days after you sign up.
Questions
What can the agent do on Hostilo?
List and create sites, publish files, import a ZIP, read stats, list versions and restore an older one. The same actions are in the REST API.
Is it safe to give an agent access?
The connector only works on your Hostilo sites, nothing else on your computer. You can remove access in your account at any time.
Does it work with ChatGPT and n8n too?
Yes. ChatGPT can use the connector, and Make, n8n and Zapier can call the REST API.
Can I undo what the agent published?
Yes. Every publish creates a version. Restore an earlier one in the editor or ask the agent to do it.
Read the full guide
Publish a Website Straight from Claude, ChatGPT or Perplexity (MCP Connector)Related guides
Your page can be online in a minute
Sign up with an email address and a password. Free plan, no card.
Start free