pscale CLI improvements for AI agents
The pscale CLI now has first-class support for AI agents and automation. Version 0.292.0 and later include:
pscale sql: run a single query against a database branch without an interactive shell. It defaults to a read-only role, and destructive statements (DELETE,DROP,TRUNCATE) are blocked unless re-run with--forceafter explicit approval.pscale agent-guide: a machine-readable bootstrap for agents: covering CLI conventions, the hosted MCP server, and the PlanetScale skills pack.- Structured auth onboarding:
pscale auth checkandpscale auth loginwith--format jsonreturnstatus,issues, andnext_steps, so agents can detect and recover from missing credentials or org setup without human-oriented prompts.
To get started, use our copy-paste agent setup prompt.