All posts

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:

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
Addresshttps://hostilo.app/mcp
TransportStreamable HTTP, JSON-RPC 2.0 messages
Protocol versions2025-11-25, 2025-06-18, 2025-03-26
Sign-inOAuth 2.1 with PKCE and dynamic client registration
Tools14 (server version 1.10.0)
Listed inClaude connectors directory, ChatGPT plugin directory, official MCP Registry (app.hostilo/hostilo)
OperatorIMJ 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

  1. You add Hostilo in your AI app: from the Claude connectors directory, from the ChatGPT plugin directory or by entering https://hostilo.app/mcp in any app that supports remote MCP servers.
  2. The app reads the sign-in details from /.well-known/oauth-protected-resource and registers itself automatically.
  3. You log in to Hostilo, or create an account in the same window, and choose on the consent screen what the assistant may do.
  4. 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:

Permissions are split into scopes. The assistant only sees the tools from the scopes you accepted.

ScopeWhat it allows
sites:readread your site list, files, templates, statistics and AI bot traffic
sites:draftcreate new sites
sites:publishchange content and upload files
sites:versions:readread the version history
sites:versions:restorerestore an earlier version
sites:domainsconnect and check your own domain
forms:readread messages sent through your forms (personal data of your visitors, so it has its own consent)

The 14 tools

ToolScopeWhat it does
list_sitessites:readlists your sites, 100 per page
get_sitesites:readreturns the page code, the file list and a ready form snippet; with path, one chosen file
list_templatessites:readlists the 19 starter templates
get_site_statssites:readpage views and traffic sources (Free 7 days, PRO up to 365 days)
get_ai_trafficsites:readshows which AI bots read the site
create_sitesites:draftcreates a site from code, from files or from a template, and publishes it
update_sitesites:publishreplaces the home page code
publish_filessites:publishuploads or replaces chosen files and subpages
import_zipsites:publishpublishes a whole site from a ZIP archive
list_versionssites:versions:readshows the version history
restore_versionsites:versions:restorebrings back a chosen version
connect_domainsites:domainsconnects your own domain and lists the DNS records to set (PRO)
check_domainsites:domainschecks the DNS records and gives hints for your domain provider
form_messagesforms:readreturns 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

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

Related guides

More from the blog