Connect Claude Code
Claude Code builds your site on your own computer, so it publishes from there. One command adds Birta; nothing to install first.
1. Add Birta to Claude Code
Run this in your terminal:
claude mcp add birta -- npx -y @birta/cli mcpThat adds Birta to the current project. To use it in every project instead:
claude mcp add --scope user birta -- npx -y @birta/cli mcpYou need Node.js 20 or newer. The package is fetched on first use, so you do not install it yourself, and updates come the same way.
2. Ask it for something, then confirm
There is no sign-in step first. Ask Claude Code to make you a site or to list your Birta projects. The first request comes back with a link (and a short code) instead of a result — open the link, sign in with the one-time code sent to your email, and confirm access.
Then ask Claude Code again — the request that was refused runs once access is confirmed. This installation stays authorized afterwards: there is no key to copy and nothing to paste back.
Prefer to get it out of the way first? This command shows the same link and waits for your confirmation:
npx -y @birta/cli login3. How it works
You never list files for Claude Code. It names two folders on your computer — your project and, if the site is built, the built site — and hands them over as they are. They go into your site's draft: nothing on your live site changes, and visitors keep seeing the version you published last.
Claude Code then gives you the draft's own address. Open it, and mark what you want changed straight on the page. Tell Claude Code you have left remarks, it makes the changes on your computer and hands the folders over again — the draft keeps the same address, so you just refresh the page you already have open.
Go round as many times as you like. When it looks right, say so — Claude Code publishes the draft, and only then does your site address start serving it. If a check fails, nothing is published: you are told everything that is in the way at once, and the draft stays as it was.
4. Check that it works
Ask Claude Code to list your Birta projects. If it can see them, the connection is ready and you can ask it to publish or update a site.