Connect Cursor
Cursor edits your site on your own computer, so it publishes from there. One link adds Birta to Cursor; nothing to install first.
1. Add Birta to Cursor in one click
Open this link and confirm the install Cursor offers. It writes the
birtaentry itself, so you do not type an address anywhere.You need Node.js 20 or newer. The package is fetched on first use, so there is nothing to install or update by hand.
2. Link did not open Cursor? Add it by hand
In Cursor, open Settings → Cursor Settings → Tools & MCP, then click New MCP Server. Cursor opens its
mcp.jsonfile: add abirtaentry so it looks like this, then save:{ "mcpServers": { "birta": { "command": "npx", "args": [ "-y", "@birta/cli", "mcp" ] } } }Prefer editing the file by hand? It lives at
~/.cursor/mcp.json(available in every project) or.cursor/mcp.jsonin a single project's folder. Paste the same JSON there.3. Ask it for something, then confirm
There is no sign-in step first. Ask Cursor 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 or with your Google account, and confirm access.
Then ask Cursor 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 login4. How it works
You never list files for Cursor. 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 reaches your site address while it works, which keeps serving the version you published last and shows nothing at all until the first one.
Cursor publishes the draft itself once it considers the work done — you do not have to give it the go-ahead. It comes back with two addresses: your site address, which is the live site, and that version's own address, where you mark what you want changed straight on the page.
Tell Cursor what to change, or leave remarks on the version's page and say you have — it changes the files on your computer, hands the folders over again and publishes the next version. 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.
Want to look before it goes live? Say so — ask Cursor for a draft first and it gives you the draft's own address and waits for your word. The draft keeps that address round after round, so you refresh the page you already have open.
5. Turn it on and check
Open Tools & MCP and make sure the birta server is enabled (toggle it on if needed). Then ask Cursor to list your Birta projects. If it can see them, the connection is ready.