Planetscale
Planetscale simplifies database connections by providing a secure, scalable, and globally distributed proxy for your applications, boosting performance & reducing latency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add planetscale npx -- -y @trustedskills/planetscale
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"planetscale": {
"command": "npx",
"args": [
"-y",
"@trustedskills/planetscale"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to interact with PlanetScale, a serverless MySQL database platform. It enables the agent to execute SQL queries, manage databases and branches, and automate database operations directly within the PlanetScale environment. This facilitates tasks like data retrieval, schema modifications, and deployment of database changes.
When to use it
- Automated Data Analysis: Retrieve specific datasets from a PlanetScale database for reporting or analysis purposes.
- Database Branching & Merging: Create new branches for testing database changes and merge them back into the main branch after validation.
- Schema Updates: Automatically apply schema migrations to update the database structure based on defined scripts.
- Data Backup & Restore: Initiate backups of databases or restore from existing backups as part of a disaster recovery plan.
Key capabilities
- SQL Query Execution
- Database Branch Management (creation, merging)
- Schema Migration Application
- Backup and Restore Operations
Example prompts
- "Run the query 'SELECT * FROM users WHERE active = true' against my production database."
- "Create a new branch named 'feature-x' from my main database."
- "Apply schema migration file
001_create_table.sqlto the development database."
Tips & gotchas
- Requires appropriate PlanetScale API credentials configured for the AI agent.
- Be mindful of potential impact when executing SQL queries or applying migrations, especially in production environments.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.