What happens after Claude Code finishes your website
Claude Code is a coding assistant that works in your terminal. Ask it for a website and it writes real files into a folder on your computer. When it says it is done, the site works on your machine. Nobody else can see it yet.
Where your website is right now
Claude Code writes your site as files: HTML pages, CSS, JavaScript and images, sometimes as a React or Vite project. If you open them in a browser, or run a local preview, they work. But a local preview is an address only your computer understands. To share it, the files have to be published somewhere that is always online.
The usual developer route
Developers normally push the folder to GitHub, connect it to a hosting platform, set up a build step, add a domain and wait for https. It is a good route if you already know it. If you do not, it is a lot to learn just to show someone a page.
The short route: ask Claude Code to publish
Publish with chat is a publishing and hosting service for websites made with AI. Add it to Claude Code once by running this in your terminal:
claude mcp add --transport http publish-with-chat https://api.publishwith.chat/mcp
Then, in the folder with your site, ask:
Publish this website with Publish with chat and give me the preview link.
Claude Code sends the finished files to us. We check them and send back a preview link to the real, published site. It is free and works for 48 hours. We have tested this preview step with Claude Code ourselves.
When you are happy, open the go-live link in your browser, sign in and subscribe (£14.99 a month). Your site goes online at its own address with https. Going live happens in the browser, the same as with every other AI tool.
If Claude Code made a React or Vite app
We publish finished files that run in the browser. A React or Vite project needs building first, which turns it into plain files in a folder usually called dist. Ask Claude Code to build the site and publish the built folder. If it uses a server, a database or logins, it will not work as a published site yet: those are not supported.
A few things to know
- Cookies and browser storage only work once the site is on a domain you own. On a publishedwith.chat address they are not allowed.
- A contact form can post to our built-in form address, which emails you the messages.
- To change the site later, ask Claude Code to make the change and publish again. Every version is kept.
- Other coding assistants that support the MCP standard, such as Cursor and Codex, may work the same way. We have not tested them yet, so we do not promise it. The AI tools page shows how to add it to each.