
PlanetScale
io.github.planetscalePublished by GitHub account planetscalev1.0.0Updated Nov 2, 2026
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
Overview
Hosted PlanetScale MCP server that lets an assistant inspect databases, branches and schema, review query insights, and run SQL.
- What you can do
- Connect to PlanetScale databases and browse their branches and schema
- Review query insights for database performance
- Execute SQL against PlanetScale databases
- Use additional tools generated from the PlanetScale API spec in the hosted server
- When to use it
- Useful when you work with PlanetScale-hosted MySQL databases and want an assistant to explore schema, check query insights, or run SQL without leaving the chat. The hosted endpoint is the intended path; the public repository only covers a subset of tools.
- Requirements
- A remote MCP endpoint at mcp.pscale.dev over streamable HTTP, with OAuth authentication required. No environment variables or headers are declared. A PlanetScale account with access to the relevant databases is implied by the OAuth flow.
Installation
In SourceWeft
- Open PlanetScale in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.planetscale%2Fmcp-server/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"planetscale": {
"type": "http",
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}README
PlanetScale MCP Server Tools
This repository contains tool implementations that are part of the PlanetScale MCP server.
The full hosted MCP server includes additional tools that are generated from the PlanetScale API OpenAPI spec, not every production tool lives in this repository.
Related docs
- Hosted server overview: PlanetScale MCP docs
- PlanetScale API OpenAPI spec: OpenAPI spec docs
Project scope
This repo is focused on:
- MCP tools we maintain directly in TypeScript
- shared helper code used by those tools
- local development and validation of the open-source portions
Some MCP functionality is intentionally not duplicated here because it is generated from the API spec and maintained in that generation pipeline.
Quick start
Install dependencies:
Build a deployment zip:
Push to Gram:
Testing locally
Run a local MCP server over stdio with inspector support:
This launches MCP Inspector so you can interactively test tool behavior during development.
Contributing
See CONTRIBUTING.md for contribution workflow and project conventions.
Source: README.md at commit 2911c85
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts