About
Overview
The PlanetScale MCP Server provides tools for managing PlanetScale's serverless MySQL-compatible database platform. AI agents can create and manage database branches, execute queries, create deploy requests for schema changes, and monitor database performance. Leverages PlanetScale's unique branching and non-blocking schema change features.
Capabilities
Tools & Capabilities
⚡query
Execute a SQL query against a PlanetScale database branch
⚡list_databases
List all PlanetScale databases
⚡list_branches
List branches for a database
⚡create_branch
Create a new database branch
⚡create_deploy_request
Create a deploy request to apply schema changes
⚡get_schema
Get the current schema for a branch
Setup
Installation
bash
Install
npx -y @planetscale/mcp-serverExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"planetscale": {
"command": "npx",
"args": ["-y", "@planetscale/mcp-server"],
"env": {
"PLANETSCALE_TOKEN": "your-token",
"PLANETSCALE_ORG": "your-org"
}
}
}
}Quick Info
Authorplanetscale
LanguageTypeScript
StatusStable
Stars★ 190
Last UpdatedFeb 12, 2026