PlanetScale

Official registry Data and databases

Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http planetscale 'https://mcp.pscale.dev/mcp/planetscale'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "planetscale": {
            "type": "http",
            "url": "https://mcp.pscale.dev/mcp/planetscale"
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. PlanetScale MCP Server Tools
  2. Related docs
  3. Project scope
  4. Quick start
  5. Testing locally
  6. Contributing

PlanetScale MCP Server Tools

This repository contains tool implementations that are part of the [PlanetScale MCP server][ps-mcp].

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.

  • Hosted server overview: [PlanetScale MCP docs][ps-mcp]
  • PlanetScale API OpenAPI spec: [OpenAPI spec docs][ps-openapi]

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:

pnpm install

Build a deployment zip:

pnpm build

Push to Gram:

pnpm push

Testing locally

Run a local MCP server over stdio with inspector support:

pnpm dev

This launches [MCP Inspector][mcp-inspector] so you can interactively test tool behavior during development.

Contributing

See CONTRIBUTING.md for contribution workflow and project conventions.

[mcp-inspector]: https://github.com/modelcontextprotocol/inspector [ps-mcp]: https://planetscale.com/docs/connect/mcp [ps-openapi]: https://planetscale.com/docs/api/openapi-spec

Frequently asked questions

What is PlanetScale?

Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

How do I install PlanetScale?

It runs as a remote server. In Claude Code: claude mcp add --transport http planetscale 'https://mcp.pscale.dev/mcp/planetscale'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does PlanetScale need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is PlanetScale open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Who maintains PlanetScale?

It is published by planetscale. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.