PlanetScale
by PlanetScale
Query, inspect and write to PlanetScale MySQL and Postgres databases from your AI assistant. 16 tools, OAuth with 21 published scopes, and a second read-only endpoint that drops the query tools entirely.
Verified connector
Listed by Anthropic as a partner connector in its Connectors Directory.
Connection checked by Agentman on .
Anthropic states this reflects the level of review a connector received, not a security audit.
Connect PlanetScale via MCP
https://mcp.pscale.dev/mcp/planetscaleWorks in any MCP-compatible client. In Agentman Studio it is one click — no config file to edit.
PlanetScale Tools & Capabilities (16)
Tool names from Anthropic's directory listing. This server requires sign-in, so we could not read tool descriptions or parameter schemas.
Frequently asked questions
Can the PlanetScale MCP server drop a table in my production database?
Not on a branch with safe migrations enabled. PlanetScale documents safe migrations as automatically rejecting DDL statements sent to that branch, whatever the client, and it recommends the setting for all production branches. On a branch without it, DDL is permitted and the only brake is a prompt asking the model to seek confirmation.
How do I give an AI assistant read-only access to my PlanetScale database?
Use the insights-only endpoint, or a scoped service token. PlanetScale publishes a second server at mcp.pscale.dev/mcp/planetscale-insights-only that excludes both query tools. For service tokens it documents an exact read-query permission set built on `connect_production_read_only_branch`, and warns explicitly against granting `connect_production_branch`.
Does the PlanetScale MCP server block dangerous SQL?
It blocks three specific things. PlanetScale documents the server rejecting `UPDATE` and `DELETE` statements that carry no `WHERE` clause, and rejecting `TRUNCATE` outright. DDL is not blocked at this layer — the docs say it prompts the model to request human confirmation, which is a client-side behaviour rather than a server-enforced refusal.
Can an AI assistant read my PlanetScale invoices?
Yes, if the connection carries invoice permission. Two of the sixteen tools list invoices and break out line items per branch, and both need `organization:read_invoices` on OAuth or `read_invoices` on a service token. PlanetScale documents its billing page as available to organization administrators, so a non-admin connection is unlikely to reach it.
Which PlanetScale branch does the MCP server write to?
Whichever branch the assistant names in the call. Nothing in the tool set restricts writes to development branches, and PlanetScale's service-token docs describe granting `connect_production_branch` specifically so the write tool can reach production. The branch guardrails are safe migrations and the permissions on the credential, not the connector.
Can I use the PlanetScale MCP server in CI without a browser login?
Yes, with a service token. PlanetScale documents sending the token secret as a bearer header to the same endpoint, and the token starts with `pscale_tkn_`. It warns that the token ID, and the `id:secret` pair, are both rejected. Claude.ai, Claude Desktop, Claude Managed Agents and Notion accept OAuth only.
Why did my PlanetScale query return zero rows when the table has data?
Row-level security may be hiding them. PlanetScale runs Postgres read queries under a short-lived role holding `pg_read_all_data`, and states that role does not bypass RLS. On a zero-row or zero-count result the server checks for active policies and returns a warnings array with the code `postgres_rls_active` naming the affected relations.
What does a PlanetScale database cost?
Five dollars a month at the entry point. PlanetScale's pricing page on 2026-08-19 listed a single-node Postgres PS-5 cluster at $5 per month in AWS us-east-1, with the high-availability three-node PS-5 at $15 and Metal databases from $50. There is no free tier on the published pricing page.
Sources
- PlanetScale MCP documentation — https://planetscale.com/docs/connect/mcp (fetched 2026-08-18, as Markdown via the
.mdsuffix; the directory's URL returned 200 directly with no redirect) · retrieved 2026-08-18 - PlanetScale MCP service tokens — https://planetscale.com/docs/connect/mcp-service-token (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale safe migrations — https://planetscale.com/docs/vitess/schema-changes/safe-migrations (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale Postgres branching — https://planetscale.com/docs/postgres/branching (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale self-improving database — https://planetscale.com/docs/connect/self-improving-database (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale plans — https://planetscale.com/docs/planetscale-plans (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale billing — https://planetscale.com/docs/billing (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale pricing — https://planetscale.com/pricing and its machine-readable https://planetscale.com/pricing.md (fetched 2026-08-19) · retrieved 2026-08-19
- Live RFC 9728 protected-resource descriptor — https://mcp.pscale.dev/.well-known/oauth-protected-resource/mcp/planetscale (fetched 2026-08-18) · retrieved 2026-08-18
- Live RFC 8414 authorization-server metadata — https://mcp.pscale.dev/.well-known/oauth-authorization-server/mcp/planetscale (fetched 2026-08-18) · retrieved 2026-08-18
- PlanetScale platform authorization-server metadata — https://auth.planetscale.com/.well-known/oauth-authorization-server (fetched 2026-08-18) · retrieved 2026-08-18
- Live anonymous
initializeprobe — 2026-08-18, HTTP 401 withwww-authenticate· retrieved 2026-08-18 - Anthropic connector directory — https://claude.ai/directory/97efeba5-ffd8-4b9c-a1d9-35978d0fdb9f (snapshot 2026-08-16) · retrieved 2026-08-16
planetscale.com/robots.txtallows all paths and carriesContent-Signal: ai-train=yes, search=yes, ai-input=yes— synthesis expressly permitted (fetched 2026-08-18) · retrieved 2026-08-18
Use in Agentman
Connect once and your agents call these tools on their own — on a schedule, in a workflow, with nobody at the keyboard.
Open in Agentman StudioServer Info
- Category
- Developer Tools
- Developer
- PlanetScale
- Tools
- 16
- Domain
- mcp.pscale.dev
Using Claude Desktop or another MCP client? Setup docs — the connection URL above works anywhere.