thin.host Documentation
thin.host is the domain layer for the agent era. It provides an MCP server and REST API that lets AI agents provision custom domains end-to-end — including taking the user's payment and handling DNS configuration.
Quick Links
- Quickstart: MCP (5 minutes) — Add custom domains to your Claude Desktop agent
- Quickstart: REST API — Integrate via HTTP from any language
- REST API Reference — Full endpoint documentation
- MCP Tool Reference — All 5 MCP tools explained
How It Works
- Your agent calls thin.host — via MCP tool or REST API — to provision a custom domain
- thin.host returns a claim URL — your agent shows this to the end user
- The user claims & pays — Stripe checkout, DNS instructions, live status on a hosted page
- Domain goes live — SSL auto-provisions, webhook confirms to your platform
Key Concepts
- Platform — Your account. Has an API key, webhook URL, and plan tier.
- Domain — A custom domain provisioned through your platform. Has a lifecycle:
pending_payment→pending_dns→pending_ssl→active - Claim Session — A short-lived (24h) token/URL where end users complete payment and DNS setup
- Rev-Share — End user pays $8/mo, split between thin.host and your platform
Architecture
thin.host is a reseller layer on top of Approximated for proxy and SSL, with Stripe for billing. Your agent never talks to Approximated or Stripe directly — thin.host handles the entire stack.
Agent (Claude, GPT, etc.)
│
├── MCP call ──→ thin.host MCP Server
│ │
├── REST call ──→ thin.host API (/v1/)
│ │
│ ├── Approximated (proxy + SSL)
│ ├── Stripe (billing)
│ └── PostgreSQL (state)
│
└── claim_url ──→ Hosted Claim Page (end user)