Agent setup prompt
Official bootstrap instructions for AI agents — install skills, configure MCP, and authenticate the CLI. Fetch as Markdown for agent sessions:Agent setup prompt
Copy or fetch the Markdown export (
https://planetscale.com/docs/agent-setup/prompt.md on production)pscale 0.292.0+), agents can also run:
brew upgrade pscale if agent-guide is unknown.
See CLI agent-guide for the JSON response fields.
PlanetScale MCP Server
Authenticated MCP servers allow your AI tools to access information specific to your PlanetScale account. Access your PlanetScale organizations, databases, branches, schema, and Insights data from within your development tools. The hosted MCP server can be installed in development tools as well as other MCP-accessible tools like Claude in the web browser and desktop app.PlanetScale MCP Server
Install in Claude Code, Cursor, VS Code and more
Automated Database Optimization
Use the MCP server with AI coding agents to continuously optimize your database. Agents can review production Insights data and Schema Recommendations, then open pull requests with performance improvements — on a recurring schedule.Self-improving database
Set up automated agents that optimize your database daily
PlanetScale Skills
Operational workflows for agents — read-only assessment, safety review, Insights analysis, schema recommendations, Traffic Control, and change gates — live in the public skills pack:planetscale/skills
Install assessment and automation skills for Cursor, Claude Code, and more
14-pscale-cli-automation for CLI conventions and 00-safe-orchestrator for a full PlanetScale assessment. See the skills README for usage and the Class A–E safety model.

