PlanetScale MCP Server

Stabledatabase
190 starsTypeScriptplanetscale
GitHub
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-server
Examples

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

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.