# public-it > public-it publishes AI-generated HTML artifacts as real websites in seconds. > Paste HTML (or upload a ZIP) and get a public URL on a free subdomain; > custom domains optional on paid plans. ## For AI agents: publish on behalf of your user - MCP server (streamable HTTP): https://public-it.com/mcp - Auth header: `Authorization: Bearer pit_...` — the user creates the API key at https://public-it.com/dashboard/keys after signing up (free plan available). - Tools: list_sites, create_site, publish_html, get_site, list_versions, rollback_site, delete_site, get_usage - Typical flow: create_site (once) → publish_html (every update) → share the returned URL with the user. - The same key works on the REST API (see full docs). ## Docs - [Full machine-readable docs](https://public-it.com/llms-full.txt) - [Human docs](https://public-it.com/docs) - [MCP guide](https://public-it.com/docs/mcp) - [REST API reference](https://public-it.com/docs/api) - [Pricing](https://public-it.com/pricing)