PlanetScale MCP Server
Hosted MCP server exposing PlanetScale organizations, databases, branches, schema, Insights query performance data, and read/write SQL execution with safeguards that block WHERE-less UPDATE/DELETE and TRUNCATE. Also covers billing tools; an insights-only variant endpoint excludes query execution.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://mcp.pscale.dev/mcp/planetscaleChecks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
- Popularity 5 GitHub stars
About PlanetScale MCP Server
The PlanetScale MCP Server provides programmatic access to PlanetScale infrastructure, including organizations, databases, branches, and schema details. It supports read and write SQL execution on branches, incorporating safeguards that block WHERE-less UPDATE, DELETE, and TRUNCATE operations. An insights-only variant endpoint is available for reviewing query performance data without allowing execution.
This server suits tasks such as listing databases and branches, diffing their schemas, and reviewing slow queries or schema recommendations in Insights. It also supports fetching Postgres server logs filtered by level and time range. Billing tools are included in the standard endpoint, while the insights-only variant excludes query execution capabilities.
Connection requires authentication via OAuth or service tokens. For OAuth, the client opens a browser prompt for the vendor's authorization flow, and each client must register as an OAuth application with PlanetScale. Service tokens are supported for CI and headless clients. The live check verifies connection and tool discovery only and does not prove access to user content or successful tool execution.
What you can do with it
- List databases and branches and diff their schemas.
- Run read or write SQL queries against a branch.
- Review slow queries and schema recommendations in Insights.
- Fetch Postgres server logs filtered by level and time range.
Source and maintenance
- Last repository push
- Maintenance checked
Tools
Reported by the attributed source; not independently observed by Koskamo.
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 500 ms
- 95th percentile latency
- 579 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 411 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
- · probe · passed · 588 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
- · repository · passed · updated
- · repository · passed · metadata changed · updated
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http planetscale https://mcp.pscale.dev/mcp/planetscaleCodex
codex mcp add planetscale --url https://mcp.pscale.dev/mcp/planetscaleCursor
{
"mcpServers": {
"planetscale": {
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Cline
{
"mcpServers": {
"planetscale": {
"type": "streamableHttp",
"url": "https://mcp.pscale.dev/mcp/planetscale",
"disabled": false
}
}
}VS Code
{
"servers": {
"planetscale": {
"type": "http",
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Gemini CLI
gemini mcp add --transport http planetscale https://mcp.pscale.dev/mcp/planetscaleClaude Desktop
https://mcp.pscale.dev/mcp/planetscaleWindsurf
{
"mcpServers": {
"planetscale": {
"serverUrl": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Let your agent find its tools
Find servers like PlanetScale MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other cloud and infrastructure servers
Frequently asked questions
- Can this server execute arbitrary SQL queries?
- Yes, it supports read and write SQL execution against a branch. However, safeguards block WHERE-less UPDATE, DELETE, and TRUNCATE operations to prevent accidental data loss.
- What authentication methods are supported?
- The server supports OAuth sign-in, requiring each client to register as an OAuth application with PlanetScale. Service tokens are also supported for CI and headless clients.
- Does the insights-only variant allow SQL execution?
- No, the insights-only variant endpoint excludes query execution. It is designed for reviewing query performance data and schema recommendations without allowing write operations.
- What prerequisites are needed before connecting?
- You must complete the PlanetScale sign-in flow for OAuth or configure a service token. Each client must register as an OAuth application with PlanetScale if using OAuth authentication.
Do you run PlanetScale MCP Server?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.