Databases - official PlanetScale server
PlanetScale MCP server
Hosted MCP server that gives an agent access to PlanetScale organizations, databases, branches, schema, Insights data, invoices and the organization payment method, and runs read and write SQL over HTTP using short-lived credentials. Works with Vitess, Postgres and Neki databases. PlanetScale hosts it at https://mcp.pscale.dev/mcp/planetscale with OAuth or API key auth.
Last verified 15 tools3 sources
Install
Claude Code
About Claude Codeclaude mcp add --transport http "planetscale" https://mcp.pscale.dev/mcp/planetscaleCodex
About Codexcodex mcp add planetscale --url https://mcp.pscale.dev/mcp/planetscaleCursor
About Cursor{
"mcpServers": {
"planetscale": {
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Tools
planetscale_list_organizations- List all PlanetScale organizations you have access to.
planetscale_list_databases- List all databases within an organization.
planetscale_list_branches- List all branches within a database.
planetscale_get_database- Get details about a specific database.
planetscale_get_branch- Get details about a database branch.
planetscale_get_branch_schema- Get the schema for a database branch.
planetscale_execute_read_query- Execute a read-only SQL query (SELECT, SHOW, DESCRIBE, EXPLAIN), routed to a replica by default.
planetscale_execute_write_query- Execute a write SQL query (INSERT, UPDATE, DELETE, or DDL).
planetscale_get_insights- Get query performance insights for a database branch.
planetscale_list_schema_recommendations- List schema recommendations such as adding or removing indexes.
planetscale_list_query_error_patterns- List failing queries for a branch, aggregated by error fingerprint.
planetscale_get_postgres_logs- Fetch server logs for a Postgres database branch.
planetscale_get_branch_metrics- Infrastructure metrics for a branch: CPU, memory, disk, replication lag, and connections.
planetscale_list_invoices- List all invoices for an organization.
planetscale_search_documentation- Search the PlanetScale documentation.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- The docs list 26 tools; 15 are shown here.
- Auth is OAuth with scopes chosen at consent (no access, read-only or full, per org or database, and separate payment method access); service tokens are supported for CI and headless clients.
- Org admins can limit MCP query access for all members.
- An insights-only endpoint without the query tools is at https://mcp.pscale.dev/mcp/planetscale-insights-only.
- Write safeguards block UPDATE or DELETE without WHERE and TRUNCATE, and DDL prompts for human confirmation.
- Also available as a Claude Code plugin (/plugin marketplace add planetscale/claude-plugin) and in the Claude connectors directory; VS Code setup is a one-click link or the 'MCP: Add Server' command.
- The GitHub repo holds only the hand-written tools; others are generated from the PlanetScale OpenAPI spec.
- The local pscale mcp server in the CLI has been removed.
More MCP servers for databases
- AirtableStatus: GA
Airtable MCP server
Airtable's official hosted MCP server lets AI tools list and create bases, change table and field schema, read and write records, build interfaces, submit forms and draft automations, all within the user's existing permissions.
Transport: Streamable HTTPAuth: OAuth or API key - Chroma
Chroma MCP server
Self-hosted MCP server that lets agents create and manage Chroma collections and add, query, update and delete documents. It supports vector search, full-text search and metadata filtering against ephemeral, persistent, self-hosted HTTP or Chroma Cloud clients.
Transport: stdioAuth: Other - ClickHouseStatus: Beta
ClickHouse Cloud remote MCP server
A fully managed remote MCP endpoint for ClickHouse Cloud services that lets agents list databases and tables, run read-only SELECT queries, and inspect organizations, services, backups, ClickPipes and billing. All 13 tools are read-only.
Transport: Streamable HTTPAuth: OAuth or API key - ClickHouse
ClickHouse MCP server
Open-source MCP server from ClickHouse that lets AI assistants list databases and tables and run SQL against any ClickHouse instance, self-hosted or Cloud. It also has an optional chDB embedded engine. It runs locally over stdio by default, and can also serve Streamable HTTP.
Transport: stdio, Streamable HTTP, SSEAuth: Other - CockroachDBStatus: GA
CockroachDB Cloud MCP server
Managed MCP server built into CockroachDB Cloud that lets AI tools list clusters, explore live schemas and run SQL against clusters in a CockroachDB Cloud organization. Connections can cover every cluster the user or service account can access, or be scoped to one cluster with an mcp-cluster-id header.
Transport: Streamable HTTPAuth: OAuth or API key - Convex
Convex MCP server
Local MCP server built into the Convex CLI that lets agents inspect and act on a Convex deployment: list tables and schemas, page through data, run read-only one-off queries, call deployed functions, read logs and health insights, and manage environment variables.
Transport: stdioAuth: Other
Related reading
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
- How to Publish a Plugin to the Claude Directory (Developer Portal Guide)Submit a plugin to the Claude directory: validate it, clear the security scan, publish, and read 90 days of usage analytics. Needs a paid plan.
- ChatGPT Plugin Extensions: Sidebar Apps, Panels and File EditorsChatGPT plugins can now add sidebar apps, side panels, file editors and native forms. How openai/ui entrypoints work, with type-checked code.
FAQ
What does the PlanetScale MCP server do?
Hosted MCP server that gives an agent access to PlanetScale organizations, databases, branches, schema, Insights data, invoices and the organization payment method, and runs read and write SQL over HTTP using short-lived credentials. Works with Vitess, Postgres and Neki databases. The vendor documents 15 tools, including planetscale_list_organizations, planetscale_list_databases, planetscale_list_branches and planetscale_get_database.
How do I add the PlanetScale MCP server to Claude Code?
Run claude mcp add --transport http "planetscale" https://mcp.pscale.dev/mcp/planetscale, copied from PlanetScale's docs. This page also has snippets for Codex and Cursor.
Does the PlanetScale MCP server need authentication?
Yes, OAuth or API key. Transport: Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 3 PlanetScale pages, then re-checked independently.
- planetscale.comhttps://planetscale.com/docs/connect/mcp
- raw.githubusercontent.comhttps://raw.githubusercontent.com/planetscale/mcp-server/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/planetscale/mcp-server/HEAD/LICENSE
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.