Execute queries, inspect schemas, and manage deploy requests on PlanetScale MySQL databases.
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.
{
"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:
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.
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
| 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 |
| Variable | Required | Description | How to Get |
|---|---|---|---|
PLANETSCALE_TOKEN | Yes | PlanetScale service token in {id}:{token} format | app.planetscale.com → Your Organization → Settings → Service tokens → New service token → grant database access permissions → copy both the token ID and token value, format as id:token |
PLANETSCALE_TOKEN under Project → SecretsOnce added, every AI agent in your workspace can call PlanetScale tools automatically — no per-user setup needed.
"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"
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"}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-planetscale
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Yes. The Planetscale MCP includes a create_branch tool that lets Claude create branches in your Planetscale account from a plain-English prompt. You can also update and delete branches — no Planetscale UI needed.
Yes. The Planetscale MCP includes tools to list and retrieve databases from your Planetscale account. Claude can filter, sort, and summarize databases based on your instructions.
Yes. The Planetscale MCP uses the open Model Context Protocol standard, so it works in Claude, Cursor, Windsurf, and any other MCP-compatible AI tool. All 7 Planetscale tools are available everywhere you connect it — install once on Aerostack.
Yes. Aerostack hosts the Planetscale MCP with encrypted credential storage and per-account authentication. Your Planetscale credentials are never shared with Claude's conversation — they're used server-side only.