What is cli?
cli is a MCP server by planetscale that built into the PlanetScale CLI: direct access to your PlanetScale databases. It is listed under Data & databases and has 671 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | planetscale |
| Repository | planetscale/cli |
| Popularity | 671 GitHub stars |
| Category | Data & databases |
| Security | Low risk (92/100) |
| Rank | #217 of 4,418 MCP servers; #19 in Data & databases |
| License | Apache-2.0 |
| Last commit | 2026-10-16 |
| Runs | Not stated |
Is cli safe to install?
cli scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 4 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Where data goes is not stated | Note |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install cli?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/planetscale/cli?tab=readme-ov-file#mcp-server-integration
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add cli -- <command from README> claude mcp add --transport http cli <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs cli for you:
Add the "cli" MCP server from https://github.com/planetscale/cli?tab=readme-ov-file#mcp-server-integration to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.