Connect PlanetScale to Your AI Agent

Use AI with PlanetScale to inspect organizations and databases, review branches and create a specified development branch.

10 tools API key

Try a PlanetScale Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill PlanetScale

Review Database Inventory

List databases and read the selected database’s metadata.

/oo PlanetScale: List databases in organization [name], get database [name] and summarize its returned configuration.

Create a Development Branch

Inspect current branches and create a named branch from a selected parent.

/oo PlanetScale: List branches in [organization]/[database], then create branch [name] from parent [parent branch].

Start Working with PlanetScale

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect PlanetScale

    Provide the paired PlanetScale Service Token and Service Token ID.

    Connect PlanetScale →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A PlanetScale organization with service-token permissions for the intended database operations.
  • Specify organization and database names. Creating a database also requires a cluster size; branch actions manage database branches rather than Git branches.

PlanetScale Tools

Use AI with PlanetScale to inspect organizations and databases, review branches and create a specified development branch.

Review Database Inventory

List databases and read the selected database’s metadata.

Create a Development Branch

Inspect current branches and create a named branch from a selected parent.

10 tools

List Organizations

List PlanetScale organizations available to the connected service token.

planetscale.list_organizations

Get Organization

Get one PlanetScale organization by name.

planetscale.get_organization

List Databases

List databases in a PlanetScale organization.

planetscale.list_databases

Get Database

Get one PlanetScale database by organization and database name.

planetscale.get_database

Create Database

Create a MySQL or PostgreSQL database in a PlanetScale organization.

planetscale.create_database

Delete Database

Delete a PlanetScale database.

planetscale.delete_database

List Branches

List branches in a PlanetScale database.

planetscale.list_branches

Get Branch

Get one PlanetScale database branch.

planetscale.get_branch

Create Branch

Create a branch in a PlanetScale database.

planetscale.create_branch

Delete Branch

Delete a PlanetScale database branch, optionally including descendants.

planetscale.delete_branch

Frequently Asked Questions

Are these Git branches?

No. They are PlanetScale database branches identified within an organization and database.

What does database creation require?

Provide the organization, database name and clusterSize, with kind and region where desired.

What should I specify in my request?

Specify organization and database names. Creating a database also requires a cluster size; branch actions manage database branches rather than Git branches.

Connect PlanetScale

About PlanetScale ↗