Short answer: run claude mcp add --transport http sitehold https://accounts.sitehold.app/mcp, sign in with /mcp, then ask Claude Code to deploy your build output to Sitehold. It checks the preview and publishes.
1. Add the server
claude mcp add --transport http sitehold https://accounts.sitehold.app/mcp
Start Claude Code, type /mcp, choose sitehold and sign in to Sitehold in the browser window that opens.
2. Build, then deploy
Sitehold hosts the static output of your build, not your source. Ask:
Build the site and deploy the output folder to Sitehold as a new site called "docs". Send me the preview link.
Claude Code can send files directly, or pack the output folder into one .tar.gz archive and upload it with curl, which suits bigger sites.
3. Publish
Ask Claude Code to publish, and the site is live. New accounts can publish one client site on their own domain free for 3 months. To use a domain you own, connect it first: Connect your domain. To sign off on each publish yourself, see Approve publishes yourself.
Tips
- Paths are served as uploaded:
/pricingservespricing.htmlorpricing/index.html, and a root404.htmlbecomes your not-found page. - Keep your source in Git. Sitehold keeps the live version and your latest drafts, not a history and not your repository.
- A site can live under a path of a domain, such as
example.com/docs. Use relative URLs in that case.