PlanetScale MCP Server 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.
OAuth sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://mcp.pscale.dev/mcp/planetscaleWhat 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.
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http planetscale https://mcp.pscale.dev/mcp/planetscaleCodex
Codex configuration
codex mcp add planetscale --url https://mcp.pscale.dev/mcp/planetscaleCursor
Cursor configuration
{
"mcpServers": {
"planetscale": {
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"planetscale": {
"type": "streamableHttp",
"url": "https://mcp.pscale.dev/mcp/planetscale",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"planetscale": {
"type": "http",
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http planetscale https://mcp.pscale.dev/mcp/planetscaleClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"planetscale": {
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"planetscale": {
"serverUrl": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}Other cloud and infrastructure servers
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.