PassportConnect

Connect Claude Code to Passport

Paste this to your agent: Set up Passport from https://passportmcp.com/connect/claude-code

Set up Claude Code

Run this in a terminal on your computer. It adds Passport to Claude Code and turns on the guard, so commands like railway, gh, and psql follow your rules and land on the record.

npx passport-bridge@latest init

Needs Node.js 20 or newer. It shows its plan and changes nothing until you say yes, then tells you how to sign in.

Install the Passport plugin instead
claude plugin marketplace add rsyed94/passport-plugins
claude plugin install passport@passport-plugins

The plugin adds Passport plus its guard and audit hooks.

MCP only (no guard)

Claude Code gets your apps’ tools, but its shell commands, like railway, gh, and psql, aren’t checked against your rules or recorded.

claude mcp add --transport http passport https://passportmcp.com/mcp

Then run /mcp in Claude Code and sign in.

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 Claude Code to your workspace’s apps under one set of rules. Follow these steps to add it. This page is public and holds no secrets.

  1. 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.
  2. 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 Claude Code and turns on the guard, so Claude Code’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
  3. Or install the Passport plugin if the user prefers it. The plugin adds Passport plus its guard and audit hooks.
    claude plugin marketplace add rsyed94/passport-plugins
    claude plugin install passport@passport-plugins
  4. MCP only (no guard), if the user asks for it. Claude Code gets your apps’ tools, but its shell commands, like railway, gh, and psql, aren’t checked against your rules or recorded. Run Claude Code’s supported command. Then run /mcp in Claude Code and sign in.
    claude mcp add --transport http passport https://passportmcp.com/mcp
  5. Have the user complete browser sign-in in Claude Code. Passport holds the credentials; nothing is pasted into Claude Code. Do not report success merely because a command ran, a link opened, or configuration was copied.
  6. Verify in the agent’s list of MCP servers. After Passport is connected, in Claude Code, run /mcp, then ask: “List my available Passport tools.”
  7. 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.
  8. 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.