Getting Started
Make sure to first set up your PlanetScale developer environment. Once you’ve installed thepscale CLI, you can interact with PlanetScale and manage your databases straight from the command line.
The mcp command
Manage PlanetScale model context protocol (MCP) configuration. PlanetScale recommends the hosted MCP server:
Available sub-commands
The install sub-command
Usage:
Cursor — writes hosted MCP config to
~/.cursor/mcp.json when possible.
Claude Code and Zed — return action_required JSON with the command or docs URL to run (OAuth on first MCP use).
Available flags
Global flags
Examples
Install hosted MCP for Cursor
Command:Claude Code setup instructions
Command:action_required JSON with the claude mcp add command in next_steps.

