Connection guide
Connect an AI client to publish, list, update, and delete Tiiny Host projects.
Choose an endpoint
Transport: Streamable HTTP. MCP is available on all Tiiny Host plans. Project and content limits still apply.
| URL | Credentials and tools |
|---|---|
https://mcp.tiiny.host |
API key in client connection settings or request_otp + verify_otp for email sign-in. |
https://mcp.tiiny.host/api-key |
x-api-key or Authorization: Bearer <key>. Exposes the four project tools. |
https://mcp.tiiny.host/oauth |
OAuth for the ChatGPT connector. |
After email sign-in, pass the returned sessionToken as session_token to subsequent project tools. It expires after 24 hours.
Discover the tools
| Tool | Input | Result or effect |
|---|---|---|
publish_site |
fileName, exactly one content field, optional domain |
Publishes a project and returns its URL. |
update_site |
fileName, exactly one content field, owned domain |
Replaces the project’s content. Confirm the domain first. |
list_sites |
No project arguments | sites[] with domain and nullable createdAt, plus count and nullable maxSites. |
delete_site |
Owned domain |
Deletes the whole project. Returns success and domain. |
request_otp |
email |
Sends a code. Returns sent and email. Available at the root endpoint. |
verify_otp |
email, otp |
Returns authenticated, email, accountCreated, sessionToken. Available at the root endpoint. |
Send files and read results
One file per publish or update, up to 15 MiB of text or decoded binary. Use fileContent for text or standard padded fileContentBase64 for binary. Use a ZIP for a multi-file project. Send a filename with its extension and without directory separators.
Publish and update return success, operation, domain, url, previewMode, and optional previewReason. Tool errors set isError. If an update or deletion times out, use list_sites to check the target before repeating it.