Mysql

🏢Official
by planetscale · vlatest · Repository

Connects to and queries PlanetScale MySQL databases using SQL, retrieving data and executing commands.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add mysql npx -- -y @trustedskills/mysql
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/mysql"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The MySQL skill enables AI agents to interact with MySQL databases, including executing queries, managing schemas, and handling data operations. It supports common SQL commands and provides tools for database administration tasks.

When to use it

  • When you need to run complex SQL queries on a MySQL database.
  • To automate routine database maintenance or backup processes.
  • For integrating application logic with a MySQL backend in development workflows.
  • When setting up or configuring a new MySQL instance for an AI agent environment.

Key capabilities

  • Execute SELECT, INSERT, UPDATE, and DELETE statements
  • Manage user permissions and access control
  • Backup and restore database schemas
  • Monitor database performance metrics

Example prompts

  • "Run a SELECT * FROM users WHERE age > 25 query on the 'mydb' database."
  • "Create a new MySQL user with read-only access to the 'inventory' schema."
  • "Backup the 'sales' database and store it in /backups/sales_2023.sql."

Tips & gotchas

  • Ensure that the AI agent has proper credentials and network access to the MySQL server.
  • Be cautious when running destructive queries (e.g., DELETE or DROP) without a backup.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
planetscale
Installs
522

🏢 Official

Published by the company or team that built the technology.