Connection guide
Connect an AI client to publish, list, update, and delete Tiiny Host projects.
Choose an endpoint
MCP uses Streamable HTTP and is available on all Tiiny Host plans. Hosting still follows your account limits.
| URL | Authentication |
|---|---|
https://mcp.tiiny.host |
An API key in the client’s connection settings, or email sign-in using the OTP tools. |
https://mcp.tiiny.host/api-key |
Dedicated API-key endpoint. Use x-api-key or an Authorization bearer key. |
https://mcp.tiiny.host/oauth |
OAuth endpoint for the ChatGPT connector. |
For clients that accept a remote MCP URL, add the endpoint as a Streamable HTTP server. Keep API keys in connection settings.
Discover the tools
| Tool | Inputs and result |
|---|---|
publish_site |
fileName, exactly one content field, and optional domain. Publishes a new project. |
update_site |
fileName, exactly one content field, and an owned domain. Replaces all project content. |
list_sites |
Returns sites with domain and nullable createdAt, plus count and nullable maxSites. |
delete_site |
An owned domain. Deletes the entire project and returns success and domain. |
request_otp |
On the root endpoint, sends a code to email. Returns sent and email. |
verify_otp |
On the root endpoint, takes email and otp. Returns authenticated, email, accountCreated, and sessionToken. |
If you use email sign-in, pass the returned sessionToken as session_token on subsequent project tools. The token expires after 24 hours.
Send files and read results
Use fileContent for text or standard padded fileContentBase64 for binary. Each publish or update accepts one file up to 15 MiB decoded. Send a ZIP for multiple files.
Publish and update return success, operation, domain, url, previewMode, and an optional previewReason. Tool failures set isError. Confirm the target domain before replacing or deleting an existing project.