Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in PlanetScale.Built from the 18 PlanetScale tools below, on the connection you add once.

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.

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 branchPOSTCreates a new database branch for isolated schema development.
  • delete_branchDelete branchDELETEDeletes a branch and its data.
  • get_branchGet branchGETRetrieves detailed information about a branch.
  • list_branchesList branchesGETLists all branches in a database.

Database, 4 operations

  • create_databaseCreate databasePOSTCreates a new PlanetScale database with a main branch.
  • delete_databaseDelete databaseDELETEPermanently deletes a database and all its branches.
  • get_databaseGet databaseGETRetrieves detailed information about a database.
  • list_databasesList databasesGETLists all databases in a PlanetScale organization.

Password, 4 operations

  • create_passwordCreate passwordPOSTCreates a new connection credential for a branch.
  • delete_passwordDelete passwordDELETEDeletes a connection credential to revoke access.
  • get_passwordGet passwordGETRetrieves details of a connection credential.
  • list_passwordsList passwordsGETLists all connection credentials for a branch.

Deploy request, 3 operations

  • create_deploy_requestCreate deploy requestPOSTCreates a deploy request to merge schema changes to production.
  • get_deploy_requestGet deploy requestGETRetrieves detailed information about a deploy request.
  • list_deploy_requestsList deploy requestsGETLists all deploy requests for schema migrations.

Organization, 2 operations

  • get_organizationGet organizationGETRetrieves detailed information about an organization.
  • list_organizationsList organizationsGETLists all PlanetScale organizations accessible by the token.

Deploy queue, 1 operation

  • get_deploy_queueGet deploy queueGETRetrieves 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 Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect PlanetScale

  1. Create your workspace

    Sign up free. Nothing to install.

  2. 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.

  3. 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.

Popular integrations

Browse the whole catalog