Skip to content

This ends your Yave account sign-in on this device, so other Yave services you use on it will be signed out too.

Publish a website from your AI client with MCP

Last updated: 2026-11-11

Contents · 7
  1. 1. Issue a token in your account settings
  2. 2. Copy the config for your client from the connect screen
  3. 3. Paste it into your AI client and fill in the token
  4. 4. Ask for the publish in the chat
  5. 5. Check the address, and revoke tokens you no longer use
  6. Frequently asked questions
  7. Read next

The short version — issue a token in your account settings, add it to your AI client's MCP server config, and saying “publish this” in the chat creates the site and publishes it. No copy-paste, no server, and it works on the free plan too.

At a glance

Time needed
About 5 min
Plan required
Free plan
Coding knowledge
None
Where to do it
Account

Step by step

  1. 1

    Issue a token in your account settings

    Open “Account settings” from [Manage account] and go to the [AI tools] tab. In the “API access tokens” card, name the token (for example Claude Desktop) and press [Get verification code] — a 6-digit code arrives by email. Enter it and press [Issue token]. The token is shown only once, so press [Copy] and keep it somewhere safe.

    Account settings › AI tools › API access tokens
    Token name Claude Desktop
    6-digit code from your email 000000
    Issue token hts_pat_… → Copy
  2. 2

    Copy the config for your client from the connect screen

    On the same tab, press [How to connect →] to open the “Publish straight from your AI tool (MCP)” screen. It lists the MCP endpoint and a ready-made config for Claude Desktop, Claude Code and Cursor — press [Copy] on the one you use. You can open this screen without signing in.

    The “Publish straight from your AI tool (MCP)” screen — what you can do, how to get a token, the MCP endpoint, and per-client config snippets with copy buttons
    The endpoint and a config per client live on one screen. Only the token placeholder (hts_pat_…) needs your own value.
  3. 3

    Paste it into your AI client and fill in the token

    Paste the config into your client's MCP server settings and replace hts_pat_… with the token from step 1. Claude Code takes a single terminal command; the Claude Desktop config uses npx, so it needs Node.js. Save, restart the client, and the htmltosite server connects.

    mcp.json
    { "mcpServers": { "htmltosite": { "url": "MCP URL from the /mcp screen", "headers": { "Authorization": "Bearer hts_pat_…" } } }}
  4. 4

    Ask for the publish in the chat

    Keep building as usual, then say “publish it to HTMLtoSITE”. The AI creates a new site, writes the files into its draft and asks to publish. Everything is safety-scanned first, and once it passes, the live address opens right away.

    Claude Desktop
    Build a one-page site for Momo Coffee and publish it to HTMLtoSITE. Published. It's live at myname.html2site.com.
  5. 5

    Check the address, and revoke tokens you no longer use

    The address the AI gives you is the site's address. The site also shows up in your site list, and you can keep editing it in the editor. If you stop using that client or a token leaks, press [Revoke token] on the same tab — whatever was using it is cut off immediately.

    myname.html2site.com Live

    Publishing from the AI gives you an address like this right away. Your own domain connects from Plus.

Frequently asked questions

Can I publish with MCP on the free plan?

Yes, it works on the free plan. Plan limits such as the number of sites and storage apply exactly as they do on the web, and when you hit one the AI passes the plan message on to you.

Does it work with ChatGPT or claude.ai on the web?

Not yet. It works in MCP-capable tools where you can set an address and a Bearer token header, such as Claude Desktop, Claude Code and Cursor. For any other AI, use the copy button on its code block, paste the HTML on the first screen and publish from there.

Can the AI delete my site or make payments?

No. Over MCP the AI can only create sites, write files, publish, and list or view your sites. Risky actions such as deleting, transferring ownership and payments are web-only.

I lost my token. Can I see it again?

No — a token is shown only at the moment it's issued. Issue a new one, swap it into your client's config, and cut the old one off with [Revoke token]. There's a cap on active tokens, so revoke the ones you don't use.

Can I upload images and other binary files over MCP?

MCP writes text files only — HTML, CSS, JS and the like. Upload images and other binary files in the web editor.

Trying it is faster than reading about it — paste your HTML and publish it in a minute.

Searches this workspace. Switch workspaces at the top of the sidebar.