PAPERS_BASE_URL explicitly: the current source CLI otherwise defaults to the development origin. Browser login uses OAuth. Alternatively, set PAPERS_API_KEY; an environment key takes precedence over saved login credentials.
Use command-specific --help for arguments.
Wait for an operation
Watch events
Local MCP
Usenode packages/cli/dist/index.js mcp as the stdio command and inherit PAPERS_BASE_URL plus your authentication environment. The adapter calls the REST API with the same permissions as the CLI.
Log out
node packages/cli/dist/index.js logout revokes saved OAuth credentials and removes the local file. It does not revoke an environment API key. Use API keys in the dashboard for that.