Skip to main content

PlanetScale

PlanetScale from the command line

Databases, branches, schemas and query insights.

Get Tools, $19 a month

One price for one person, for every application you connect. Cancel any time.

PlanetScale in the terminal

PlanetScale runs managed MySQL and Postgres databases. Connected to a workspace, GBrain can answer “what are the slowest queries this week?”, compare the schema on two branches, or run a read-only query to check a number.

The connection only reads.

  • List organizations and databases
  • Look up branches and schemas
  • Run read-only queries
  • Read query insights

Install the CLI, then connect PlanetScale

PlanetScale is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# Install the CLI
curl -sSL https://gbrainio.terminalwire.sh | bash

# Set the terminal up and connect it
gbrainio terminal connect

# What PlanetScale is, and each of its commands once it is connected
gbrainio tool help planetscale

The installer is a shell script for macOS and Linux. Read it before you run it.

PlanetScale's commands come from PlanetScale's own server once it is connected, so none are listed here.

Same tools, any AI

Claude Code, Cursor and Codex reach the same PlanetScale through MCP, on the same permission and the same record.

GBrain over MCP

How the whole thing fits

One level per application, one daily limit, one record, across every AI and terminal that asks.

Tools

PlanetScale from a terminal, with GBrain Tools

Tools is $19 a month for one person. Get Tools, connect PlanetScale in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.