Tools
| Name | Description |
|---|---|
validate_connectionValidate PlanetScale service token access by listing organization databases. | Validate PlanetScale service token access by listing organization databases. |
list_databasesList all databases in an organization | List all databases in an organization |
get_databaseGet one PlanetScale database by organization and database name. | Get one PlanetScale database by organization and database name. |
create_databaseCreate a new PlanetScale database | Create a new PlanetScale database |
delete_databaseDelete one PlanetScale database by exact organization and database name. | Delete one PlanetScale database by exact organization and database name. |
list_branchesList PlanetScale branches for a database. | List PlanetScale branches for a database. |
get_branchGet one PlanetScale branch. | Get one PlanetScale branch. |
create_branchCreate a new database branch | Create a new database branch |
delete_branchDelete one PlanetScale branch by exact name. | Delete one PlanetScale branch by exact name. |
list_deploy_requestsList PlanetScale deploy requests for a database. | List PlanetScale deploy requests for a database. |
get_deploy_requestGet one PlanetScale deploy request by number. | Get one PlanetScale deploy request by number. |
create_deploy_requestCreate a deploy request to merge a branch | Create a deploy request to merge a branch |
list_deploy_operationsList online schema change operations for a PlanetScale deploy request. | List online schema change operations for a PlanetScale deploy request. |
Triggers
| Name | Description |
|---|---|
deploy_completedTriggers when a deploy request completes | Triggers when a deploy request completes |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('planetscale', 'validate_connection', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'planetscale',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect PlanetScale to my app?
Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does PlanetScale support?
PlanetScale supports 13 tools including Validate Connection, List Databases, Get Database, Create Database, Delete Database, and more.
Can I use PlanetScale with AI agents?
Yes. Add PlanetScale to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect PlanetScale to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add PlanetScale as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped PlanetScale tools exposed by that workspace.
Does PlanetScale work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved PlanetScale work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with PlanetScale?
PlanetScale exposes 13 tools, including Validate Connection, List Databases, Get Database, Create Database, Delete Database, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can PlanetScale be used in stateful agent workflows?
Yes. Agents can combine PlanetScale tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does PlanetScale use?
PlanetScale uses Custom. Weavz stores credentials securely and uses them for authorized action execution.
How much does the PlanetScale integration cost?
The PlanetScale integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does PlanetScale support?
PlanetScale supports 1 triggers including Deploy Completed.
Connect PlanetScale in minutes
Get 20,000 free action executions every month. No credit card required.