What is MCP, and how does the Hostilo MCP server work?
MCP, the Model Context Protocol, is the standard that lets an AI assistant use outside tools. Thanks to it, Claude or ChatGPT can do more than write the code of a website: it can put the site online, change it later and roll it back. This article explains how MCP works in general and then describes, piece by piece, the Hostilo MCP server that publishes websites straight from a chat.
MCP in a nutshell
Anthropic introduced the Model Context Protocol in November 2024 as an open standard. Its goal is simple: one integration should work in many AI apps, instead of a separate plugin for each of them. During 2025 the protocol was adopted by other AI companies, including OpenAI and Google DeepMind, and in December 2025 Anthropic handed it over to the Agentic AI Foundation, part of the Linux Foundation.
MCP describes three roles:
- Host: the app a person uses, for example Claude or ChatGPT.
- Client: the part of the host that keeps the connection with one server.
- Server: a service that offers its abilities to the model. Hostilo is a server.
A server can offer tools (functions the model can call), resources (data to read) and prompts (ready instructions). Messages use the JSON-RPC 2.0 format. Local servers talk to the app through a running process, remote servers through HTTP. For remote servers the standard transport is Streamable HTTP and sign-in uses OAuth 2.1, so you never paste a password or an API key into the chat.
The Hostilo MCP server at a glance
| Hostilo MCP server | |
|---|---|
| Address | https://hostilo.app/mcp |
| Transport | Streamable HTTP, JSON-RPC 2.0 messages |
| Protocol versions | 2025-11-25, 2025-06-18, 2025-03-26 |
| Sign-in | OAuth 2.1 with PKCE and dynamic client registration |
| Tools | 14 (server version 1.10.0) |
| Listed in | Claude connectors directory, ChatGPT plugin directory, official MCP Registry (app.hostilo/hostilo) |
| Operator | IMJ sp. z o.o., Poznań, Poland |
The server runs inside the same app as the Hostilo dashboard, on Cloudflare Workers. It has no publishing logic of its own: it calls exactly the same functions as the dashboard and the REST API. A site published from a chat is therefore the same as a site published by hand. It has a version history and statistics, and it goes through the same abuse scanner.
How a connection works
- You add Hostilo in your AI app: from the Claude connectors directory, from the ChatGPT plugin directory or by entering
https://hostilo.app/mcpin any app that supports remote MCP servers. - The app reads the sign-in details from
/.well-known/oauth-protected-resourceand registers itself automatically. - You log in to Hostilo, or create an account in the same window, and choose on the consent screen what the assistant may do.
- The app receives a token and can call the tools. Without a token the server answers 401 to every request.
The full step-by-step setup with screenshots is in Publish a website straight from Claude or ChatGPT.
Sign-in and permissions
Hostilo uses OAuth 2.1 for public clients. In practice this means:
- PKCE (S256 method) protects the sign-in code, and the code works only once. If someone tries to use it twice, all tokens from that sign-in are revoked.
- An access token is valid for one hour, a refresh token for 30 days, and it changes on every refresh.
- The consent screen tells verified apps (Claude, ChatGPT, Gemini) apart from unknown ones. An app that uses a known name with a foreign return address is rejected.
- You can disconnect the assistant at any time in the Hostilo dashboard, which revokes its tokens.
Permissions are split into scopes. The assistant only sees the tools from the scopes you accepted.
| Scope | What it allows |
|---|---|
sites:read | read your site list, files, templates, statistics and AI bot traffic |
sites:draft | create new sites |
sites:publish | change content and upload files |
sites:versions:read | read the version history |
sites:versions:restore | restore an earlier version |
sites:domains | connect and check your own domain |
forms:read | read messages sent through your forms (personal data of your visitors, so it has its own consent) |
The 14 tools
| Tool | Scope | What it does |
|---|---|---|
list_sites | sites:read | lists your sites, 100 per page |
get_site | sites:read | returns the page code, the file list and a ready form snippet; with path, one chosen file |
list_templates | sites:read | lists the 19 starter templates |
get_site_stats | sites:read | page views and traffic sources (Free 7 days, PRO up to 365 days) |
get_ai_traffic | sites:read | shows which AI bots read the site |
create_site | sites:draft | creates a site from code, from files or from a template, and publishes it |
update_site | sites:publish | replaces the home page code |
publish_files | sites:publish | uploads or replaces chosen files and subpages |
import_zip | sites:publish | publishes a whole site from a ZIP archive |
list_versions | sites:versions:read | shows the version history |
restore_version | sites:versions:restore | brings back a chosen version |
connect_domain | sites:domains | connects your own domain and lists the DNS records to set (PRO) |
check_domain | sites:domains | checks the DNS records and gives hints for your domain provider |
form_messages | forms:read | returns messages sent through the site’s form |
None of the tools deletes a site. Every change saves the previous version (the last 10 are kept), so restore_version can undo it. Content changes accept an expected version number: if someone changed the site in the dashboard in the meantime, the server reports a conflict instead of overwriting their work.
What a call looks like
You write “Make a website for my bakery and publish it on Hostilo”. The assistant writes the HTML and sends a request like this one:
{
"jsonrpc": "2.0",
"id": 7,
"method": "tools/call",
"params": {
"name": "create_site",
"arguments": {
"name": "luna-bakery",
"html": "<!DOCTYPE html><html>...</html>"
}
}
}
The answer contains the live address, here https://luna-bakery.hostilo.page, which the assistant shows in the same reply. The server asks the model not to question you first on the first site, but to build it right away with sample details. You correct them later with ordinary sentences such as “change the opening hours”, and the assistant calls update_site or publish_files.
The same operations are available as a REST API (https://hostilo.app/api/v1/<action>, described in https://hostilo.app/openapi.json) for Make, n8n, Zapier and GPT Actions. More about automation in AI agents that deploy websites.
Limits
- Hostilo publishes static sites: HTML, CSS, JavaScript, images and fonts. It does not run server code or databases.
get_sitereturns up to 1 MB of code and cuts longer files with a warning.- Custom domains need PRO. An account can add up to 5 new domains a day, and the tools never disconnect or change a domain that already works.
form_messagesneeds a plan that includes form access through the API.- A connection made before a new scope appeared (for example
sites:domainson November 26, 2026) sees the new tools only after you reconnect and accept them.
Safety and privacy
Tokens are stored only as cryptographic hashes. Every tool call, refused request and issued token is written to a log. Sites published by an assistant follow the same rules as sites published by hand: a scanner looks for phishing and other abuse, and new sites on the Free plan stay hidden from search engines for 14 days until the owner confirms their email address. A REST API key, unlike an OAuth token, gives full access to the account, so keep it out of the browser.
Frequently asked questions
Do I need to know how MCP works to use Hostilo from ChatGPT or Claude?
No. You add Hostilo from the directory, log in once and then simply ask the assistant to publish your page. MCP works in the background.
Is the Hostilo MCP server free?
Yes. The Free plan includes 5 sites and 50 MB. PRO costs 29 USD a year or 5 USD a month and adds custom domains, 20 sites and 1 GB.
Can the assistant delete my sites?
No. None of the 14 tools deletes a site, and every change can be undone with the version history.
Which apps can connect?
Any app that supports remote MCP servers with OAuth: Claude, ChatGPT, Gemini, Cursor and others. In apps without a directory entry, use the address https://hostilo.app/mcp.
Connect Hostilo to your assistant
Create a free account, add Hostilo in Claude or ChatGPT and ask it to publish your first page.
Create a free account

