MCP servers · PlanetScale · MCP server
Connect Windsurf to PlanetScale
One line gives Windsurf your PlanetScale account as tools: 7 endpoints, databases, branches, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.
Three steps
- Create a free 0n3 account and connect PlanetScale. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Windsurf. The mcp_config.json block.
- Ask Windsurf: whoami. Then: "List databases in PlanetScale".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"0n3": {
"serverUrl": "https://0n3.app/mcp",
"headers": {
"Authorization": "Bearer <your 0n token>"
}
}
}
}The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.
What Windsurf can then do in PlanetScale
Databases · Manage databases7
List databases
GET /organizations/{organization}/databasesCreate a database
POST /organizations/{organization}/databasesGet a database
GET /organizations/{organization}/databases/{database}Delete a database
DELETE /organizations/{organization}/databases/{database}List branches
GET /organizations/{organization}/databases/{database}/branchesCreate a branch
POST /organizations/{organization}/databases/{database}/branchesList deploy requests
GET /organizations/{organization}/databases/{database}/deploy-requestsBranches · Manage branches0
Manage branches
PlanetScale in other AI clients
Claude Code + PlanetScaleMCP server + skillClaude (desktop & claude.ai) + PlanetScaleconnectorChatGPT + PlanetScaleconnector · GPT actionCodex CLI + PlanetScaleMCP serverGemini CLI + PlanetScaleMCP serverCursor + PlanetScaleMCP serverVS Code (Copilot) + PlanetScaleMCP server
