# ReplyHut (https://replyhut.com) — Agentic Integration Guide
ReplyHut provides drop-in Nested Comments, zero-CAPTCHA Contact Forms, and Calendar Booking widgets for static websites in a single ~7 KB Shadow DOM script.
## 1. Embed Snippets
Add any combination of containers plus ONE script tag:
## 2. Content-Security-Policy (CSP)
If the target website sets a CSP header (e.g. netlify.toml, _headers, vercel.json, nginx), you MUST allow `https://replyhut.com` in:
- script-src: https://replyhut.com
- connect-src: https://replyhut.com
## 3. Domain Ownership Verification (Optional)
Add to on homepage:
Or DNS TXT on `_replyhut.`: `replyhut-site-verification=rh_verify_TOKEN`
Or file at `/.well-known/replyhut-verification.txt` containing `rh_verify_TOKEN`.
## 4. CSS Variable Theming
[data-replyhut] {
--pb-accent: #0052ff;
--pb-radius: 10px;
}
## 5. Webhooks (HMAC-SHA256)
Headers: `X-ReplyHut-Event`, `X-ReplyHut-Signature: t=,v1=`
Verify: HMAC-SHA256(secret, f"{t}.{raw_body}") == v1.
## 6. Remote MCP Server (Streamable HTTP JSON-RPC 2.0)
Endpoint: `POST https://replyhut.com/mcp`
Auth: `Authorization: Bearer rh_sk_...` (generate an API key at `https://replyhut.com/agents`)
Tools: `list_sites`, `create_site`, `get_embed_snippet`, `list_inbox`, `moderate_item`, `reply_to_item`, `verify_domain`, `list_usage`.