mindpocket
v1.0.1
Published
MindPocket CLI for agents and scripts
Maintainers
Readme
MindPocket CLI
MindPocket CLI is a JSON-first command line client for agents, scripts, and developers working with a MindPocket server.
Requirements
- Node.js 18 or newer
Install
npm install -g mindpocketOr with pnpm:
pnpm add -g mindpocketQuick Start
mindpocket version
mindpocket schema
mindpocket doctor
mindpocket --help
mindpocket config set server https://your-domain.com
mindpocket auth login
mindpocket user me
mindpocket bookmarks listLogin Flow
MindPocket CLI uses OAuth Device Authorization.
- Run
mindpocket auth login - Open the verification URL shown by the CLI
- Sign in to your MindPocket account
- Approve the device request
- Return to the terminal and continue using CLI commands
For remote shells or orchestrators:
mindpocket auth login --no-openkeeps the flow non-interactive on the local machinemindpocket auth login --device-code-onlyreturns the device flow payload without polling
Common Commands
mindpocket doctor
mindpocket schema
mindpocket ping
mindpocket auth --help
mindpocket config get
mindpocket user me
mindpocket bookmarks list --limit 10
mindpocket bookmarks create --url https://example.com
mindpocket folders list
mindpocket bookmarks update bk_123 --title Example
mindpocket bookmarks delete bk_123
mindpocket folders get folder_123Help for Agents
Every command provides structured --help output with:
- Summary
- Usage
- Arguments
- Options
- Auth requirements
- Output fields
- Examples
- Errors
Examples:
mindpocket --help
mindpocket auth --help
mindpocket bookmarks create --helpFor machine-readable command discovery, use:
mindpocket schema
mindpocket schema auth loginFor one-shot environment readiness checks, use:
mindpocket doctorUpgrade
npm install -g mindpocket@latestAdvanced agent users can also install the repository skill that wraps this CLI workflow guidance:
npx skills add https://github.com/jihe520/mindpocket --skill mindpocketFor local testing from a repository checkout:
npx skills add ./skills/mindpocketUninstall
npm uninstall -g mindpocket