Aerostack
electrical_services

PlanetScale MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Execute queries, inspect schemas, and manage deploy requests on PlanetScale MySQL databases.

aerostack @aerostack verified
v0.1.0 MIT Updated Jun 28, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "planetscale": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-planetscale",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+2 more

Natural Language Prompt

“Use the _ping tool to verify planetscale credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

description Overview

mcp-planetscale — PlanetScale MCP Server

Manage MySQL databases, branches, and deploy requests on PlanetScale from your AI agents.

PlanetScale is the serverless MySQL platform built for scale, with Git-style branching for schema changes. This MCP server exposes PlanetScale's management API — letting your AI agents list databases, inspect branches, create feature branches for schema work, and manage deploy requests to promote changes to production safely.

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-planetscale


What You Can Do

  • List all databases in your PlanetScale organization and inspect branch status without using the PlanetScale dashboard
  • Create feature branches for schema changes as part of a database migration workflow
  • List and create deploy requests to promote schema changes through the safe deploy pipeline
  • Monitor branch state to confirm migrations have completed before triggering downstream steps

Available Tools

Tool Description
list_databases List all databases in an organization
get_database Get details of a specific database
list_branches List branches of a database
get_branch Get details of a specific branch
create_branch Create a new branch from a parent branch
list_deploy_requests List deploy requests for a database
create_deploy_request Create a deploy request to merge schema changes

Configuration

Variable Required Description How to Get
PLANETSCALE_TOKEN Yes PlanetScale service token in {id}:{token} format app.planetscale.com → Your Organization → SettingsService tokensNew service token → grant database access permissions → copy both the token ID and token value, format as id:token

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "PlanetScale" and click Add to Workspace
  3. Add your PLANETSCALE_TOKEN under Project → Secrets

Once added, every AI agent in your workspace can call PlanetScale tools automatically — no per-user setup needed.

Example Prompts
"List all databases in my PlanetScale organization and show their branch counts"
"Create a new branch called add-user-preferences from the main branch of my app-db database"
"Show me all open deploy requests for the app-db database"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-planetscale \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-PLANETSCALE-TOKEN: your-token-id:your-token' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_databases","arguments":{"org":"my-org"}}}'

License

MIT

terminal Tools (8)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
_ping #1

Verify PlanetScale credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.

terminal
list_databases #2

List all databases in a PlanetScale organization

terminal
get_database #3

Get details of a specific PlanetScale database

terminal
list_branches #4

List branches of a PlanetScale database

terminal
get_branch #5

Get details of a specific database branch

terminal
create_branch #6

Create a new branch from a parent branch in a PlanetScale database

terminal
list_deploy_requests #7

List deploy requests for a PlanetScale database

terminal
create_deploy_request #8

Create a deploy request to merge schema changes from one branch into another

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 8

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-planetscale

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the PlanetScale MCP server and what can it do? +

The PlanetScale MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_databases`, `get_database`, `list_branches`, `get_branch`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the PlanetScale MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the PlanetScale MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same PlanetScale MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the PlanetScale MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-planetscale": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-planetscale"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the PlanetScale MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-planetscale", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-planetscale"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does PlanetScale MCP require authentication? +

Yes. PlanetScale requires authentication. Check the MCP's documentation for the required credentials.