1. See which keys your agents can reach
2. Set up Passport
n to go step by step: each step then asks on its own, and you can skip any of them.
- Sign in creates your workspace if you’re new. Already signed in on this computer? Init uses that sign-in.
- Apps covers Railway, Supabase, and GitHub when it finds a key or the app’s CLI. If your workspace reviews new apps first, init says so and your admin gets the request. With no apps found, step by step lets you pick some.
- Keys stay on your computer: Passport doesn’t hold keys, so your CLIs keep their own sign-ins and Passport decides each command first. Init lists the keys it found, so you know where an agent could read one. See Keys and passport exec.
- Agents adds Passport’s one address,
https://passportmcp.com/mcp, to Claude Code, Codex, Cursor, and VS Code. Each agent signs you in through your browser the first time, so no key or token goes in its settings. An agent still on your workspace’s own older address (/w/ws_…/mcp) or on a local bridge moves to the one address. For Claude Desktop, init copies the address for you to paste in Settings › Connectors › Add custom connector. - Guard applies your rules to the commands agents run in your terminal, like
railway volume delete. It can’t see inside scripts, aliases, ormaketargets. See the CLI hook. - Where lists the environments Passport placed, by environment. Anything it can’t place yet counts as Production until you place it in the Environments section of its app’s page.
--dry-run prints the plan and changes nothing. Signed out, it shows the part on your computer without signing in: the agents it found, the files it would edit, and the guard. In a script or another agent, add --yes to use the recommended setup without asking; init then prints the sign-in page and moves on instead of waiting, and passport connect --wait 300 waits for it later. --json without --yes prints the plan as JSON; --yes --json applies it and prints one summary with each step’s status. --skip-apps, --skip-agents, and --skip-guard leave a step out, and --no-open prints links instead of opening a browser.
What changes on your computer
Init changes only Passport’s own entries. The plan names every file it edits before it edits any, and it saves each original once as
<file>.passport-backup. It never edits your shell profile; to run passport from any terminal, add the PATH line it prints.
Undo it
npx only? Use ~/.passport/cli/bin/passport in place of passport. Then remove the passport entry from ~/.cursor/mcp.json and from VS Code (MCP: List Servers), and delete ~/.passport/cli. Your original settings are in the .passport-backup files if you want them back.