Installation
Use the CLI commands below to configure and run the PlanetScale MCP server:--target flag accepts claude, cursor, or zed. Run pscale mcp server whenever your AI tool needs to pull context from PlanetScale.
You can get started using Claude, Cursor, or Zed immediately. Other tools should accept a configuration similar to the Cursor configuration shown below.
Claude Desktop:
1
Upgrade to the latest version of pscale CLI
2
Run
pscale mcp install --target claude3
Restart Claude Desktop so it picks up the new MCP server
Cursor
1
Upgrade to the latest version of pscale CLI
2
Run
pscale mcp install --target cursor3
Restart Cursor (or reload MCP servers) to start using PlanetScale context
.cursor/mcp.json in your project or home directory:
Zed
1
Upgrade to the latest version of pscale CLI
2
Run
pscale mcp install --target zed3
Restart or reload Zed to pick up the PlanetScale MCP server entry
OpenCode
1
Upgrade to the latest version of pscale CLI
2
Add the following configuration to your
opencode.json file. See the OpenCode MCP documentation for where to find your OpenCode configuration file.opencode.json

