PlanetScale integration
Serverless MySQL database platform API. Manage databases, branches, deploy requests, and connection credentials. Create instant database branches for development, manage schema migrations with deploy requests, and scale on demand. Essential for serverless apps, CI/CD workflows, and database DevOps.
Say what should happen.
The workflow builds itself.
Common PlanetScale use cases
- status check
- config display
- deployment status
- security audit
- branch view
- database view
- branch cleanup
- credential info
- database cleanup
- app configuration
What you can do with PlanetScale
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Branch, 4 operations
create_branchCreate branchPOSTAgents: ask firstCreates a new database branch for isolated schema development.delete_branchDelete branchDELETEAgents: ask firstDeletes a branch and its data.get_branchGet branchGETAgents: ask firstRetrieves detailed information about a branch.list_branchesList branchesGETAgents: ask firstLists all branches in a database.
Database, 4 operations
create_databaseCreate databasePOSTAgents: ask firstCreates a new PlanetScale database with a main branch.delete_databaseDelete databaseDELETEAgents: ask firstPermanently deletes a database and all its branches.get_databaseGet databaseGETAgents: ask firstRetrieves detailed information about a database.list_databasesList databasesGETAgents: ask firstLists all databases in a PlanetScale organization.
Password, 4 operations
create_passwordCreate passwordPOSTAgents: ask firstCreates a new connection credential for a branch.delete_passwordDelete passwordDELETEAgents: ask firstDeletes a connection credential to revoke access.get_passwordGet passwordGETAgents: ask firstRetrieves details of a connection credential.list_passwordsList passwordsGETAgents: ask firstLists all connection credentials for a branch.
Deploy request, 3 operations
create_deploy_requestCreate deploy requestPOSTAgents: ask firstCreates a deploy request to merge schema changes to production.get_deploy_requestGet deploy requestGETAgents: ask firstRetrieves detailed information about a deploy request.list_deploy_requestsList deploy requestsGETAgents: ask firstLists all deploy requests for schema migrations.
Organization, 2 operations
get_organizationGet organizationGETAgents: ask firstRetrieves detailed information about an organization.list_organizationsList organizationsGETAgents: ask firstLists all PlanetScale organizations accessible by the token.
Deploy queue, 1 operation
get_deploy_queueGet deploy queueGETAgents: ask firstRetrieves the current deploy queue order.
PlanetScale API rate limits
- 600 requests per minute
Rate limits may change; returns 429 when exceeded
These are the limits PlanetScale documents, not ones LiveContext measured. They can change and often depend on your plan, so check the PlanetScale documentation for current values.
Use PlanetScale from Claude Code, Cursor or Codex
Connect PlanetScale in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its PlanetScale operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect PlanetScale
- Create your workspace
Sign up free. Nothing to install.
- Connect PlanetScale once
Add your PlanetScale connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
PlanetScale integration FAQ
What can you do with the PlanetScale integration?
LiveContext exposes 18 operations on PlanetScale, covering branch, database, password and deploy request. Common uses include status check, config display and deployment status.
What are the PlanetScale API rate limits?
PlanetScale documents 600 requests per minute. Rate limits may change; returns 429 when exceeded Limits are set by PlanetScale and can depend on your plan.
