HTMLSave MCP Server
Empower Claude, Cursor, Antigravity, and your AI agents to create, update, and host live websites and static assets directly on HTMLSave.
Zero Local Server Setup
Hosted on Cloudflare Edge with global low latency. Connect with streamable HTTP or standard JSON-RPC 2.0 without running local daemons.
Instant Live URLs
Every website or file your AI assistant publishes gets an instant HTTPS subdomain at https://<site>.htmlsave.net with free SSL.
Token Secured
Standard HTMLSave API token authentication. Safe, sandboxed, and compatible with both free and premium accounts.
Built for AI Assistants
Compatible out of the box with Claude Desktop, Cursor, Google Antigravity, Cline, Windsurf, and custom LLM workflows.
Connect via OAuth 2.0 in Seconds
Watch how to link your HTMLSave account to ChatGPT or Claude Web with 1-click OAuth 2.0 authorization.
How to Add Custom MCP Server in ChatGPT
Step-by-step tutorial on connecting HTMLSave to ChatGPT via OAuth 2.0 for creating and managing live static web pages directly inside chat.
Watch on YouTubeHow to Connect MCP in Claude Web
Learn how to link Claude Web with the HTMLSave MCP server using 1-click OAuth 2.0 to deploy and edit pages seamlessly.
Watch on YouTubeConnect to Your Favorite AI Client
HTMLSave runs at edge on https://mcp.htmlsave.com. Add the configuration to your AI tool of choice.
{
"mcpServers": {
"htmlsave": {
"url": "https://mcp.htmlsave.com",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}YOUR_API_TOKEN with your HTMLSave API token starting with hs_ (available in your HTMLSave User Profile).{
"mcpServers": {
"htmlsave": {
"command": "npx",
"args": [
"-y",
"mcp-proxy",
"https://mcp.htmlsave.com?token=YOUR_API_TOKEN"
]
}
}
}mcp-proxy utility directly to our streamable HTTP edge endpoint.{
"mcpServers": {
"htmlsave": {
"url": "https://mcp.htmlsave.com",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Available MCP Tools
Your AI model can autonomously invoke these tools to publish, inspect, and maintain live sites.
htmlsave_list_sitesToolList all websites owned by the authenticated HTMLSave account. Returns site subdomains, live URLs (https://<site>.htmlsave.net), and creation dates.
htmlsave_create_siteToolCreate and host an initial site at https://<subdomain>.htmlsave.net. Subdomain is optional (auto-generated if omitted); errors if custom name exists.
codecustomhtmlsave_get_siteToolGet site metadata, total/monthly view stats, visibility, and pages. Pass code: true to include homepage HTML code.
sitecodehtmlsave_update_siteToolPermanently overwrite homepage HTML source code for an existing HTMLSave site (irreversible).
sitecodehtmlsave_delete_siteToolPermanently delete an HTMLSave site along with all associated pages, styles, scripts, and media.
sitehtmlsave_list_pagesToolList all subpages and assets (e.g. styles.css, app.js, about.html) under an HTMLSave website subdomain.
sitehtmlsave_create_pageToolCreate a subpage at https://<site>.htmlsave.net/<pagename>.<pagetype>. Errors if page already exists (use update_page to replace).
sitepagenamepagetypecodehtmlsave_get_pageToolRetrieve source code, view statistics, and metadata of a specific subpage or asset under an HTMLSave site.
sitepagenamepagetypehtmlsave_update_pageToolPermanently overwrite the source code or content of an existing subpage or asset file under an HTMLSave site (irreversible).
sitepagenamepagetypecodehtmlsave_delete_pageToolPermanently delete an individual subpage or asset file from an HTMLSave site.
sitepagenamepagetypeWhere Do I Get My API Token?
Your MCP server uses standard HTMLSave API tokens to manage your sites securely.
Create an Account or Log In
Sign in to your HTMLSave user account.
Go to User Profile
Find your personal API Token starting with hs_.
Paste into MCP Config
Add your token to Claude, Cursor, or Antigravity and start deploying instantly.
htmlsave_create_site with custom: "supercalculator"...WebMCP Enabled
HTMLSave also supports WebMCP directly on our website. Compatible browser agents and AI-powered browsers can automatically discover and use our MCP tools to interact with HTMLSave—no manual configuration or local setup required.
Ready to Connect Your AI Assistant?
Start giving your LLMs the power to host real, live static websites in seconds.

