passport-agent
v0.5.0
Published
CLI for Passport - let any agent runtime borrow short-lived access to your services
Maintainers
Readme
passport-agent
CLI for Passport: let any agent runtime borrow short-lived access to your services.
npx passport-agent claim --server https://passportt.vercel.app # prints a code, you approve in the browser
npx passport-agent run -- claude # tokens (or proxy env) injected
npx passport-agent fetch github /user # call an API through the proxy
npx passport-agent install claude-code # add the MCP server to Claude Code, Cursor, VS Code, Windsurf
npx passport-agent mcp # MCP server: list_access, get_credentials, fetch
npx passport-agent status | renew | logout
npx passport-agent login && npx passport-agent connect stripe # add API keys from the terminal
npx passport-agent import .env # move the keys you already have into Passport
npx passport-agent subpass "test runner" --read-only --ttl 20m # a narrower pass for a helper agentInside GitHub Actions, GitLab CI or Vercel, claim attests with the platform's OIDC token and needs no human when an auto-approve rule matches.
run also registers a git credential helper when the pass includes GitHub or GitLab, so git push inside the command fetches a fresh token each time. Outside run: git config credential.helper '!passport git-credential'.
