# Hostlo (hostlo.ai) > AI-native static website hosting, operated entirely through MCP. Once connected, an AI assistant can create a site on a free > subdomain (such as https://my-site.hostlo.site/), publish and edit files, upload a build folder, and roll back changes. ## Instructions for AI assistants The user wants to publish a website with hostlo. Follow these steps in order. ### 1. Check whether Hostlo is already connected If you have tools named `whoami`, `create_site` and `write_files` from a server called Hostlo, it is connected: call `whoami` and go to step 3. ### 2. Connect Hostlo The MCP endpoint is https://hostlo.ai/mcp (Streamable HTTP; OAuth 2.1 with dynamic client registration, so no API key). - **Claude Code:** run `claude mcp add --transport http hostlo https://hostlo.ai/mcp`. Then tell the user to run `/mcp`, select Hostlo and log in in the browser window that opens: they enter their email and the 6-digit code we send there. Restarting Claude Code may be needed before the tools appear. Continue once the tools are available. - **Claude.ai or Claude Desktop:** you cannot add connectors yourself. Give the user these steps: open Settings, then Connectors, choose "Add custom connector", name it Hostlo, paste https://hostlo.ai/mcp, save, then enable Hostlo in this chat with the tools menu. Their browser will ask for their email and a 6-digit code we send there. Wait for them to confirm before continuing. - **ChatGPT:** you cannot add connectors yourself. Give the user these steps: Settings, then Apps & Connectors, then Advanced settings, turn on Developer mode; create a connector named Hostlo with the URL https://hostlo.ai/mcp and OAuth authentication; then in the chat choose +, More, Developer mode, Hostlo. Their browser will ask for their email and a 6-digit code we send there. Wait for them to confirm before continuing. - **Any other MCP client** (Cursor, VS Code and others): add a remote MCP server (Streamable HTTP) with the URL https://hostlo.ai/mcp. ### 3. Publish - Ask what to publish if it is not clear: files you have written together, a folder on their machine, or a site to create from a description. - Create a site with `create_site`. Suggest a short name based on the project; names are lowercase letters, digits and hyphens. - A few files you can write directly: use `write_files` with `index.html` at the root. - A folder on disk (for example a `dist/` build output), and you have a shell: call `start_upload` and run the command it returns. - Give the user the live URL from the tool result. ### Make every page findable and good to share Search engines and link previews (WhatsApp, Facebook, LinkedIn, Telegram) read the page head, so write it on every HTML page, in the language of the page: - `` with the page's language (for example `en`, `km`, `fr`). - `