Back to integrations

PlanetScale integration for background agents

Enable hosted MCP access for PlanetScale databases, schema, and insights.

Integration details

Connection

  • Hosted MCP via PlanetScale OAuth

Agent actions

PlanetScale MCP

  • planetscale_list_organizations

    List all PlanetScale organizations the connected account can access.

  • planetscale_list_databases

    List databases within a PlanetScale organization.

  • planetscale_list_branches

    List branches within a PlanetScale database.

  • planetscale_get_organization

    Get details for a specific PlanetScale organization.

  • planetscale_get_database

    Get details for a specific PlanetScale database.

  • planetscale_get_branch

    Get details for a specific PlanetScale database branch.

  • planetscale_get_branch_schema

    Get schema for a PlanetScale database branch.

  • planetscale_execute_read_query

    Execute a read-only SQL query such as SELECT, SHOW, DESCRIBE, or EXPLAIN.

  • planetscale_execute_write_query

    Execute a write SQL query or DDL statement with PlanetScale MCP safeguards.

  • planetscale_list_regions_for_organization

    List available regions for a PlanetScale organization.

  • planetscale_list_cluster_size_skus

    List available cluster size SKUs.

  • planetscale_list_invoices

    List invoices for a PlanetScale organization.

  • planetscale_get_invoice_line_items

    Get invoice line items with prorated costs broken down by database branch.

  • planetscale_search_documentation

    Search PlanetScale documentation.

PlanetScale Insights MCP

  • planetscale_get_insights

    Get query performance insights for a PlanetScale database branch.

  • planetscale_list_schema_recommendations

    List schema recommendations such as index suggestions and primary-key warnings.

  • planetscale_search_documentation

    Search PlanetScale documentation while investigating Insights and recommendations.

Credential safety

Credential-less sandboxes

Mistle lets agents access connected services without placing provider credentials inside the sandbox. Approved outbound requests are routed through Mistle's credential proxy, where authentication happens outside the agent runtime.

Credentials stay encrypted in Mistle's control plane and are applied only when a request is authorized for the calling sandbox and organization.

Read the credential-less sandboxes article
Diagram showing sandbox traffic routed through an egress proxy before credential injection.