Setup Wizard

Connect Claude Code, Cursor, VS Code and Windsurf to BookYourPTO with one command. The wizard finds your AI clients, adds the BookYourPTO server to each and never handles your password.

The BookYourPTO wizard is a small command-line tool that connects the AI assistants on your computer to BookYourPTO in one step. Run it, choose your clients, restart them, and ask your assistant about your time off.

npx -y @bookyourpto/wizard@latest mcp add

It needs Node.js 18 or later, which also provides npx. Nothing is installed permanently: npx downloads the wizard, runs it and leaves it in its cache.

When it finishes, each client you picked is connected to https://mcp.bookyourpto.com/mcp, and the first question you ask opens BookYourPTO's sign-in page in your browser.

How it works

  1. Looks for the AI clients installed on your computer (see Supported AI clients).
  2. Lists the ones it found and asks which to connect. Press Enter for all of them, or type numbers such as 1,3.
  3. Adds a server named bookyourpto to each chosen client's MCP settings. Only the server address is written.
  4. Backs up every settings file before changing it, and leaves all your other servers exactly as they were.
  5. For clients that are connected from inside the app rather than from a settings file, prints the steps to follow.
  6. Tells you to restart the clients. The first time one of them uses BookYourPTO, your browser opens so you can sign in, with two-factor authentication if your account has it.
The wizard never asks for, sees or stores a password, API key or token. You sign in on BookYourPTO's own website, and your AI client receives a token that only it holds. Through the connector you see exactly what you can see in BookYourPTO, with the same permissions.

Supported AI clients

ClientFound whenWhat the wizard does
Claude CodeThe claude command is installedRuns claude mcp add --transport http --scope user bookyourpto https://mcp.bookyourpto.com/mcp, so the server is available in every project
Cursor~/.cursor existsAdds bookyourpto to ~/.cursor/mcp.json
VS Code (GitHub Copilot)Your VS Code user settings folder existsAdds bookyourpto to your user mcp.json, available in every workspace
Windsurf~/.codeium/windsurf existsAdds bookyourpto to ~/.codeium/windsurf/mcp_config.json
Claude Desktop and claude.aiThe Claude desktop app is installed (macOS or Windows)Prints the in-app steps: Settings → Connectors → Add custom connector

ChatGPT and other clients that are set up in their own app are not changed by the wizard. Follow the steps for your client in Connecting.

Commands

Running npx @bookyourpto/wizard mcp add starts the setup. The wizard also has these commands:

CommandWhat it does
npx @bookyourpto/wizard mcp addConnect BookYourPTO to the clients you choose
npx @bookyourpto/wizard mcp statusShow which clients have BookYourPTO set up, and where
npx @bookyourpto/wizard mcp removeRemove BookYourPTO from the clients you choose
npx @bookyourpto/wizard --helpShow every command and option

Options

Options work with every command.

OptionWhat it does
--client <ids>Only these clients, comma-separated: claude-code, cursor, vscode, windsurf, claude-desktop. Skips the question
--allEvery client the wizard finds, without asking
--dry-runShow what would change, and change nothing
--url <url>Connect to a different server address, such as a self-hosted server. Must use https (plain http is allowed only for localhost)

For example, to connect only Cursor and VS Code without being asked:

npx -y @bookyourpto/wizard@latest mcp add --client cursor,vscode

When the wizard is not run in an interactive terminal (in a script, for example), it connects every client it finds, as if --all were given.

What it changes on your computer

  • Settings files. Only the bookyourpto entry is added, updated or removed. Before writing, the wizard copies the file to <file>.bak-<date and time> next to it, then saves the new version in one step, so an interrupted run never leaves a half-written file. Files it creates can be read only by you.
  • Claude Code. Changes go through Claude Code's own claude mcp command rather than editing its files directly. If BookYourPTO is already set up, the wizard replaces the entry so a new address takes effect.
  • Files it cannot read safely. If a settings file contains comments or is not plain JSON, the wizard leaves it untouched and prints the exact entry for you to add yourself.
  • Nothing else. The wizard sends no analytics and makes no network requests of its own. The only download is the wizard itself, fetched by npx.
If you pass --url with an address that is not mcp.bookyourpto.com, the wizard warns you before continuing. Only connect to a server you set up yourself: it receives everything your AI assistant sends it.

Troubleshooting

"No supported AI client was found on this computer"

The wizard looks for each client's settings folder. Open the client once so it creates them, then run the wizard again. You can also add the server by hand: see Connecting.

A client shows "not changed" and prints an entry

Its settings file has comments or is not plain JSON, so the wizard did not risk rewriting it. Paste the printed entry into the file yourself.

npx is not found

Install Node.js 18 or later from nodejs.org, open a new terminal, and run the command again.

The tools do not appear after setup

Restart the client completely. In Claude Code, run /mcp to see the server and start the sign-in. Then check Troubleshooting in Connecting.

Undoing it

Run npx @bookyourpto/wizard mcp remove, or restore the .bak- copy the wizard made next to the settings file.

Feedback

The wizard is open to everyone at npmjs.com/package/@bookyourpto/wizard. If a client you use is missing, or the wizard did something unexpected, email support@bookyourpto.com.