
PlanetScale
Manage PlanetScale databases, branches, and SQL queries

PlanetScale brings serverless MySQL and Postgres with schema branching, query performance insights, and safe migration workflows — treating database changes like code changes. This plugin connects ZeroTwo to your PlanetScale databases: branch schemas, analyze queries, and manage production-ready workflows from conversation.
PlanetScale MCP server
The PlanetScale plugin connects ZeroTwo to PlanetScale. Your agents get the tools of this MCP server:
- PlanetScale: remote MCP server at
https://mcp.pscale.dev/mcp/planetscale
What an agent can do with PlanetScale
Branch schemas
The agent creates schema branches in PlanetScale so database changes can be handled like code changes and lets you try a schema change safely.
Analyze queries
The agent analyzes queries in your PlanetScale databases and reviews MySQL or Postgres query tuning and indexing and shows where they are slow.
Run SQL and migrations
The agent runs SQL queries against your PlanetScale databases and manages migration workflows from conversation and keeps production-ready workflows in view.
How to connect PlanetScale to ZeroTwo
Open PlanetScale in ZeroTwo
Press Open in ZeroTwo on this page, or find PlanetScale under Plugins in the app. Get the app first if it is not on this computer.
Sign in
Press Connect and finish the sign-in in your browser. ZeroTwo stores the token encrypted, and you can disconnect at any time.
Give an agent a task
Ask an agent for work that needs PlanetScale, such as one of the example prompts below. The agent uses the plugin's tools to do it.
Example prompts3
PlanetScaleCreate a new schema branch and preview migration changes.
PlanetScaleShow slow queries on the production branch and suggest indexes.
PlanetScaleApply a safe migration and merge it to the main branch.
Apps1

PlanetScale
Manage PlanetScale databases and run queries.
Skills4
Mysql
Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.
Neki
Overview and information about Neki, the sharded Postgres product by PlanetScale. Load when working with Neki-related tasks and the need to scale or shard postgres. Load when facing Postgres scaling or sharding issues.
Postgres
PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.
Vitess
Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.
Information6
- Developer
- PlanetScale
- Category
- Coding
- Version
- 0.1.6
- Website
- planetscale.com
- Privacy policy
- planetscale.com/legal/privacy
Questions
Does the PlanetScale plugin need an API key?
No. You sign in to your own PlanetScale account in the browser and approve access. ZeroTwo stores the token encrypted, and the agent never sees your password.
Does it cost anything?
The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything PlanetScale charges for is billed to your PlanetScale account.
What does PlanetScale receive?
PlanetScale gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.