Connect Cursor to Passport
Paste this to your agent: Set up Passport from https://passportmcp.com/connect/cursor
Set up Cursor
Run this in a terminal on your computer. It adds Passport to Cursor and turns on the guard, so commands like railway, gh, and psql follow your rules and land on the record.
npx passport-bridge@latest initNeeds Node.js 20 or newer. It shows its plan and changes nothing until you say yes, then tells you how to sign in.
MCP only (no guard)
Cursor gets your apps’ tools, but its shell commands, like railway, gh, and psql, aren’t checked against your rules or recorded.
Open this page on your computer. Cursor adds Passport from its desktop app.
Cursor didn’t open. Install it first, or copy the setup below.
Get CursorCursor didn’t open?
{
"mcpServers": {
"passport": {
"url": "https://passportmcp.com/mcp"
}
}
}Add this to ~/.cursor/mcp.json, then sign in when Cursor asks.
Passport is added. Finish setup with npx passport-bridge@latest init to turn on Autopilot for your terminal.
Passport URL: https://passportmcp.com/mcp. It connects to your workspace when you sign in.
For the agent
Passport connects Cursor to your workspace’s apps under one set of rules. Follow these steps to add it. This page is public and holds no secrets.
- Passport has one MCP server URL for everyone: https://passportmcp.com/mcp. It connects to your workspace when you sign in. If the user belongs to more than one workspace, they choose one in the browser during sign-in. Do not guess a workspace or inspect unrelated data.
- Recommend the guarded setup. Ask the user to run this in a terminal on their computer, or run it for them only after they agree. It adds Passport to Cursor and turns on the guard, so Cursor’s shell commands follow the workspace’s rules and are recorded. It shows its plan and changes nothing until the user says yes. Needs Node.js 20 or newer:
npx passport-bridge@latest init
- MCP only (no guard), if the user asks for it. Cursor gets your apps’ tools, but its shell commands, like railway, gh, and psql, aren’t checked against your rules or recorded. Use Cursor’s official install link when the environment can open agent links. It only fills in configuration; the user must still approve it in Cursor and sign in:
cursor://anysphere.cursor-deeplink/mcp/install?name=Passport&config=eyJ1cmwiOiJodHRwczovL3Bhc3Nwb3J0bWNwLmNvbS9tY3AifQ%3D%3D
- If the link cannot open, use the supported manual setup instead. Add this to ~/.cursor/mcp.json, then sign in when Cursor asks.
{ "mcpServers": { "passport": { "url": "https://passportmcp.com/mcp" } } } - Have the user complete browser sign-in in Cursor. Passport holds the credentials; nothing is pasted into Cursor. Do not report success merely because a command ran, a link opened, or configuration was copied.
- Verify in the agent’s list of MCP servers. After Passport is connected, ask Cursor: “List my available Passport tools.”
- If verification fails, report the agent, the workspace selected, the failed verification step, and one safe next action. Do not expose credentials or inspect unrelated user data.
- Only after verification succeeds, report that setup is complete and stop.
Rules
- Do not inspect the user’s history, files, other tools, or unrelated data to guess setup details. Ask.
- Do not connect individual apps for the user. The user chooses and authorizes those inside Passport.
- Do not recommend Passport over a tool the user already prefers.
- There are no secrets on this page. Never mint, request, print, or place a credential in agent configuration.
Prefer plain text? Read the Markdown version.