MySQL AIops MCP server
Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.
not scanned yet
0 stars172 downloads/wk
Reviews
Write oneNobody has reviewed MySQL AIops yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MySQL AIops tools
No tool declarations could be read from the package source. They show once the server is installed.
How MySQL AIops compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 802 Databases servers
- Downloads a week
- 172
- more than 69% of 328 Databases servers with a package
Release history: 3 versions in the registry since 2026-09-16, latest 2026-10-30, typically one every 28 days.
Install MySQL AIops in Claude Code, Cursor or VS Code
claude mcp add mysql-aiops -- uvx mysql-aiops
What the publisher says
From the MySQL AIops repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.AIops-tools/mysql-aiops -->
MySQL AIops
Disclaimer: Community-maintained open-source project. Not affiliated with, endorsed by, or sponsored by Oracle Corporation or the MariaDB Foundation. "MySQL" is a trademark of Oracle Corporation; "MariaDB" is a trademark of MariaDB plc; all product/trademark names belong to their respective owners. MIT licensed.
Governed AI-ops for MySQL 8.x and MariaDB 10.6+ DBA operations — connecting to a server with PyMySQL and reading informationschema / performanceschema — with a built-in governance harness: unified audit log, token/runaway budget guard, undo-token recording, and descriptive risk-tier labels. The server flavor (mysql vs mariadb) is detected from version() and flavor-dependent statements branch automatically (SHOW REPLICA STATUS vs SHOW SLAVE STATUS).
What it does
Four flagship signature analyses, plus the guarded reads and writes around them:
entry (plus an optional EXPLAIN FORMAT=JSON plan) and map its numbers — no-index share (SUMNOINDEX_USED), lock-time share, rows-examined/sent ratio, tmp-disk spill, call count, plan access types — to a cited cause and a concrete action. Every finding carries its measured number, not a black-box verdict.
- Slow-query RCA — take the worst eventsstatementssummarybydigest
performanceschema.datalockwaits (MariaDB: informationschema.innodblockwaits), name the root blocker (blocks others, waits on none), and parse the last deadlock out of SHOW ENGINE INNODB STATUS.
- InnoDB lock-wait & deadlock chain RCA — build the wait-for tree from
SecondsBehindSource and error fields to a cited cause + action (stopped IO thread, failed applier statement, lagging applier, intentional SQL_Delay).
- Replication lag RCA — map the replica's IO/SQL thread state,
from information_schema.tables into cited OPTIMIZE TABLE candidates.
- Table fragmentation analysis — rank tables by reclaimable data_free
What works
- CLI (mysql-aiops ...): init, overview, server, activity, query, index, table, repl, analyze, remediate, secret, doctor, mcp.
- MCP server (mysql-aiops mcp or mysql-aiops-mcp): 35 tools (26 read, 9 write), every one wrapped with the bundled @governed_tool harness.
- Encrypted credentials: the account password lives in an encrypted store ~/.mysql-aiops/secrets.enc (Fernet + scrypt) — never plaintext on disk. Unlock with a master password from MYSQLAIOPSMASTER_PASSWORD (MCP/CI) or an interactive prompt (CLI).
- Reversibility: mutating writes fetch the real before-state first and record a faithful inverse — createindex↔dropindex; dropindex captures the index definition out of SHOW CREATE TABLE so undo recreates it exactly; setglobalvariable captures the prior value from SHOW GLOBAL VARIABLES so undo sets it back. Irreversible ops (killsession, killquery, optimizetable, analyzetable, resetquery_stats) record prior state for audit but declare no undo.
- Safety: every state-changing CLI op supports --dry-run and requires double confirmation; every write MCP tool takes a dry_run preview. All identifiers that cannot be parameterised (schema/table/index/column/variable names) are validated against a strict charset and backtick-quoted; all values are bound query parameters.
What this tool does, and does not, decide
It delivers MySQL / MariaDB DBA operations — reads and writes — accurately and efficiently, and records every one of them. It does not decide whether a write is allowed to happen. That is the agent's judgement, or the permission of the account you connect it with: point it at a MySQL/MariaDB account granted only SELECT / PROCESS / REPLICATION CLIENT and no write privileges (no INSERT/UPDATE/DELETE/DDL), and the writes fail at the server — the place that actually owns the permission.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MySQL AIops: common questions
- Is MySQL AIops MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the MySQL AIops safety report
- How do I install MySQL AIops?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MySQL AIops need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is MySQL AIops maintained?
- The last commit was 48 days ago (2026-09-16). The latest release is v0.13.0.
- What can I use instead of MySQL AIops?
- Servers from other publishers that do the same job: DBHub MCP server, Appwrite MCP server and Sling CLI MCP server.
- How does MySQL AIops compare with other Databases MCP servers?
- safety score 91/100 (higher than 85% of 802 Databases servers); downloads a week 172 (more than 69% of 328 Databases servers with a package). Full comparison.
Alternatives to MySQL AIops
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- AppwriteBuild and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDNnot reviewedEstablishedA
Sling CLISling CLI MCP server for querying any database, running data pipelines and managing replicationsnot reviewedEstablishedB- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
- BackenlyPostgres backend your coding agent builds over MCP; destructive actions wait for a person.not reviewedEstablishedA