Blazing fast NVMe drives with unlimited IOPS now available. Read about PlanetScale Metal
Navigation

Model Context Protocol support

We have shipped Model Context Protocol (MCP) support, enabling seamless integration between PlanetScale databases and AI tools. This integration allows tools like Claude or Cursor to directly access read-only database information to answer your questions more intelligently.

We have two new CLI Commands you can use to get up and running

pscale mcp install --target claude # Installs PlanetScale MCP server in Claude Desktop
pscale mcp server                  # Enables Claude to perform read-only database interactions

Using this functionality allows you to interact with your PlanetScale organizations and databases right from your AI tooling. You can ask questions like "How many users do I have in North Carolina?" or "How many rows are in my messages table?" Claude or other tools will then be able to access road-only info from your PlanetScale account to give bespoke answers. You can get started using Claude or Cursor using the instructions below.

For Claude Desktop:

For Cursor:

{
  "mcpServers": {
    "planetscale": {
      "args": [
        "mcp",
        "server"
      ],
      "command": "pscale"
    }
  }
}

Other tools should accept a configuration similar to Cursor.