• PROVISION
  • INSPECT
  • ORG
  • MANUAL

How to provision new MySQL databases with your AI

Connect PlanetScale to your agent and start managing database instances through chat. Your AI handles the heavy lifting of provisioning and configuration.

Ask AI about this page

Short answer

Can I use my AI to create PlanetScale databases?

Yes. You can direct your agent to find your organizations and create new Vitess-backed database instances on demand. This allows you to manage your database lifecycle without touching the PlanetScale dashboard.

Where every action lands.

Database management outcomes

Your agent moves between these states as it executes your requests.

PROVISION

New database instances

The AI uses the connector to spin up a fresh database. You get a ready-to-use instance immediately.

INSPECT

Database configuration

Your agent pulls specific details about existing databases. You get the exact specs and settings you need.

ORG

Account visibility

The AI identifies your available organizations. This ensures it targets the right account for new builds.

MANUAL

Human oversight

You decide when to approve a new creation. The AI won't run a provisioning command without your go-ahead.

The workflow

What your AI does when a request arrives.

The agent follows a logical path from identifying your account to delivering a new database.

  1. Identify target account

    The agent first looks up your PlanetScale organizations to find where the database should live.

    list_organizations
  2. Create the instance

    Once the account is identified, the agent triggers the creation of the new database.

    create_database
  3. Verify the setup

    The agent checks the newly created database to confirm it is active and correctly configured.

    get_database
  4. Report status

    The agent provides you with the connection details or confirmation that the task is complete.

    get_database

Try it

Copy these to start.

Use these prompts to kick off your first task.

Starting points

Swap out the organization names or database names for your actual PlanetScale identifiers.

PlanetScale Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Cj1wlp2M7NG4xG8y4bWLeF2TWX2ttuftARXCdWYR/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PlanetScale capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "planetscale-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Cj1wlp2M7NG4xG8y4bWLeF2TWX2ttuftARXCdWYR/mcp"
    }
  }
}
Copy into chat04
  • List my PlanetScale organizations so I can see where to work.

  • Create a new database named 'production_logs' in my primary organization.

  • Get the details for the 'user_auth' database to check its current status.

  • Find my organization and tell me if the 'staging_db' exists.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PlanetScale once, then ask.

Just link your account via Vinkius. Your credentials stay encrypted, and you can start prompting your agent immediately.

Connect PlanetScale to your AI

FAQ

How the PlanetScale MCP behaves

  • 01

    Can my AI delete databases?

    No. The current tools only allow for listing, creating, and getting database information. Deletion must be done manually.

  • 02

    Does the AI manage my billing?

    No. The agent can only interact with database instances and organizations through the provided tools.

  • 03

    Can I create multiple databases at once?

    You can ask the agent to create them one by one, and it will execute the creation command for each request.

  • 04

    Will the AI automatically pick an organization?

    The agent will list your organizations first so you can specify which one to use for a new database.

  • 05

    Can the AI change database settings after creation?

    No. The tools are limited to creation and retrieval. You'll need to use the PlanetScale dashboard for configuration changes.

  • More questions about PlanetScale? The Connector page answers them. See everything the PlanetScale Connector can do

Connect PlanetScale to Claude, Cursor, ChatGPT & more