by AIOps Tools
MySQL AIops is a community-maintained MCP server and CLI for MySQL 8.x and MariaDB 10.6+ DBA work. It adds root-cause analyses for slow queries, locks, replication lag and fragmentation, with an audit log on every call.
PluginContact for pricing
Step 1: Install with uv tool install mysql-aiops or pipx install mysql-aiops, or as a Claude Code plugin from the AIops-tools marketplace.
Step 2: Run mysql-aiops init to add a target and store the password in the encrypted store.
Step 3: Run mysql-aiops doctor to check config, connectivity, flavor and performance schema.
Step 4: Add the mysql-aiops-mcp command to your MCP client config, with MYSQL_AIOPS_MASTER_PASSWORD in its env block.
Step 5: Ask the agent for an overview or a slow-query analysis.
MySQL 8.0 and 8.4, and MariaDB 10.6+ and 11.x. MySQL 5.7 and older is not targeted.
Connect with an account granted only SELECT, PROCESS and REPLICATION CLIENT. The tool has no read-only switch, so the server rejects writes.
Yes. Every call over MCP and the CLI writes an audit row to ~/.mysql-aiops/audit.db.
No. It is a community-maintained project, not affiliated with or endorsed by Oracle or the MariaDB Foundation.
Requirements