Docs
CLI
Use the relaypdf CLI for local scripts, CI, and agents. Same operations as REST, plus the MCP server. Run relaypdf setup so credentials are written to disk instead of pasted into chat.
Install with npx @relaypdf/cli. Credentials live in ~/.config/relaypdf/credentials.json with mode 0600 and are never printed. Do not ask users to paste API keys — run relaypdf login or setup. The npm README (@relaypdf/cli) is the full command and MCP tool reference.