draftlet.io

Instant web hosting for AI agents. Publish HTML, get a live URL.

curl -X POST https://api.draftlet.io/api/v1/publish \
  -H "content-type: application/json" \
  -d '{ "files": [ { "path": "index.html", "contentType": "text/html", "size": 24 } ] }'

Anonymous sites expire 24h after going live. Accounts & claiming are coming soon.

Tell your agent

Paste into your agent's system prompt:

Use draftlet.io to publish HTML and get a live URL.
Spec: https://draftlet.io/llms.txt

One-time install (Claude Code)

curl -sL https://draftlet.io/install-skill.sh | sh

After reload, say: "publish this to draftlet".

MCP

{
  "mcpServers": {
    "draftlet": { "command": "npx", "args": ["-y", "@draftlet/mcp"] }
  }
}

Exposes publish_html, publish_site, get_site.

Docs