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
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
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.