Connect Hostilo to Claude, ChatGPT, Perplexity or Cursor in one minute — no key to copy — and just say “publish this page”. Building your own agent? Give it one API key instead.
Hostilo is a remote MCP server. Add it once as a connector, sign in to Hostilo, choose what the app may do — then publish and edit your sites straight from the chat.
Claude: open Hostilo in the connector directory and click Connect, or find it in Settings → Connectors → Browse connectors. ChatGPT: open Hostilo in the ChatGPT app directory and click Connect. Perplexity and other apps: add a custom MCP connector in their connector settings. Gemini on the web, where Google offers it: Settings → Connected apps → add a custom app. Paste the URL above.
Hostilo opens: sign in as usual (password, Google, 2FA) and approve the permissions. You can disconnect any time in Dashboard → API & tools → AI connections.
“Publish this page on Hostilo as my-portfolio.” “Change the headline on my site.” “Undo the last change.” The app does it and returns the live link.
list_sites · get_siteSee your sites, their live URLs and current HTML.
create_site · update_siteCreate a new name.hostilo.page site or publish new HTML. Every publish keeps the previous version.
list_templates · create_site + templateStart from a ready-made design (café menu, plumber, electrician, hair salon, accountant…) with the client’s name, phone and colour filled in. Browse them at hostilo.app/templates.
publish_filesPublish a multi-file site straight from the chat: index.html plus CSS, JS, images and fonts in one call. Files land in assets/ and links in index.html are fixed automatically.
import_zipPublish a whole multi-file project from a ZIP (base64 or a public link): index.html becomes the page, everything else goes to assets/ with folders kept and paths fixed. Try dry_run first.
get_site_statsPage views and visitors per day. On PRO also countries, traffic sources, devices and top pages for up to 365 days.
list_versions · restore_versionBrowse the last 10 versions of a site and roll back in one step.
OAuth 2.1 with PKCE, per-permission consent, tokens you can revoke instantly. The app never sees your password.
For custom agents and scripts: generate a hk_ key in the dashboard and paste this into .cursorrules or the system prompt.
The same REST endpoints your agent already knows how to call. No SDK, no wrapper to install.
GET list_sites returns the account's sites, so the agent avoids duplicate names.
POST create_site with a kebab-case name. Back comes a site_id and the live url.
POST update_site writes the agent's HTML as index.html. The URL is live immediately.
Ten actions on /api.php (or /api/v1/<action>), the same as the MCP connector. Full description in OpenAPI 3.1: openapi.json, ready for Make, n8n, Zapier and GPT Actions (guide).
?action=list_sitesReturns every site on the account as JSON.
?action=create_siteBody {"site_name":"name"} — lowercase, digits, hyphens, 3–30 chars, no domain. Returns site_id and url.
?action=update_siteBody {"site_id":N,"html":"..."} — publishes the HTML. Ownership verified against the key.
?action=import_zip&site_id=NBody: the ZIP itself (curl --data-binary @site.zip -H "Content-Type: application/zip"), a multipart field zip, or JSON with zip_url / zip_base64. index.html is published, other files land in assets/ with folders kept. dry_run=1 previews, clear_assets=1 empties assets/ first. Up to 20 MB, 300 files.
?action=publish_filesBody {"site_id":N,"files":[{"path":"index.html","content":"..."},{"path":"img/logo.png","content":"<base64>","encoding":"base64"}]} — several files in one call, no ZIP needed. index.html is published, the rest goes to assets/ with links fixed. dry_run, clear_assets as above.
?action=site_stats&site_id=N&days=30Page views and visitors; PRO adds countries, sources, devices and top pages for 30, 90 or 365 days.
?action=get_site&site_id=NThe current HTML of a site (whole page, up to 5 MB), its URL and size.
?action=list_versions&site_id=NSaved previous versions, newest first, with version_id.
?action=restore_versionBody {"site_id":N,"version_id":"..."} — restores a version; the current one goes to history, so it can be undone.
?action=list_templates&lang=enReady-made site designs with variants and fields; use them in create_site with template.
Generate a key in the dashboard, paste the prompt, and let your agent ship. Free to start — no card.