Set it up
- 1
Turn on CLI in your AI
In Claude: open Settings → Connectors and add CLI. In ChatGPT: Settings → Apps & Connectors.
- 2
You're connected
That's it — CLI is ready to use.
- 3
Just ask
Tell it what you want in plain words — no special commands.
About
The PlanetScale CLI includes an MCP server that provides AI tools direct access to your PlanetScale databases.
Workflows That Use CLI MCP
Recommended recipe
Query any database with Claude (no SQL reflex needed)Point Claude at Postgres, MongoDB, Redis, SQLite or a managed cloud DB and ask questions in plain language.
FAQ
What does CLI MCP do? +
The PlanetScale CLI includes an MCP server that provides AI tools direct access to your PlanetScale databases.
Do I need to know how to code? +
No. Turn it on in your AI's settings and ask in plain English — no terminal, no coding.