Documentation
CLI
The pluto CLI exposes the shared actions as commands and prints action results as JSON. It talks to the cloud server, not directly to browser storage.
Installation
Install the CLI from npm:
npm install -g @pluto-app/cli
The package provides the pluto command. You can also run it without a global install:
npx @pluto-app/cli --help
Sign in
pluto login
pluto whoami
Login opens your browser to authorize the CLI. Use pluto login --no-browser to print the link instead, or pluto login --token YOUR_TOKEN to use a personal access token from Settings.
The CLI saves credentials in ~/.config/pluto/credentials.json by default, with permissions limited to your user. pluto logout removes the saved credentials and revokes a saved browser-login grant.
Read and change a workspace
pluto workspaces list
pluto canvases get --workspace-id YOUR_WORKSPACE_ID --canvas-id root
pluto cards create --workspace-id YOUR_WORKSPACE_ID --canvas-id root --label "New card"
Action groups become command groups: cards.create becomes pluto cards create. Input fields become kebab-case flags: workspaceId becomes --workspace-id.
Use --help on a command to see its flags. For structured input, use --json with the whole input object. Individual flags override values in that object.
pluto cards create --json '{"workspaceId":"YOUR_WORKSPACE_ID","canvasId":"root","label":"New card","text":"Notes and details."}'
Use in scripts
Use PLUTO_TOKEN to supply a token without saving it. Keep it in your environment or secret store rather than committing it to a script.
For a command-started MCP server, use pluto mcp. For all action commands and their input schemas, see the action reference.