Mysql
Connects to MySQL databases, executes queries, and retrieves data using a secure, automated interface.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add bagelhole-mysql npx -- -y @trustedskills/bagelhole-mysql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"bagelhole-mysql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/bagelhole-mysql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with and manage MySQL databases. It can execute queries, retrieve data, and perform basic database administration tasks directly within an agent workflow. The skill provides a structured way for agents to access and manipulate relational data stored in MySQL environments.
When to use it
- Data Extraction: Retrieve specific information from a MySQL database based on user requests or automated triggers.
- Report Generation: Automatically generate reports by querying the database and formatting results.
- Database Troubleshooting: Diagnose and resolve common database issues through query execution and data analysis.
- Automated Backups: Schedule and execute backup scripts for MySQL databases.
Key capabilities
- Query Execution: Run SQL queries against a specified MySQL database.
- Data Retrieval: Fetch specific datasets from tables within the database.
- Database Administration: Perform basic administrative tasks (as permissions allow).
Example prompts
- "Get me all customer records from the 'customers' table."
- "Run this query: SELECT * FROM products WHERE price > 100;"
- "Backup the 'sales_data' database to a secure location."
Tips & gotchas
- Requires appropriate MySQL credentials (username, password, host) to be configured for the agent.
- The skill’s capabilities are limited by the permissions granted to the configured MySQL user account.
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.