Authorize The CLI With A Browser Approval Flow
The CLI uses a short-lived browser approval flow. Approve only requests you initiated from webcull login; approval creates a separate scoped CLI token.
Where Your Access Token Is Stored
CLI sign-in is separate from browser and extension sign-in. Each connected account gets its own access token, which your computer keeps in protected password storage. The CLI settings file lists your connected accounts but never contains their tokens.
Start Login And Verify The Account
webcull login
webcull accounts
webcull whoami --account <account-hash>
webcull loginwebcull accountswebcull whoami --account <account-hash>Keep Several Accounts Logged In At The Same Time
Each successful login adds another local CLI authorization. Every account command requires --account <hash|id>, even when only one account is authorized. There is no default or last-used account selection.
MCP follows the same explicit-account rule. Agents pass the account hash on every request: --account <account-hash> in the CLI or account in an MCP tool call.
webcull accounts
webcull bookmarks count --account abc123 --path /
webcull bookmarks search --account abc123 --query 'project notes' --limit 20
{
"success": "true",
"accounts": [
{
"number": 1,
"user": {
"id": 42,
"hash": "abc123",
"name": "Personal",
"email": "[email protected]"
}
}
]
}
Agent selection
Agents should run webcull accounts at the start of a new WebCull context. With one account they use its hash automatically. With several accounts they show a numbered list, ask which account applies, and include that hash on every later command.
Choose The Account Before Revoking Access
webcull logout --account abc123
webcull logout --account abc123 --local-only
Logout requires --account <hash|id> in both interactive terminals and scripts, including with --local-only. Without it, the command returns account_selection_required before accessing credentials or contacting WebCull. Run webcull accounts to find the intended hash.
Normal logout revokes the selected server token before removing its local credential. Use --local-only only when WebCull cannot be reached and you still need to remove access from this device. It removes the selected local credential without revoking the server token, which may remain usable until it expires.
Read The Account Response
{
"success": "true",
"user": {
"id": 42,
"hash": "abc123abc123abc123abc123abc123",
"email": "[email protected]"
},
"scopes": ["bookmarks:read", "bookmarks:write"],
"expires": 1781300000
}
Use scopes to confirm what this token can do. Read commands require bookmarks:read. Create, update, reminder create, and reminder cancel require bookmarks:write.