# Tiiny Host Documentation

Turn a website, document, or other file into a shareable link with the Tiiny Host API, MCP or Skill.

## API at a glance

| Surface | Address | Use it to |
| --- | --- | --- |
| REST v1 | `https://ext.tiiny.host` | Publish or replace files, list projects, delete a project, or verify an email sign-in code. |
| MCP | `https://mcp.tiiny.host` | Connect an agent that can publish, list, replace, and delete projects. |
| OpenAPI | [openapi.yaml](openapi.yaml) | Read the REST request and response schemas. |
| Markdown | [llms.txt](llms.txt) | Find the plain-text version of each guide and endpoint. |

## Publish your first project

Use `POST /v1/upload` with `x-api-key` and one `files` part per attachment. Omit `domain` for an auto-generated hostname. Read `data.link` as a hostname and check `data.inPreviewMode` before treating the link as permanent.

```bash
curl --fail-with-body https://ext.tiiny.host/v1/upload \
  -H "x-api-key: $TIINY_API_KEY" -F 'files=@index.html'
```

Updates replace project files. Fetch the profile first and use the exact `data.links[].subdomain` for a replacement or deletion. Follow the [Quickstart](quickstart/) to connect an agent or make the first request.

[Explore Projects](sites/) to configure access, search visibility, visitor feedback, link appearance, and custom domains.
