Cloud provider
Connect your PlanetScale organization to give agents visibility into your databases and branches. Agents can track schema changes, monitor branch state, and correlate database activity with the rest of your infrastructure.

Connect

Connect PlanetScale from the terminal. Pass --help for the flags PlanetScale accepts, plus --no-browser for headless environments.

Terminal
polylane cloud connect --provider planetscale

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what PlanetScale's API lets it remove. The following stays until you remove it yourself:

  • OAuth grant
Terminal
polylane cloud disconnect <id>

Tools

2

Operations agents can perform in threads.

planetscaleApi
Call any PlanetScale REST API endpoint that lacks a dedicated tool
planetscaleGetQueryInsights
Get PlanetScale Query Insights for a database branch: top queries, query errors, or latency anomalies

Supported resources

2

Resource types that show up in your infrastructure graph.

Database
Database Branch