MySQL Ops MCP server
io.github.GT-dinuo/mysql-ops-mcp·v1.0.0MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.
0 stars33 downloads/wk
Reviews
Write oneNobody has reviewed MySQL Ops MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MySQL Ops MCP tools (11, 6 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
create_tablewrite action创建新表
delete_datawrite action删除表中的数据(需要授权)。此操作需要用户明确批准。
describe_table查看表结构和字段信息
drop_tablewrite action删除表(需要授权)。此操作不可逆,需要用户明确批准。
execute_sqlwrite action执行自定义SQL语句(通用工具)
get_table_info获取表的详细信息,包括索引、约束等
insertwrite action插入数据到表中
list_databases列出所有可用的数据库
list_tables列出指定数据库中的所有表
query执行SELECT查询语句
updatewrite action更新表中的数据
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 72 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How MySQL Ops MCP compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 35% of 802 Databases servers
- Tools
- 11
- the typical Databases server has 8
- Tools that change things
- 55%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 33
- more than 20% of 324 Databases servers with a package
What its tools let an agent do: 5 read · 2 create · 1 change · 2 delete · 1 run or deploy
Install MySQL Ops MCP in Claude Code, Cursor or VS Code
Runs npx -y mysql-ops-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mysql-ops-mcp -- npx -y mysql-ops-mcp
What the publisher says
From the MySQL Ops MCP repository's README, as published. We do not edit it. Read it on GitHub
MySQL Ops MCP
English | 简体中文
A MySQL database MCP Server. Let AI tools like Claude Code / Cursor / Codex talk to your MySQL databases in natural language — browse databases and tables, inspect schemas, run queries, and perform CRUD operations, with destructive operations (DELETE / DROP) gated behind explicit user approval.
Features
- 🗄️ Schema browsing: list databases, list tables, describe table structure, full table info (indexes, DDL, stats)
- 🔍 Queries: run SELECT queries against any database
- ✏️ CRUD: create tables, insert, update — with SQL-statement validation per tool
- 🔐 Approval-gated destructive ops: deletedata and droptable always require explicit user confirmation in the client
- 🔌 Zero install: runs via npx, configured entirely through environment variables
Installation
Requires Node.js 18+. No clone or build needed — npx fetches and runs the published npm package on first use (see the config below).
To build from source instead (e.g. for development):
git clone https://github.com/GT-dinuo/mysql-ops-mcp.git
cd mysql-ops-mcp
npm install
npm run buildBuild output goes to dist/; the entry point is dist/index.js.
Configuration
In each project where you want to use this tool, create (or append to) .mcp.json:
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": ["-y", "mysql-ops-mcp"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "3306",
"DB_USER": "root",
"DB_PASSWORD": "your_password",
"DB_DATABASE": "your_database"
}
}
}
}If you built from source, point the command at the local build instead: "command": "node", "args": ["/absolute/path/to/mysql-ops-mcp/dist/index.js"].
Environment Variables
Usage
Once configured, just ask in natural language in your AI tool:
List all databases
Show the structure of the users table
Query the 10 most recent orders
Get full info for the users table — indexes and DDL included
Insert a test record into the users table
Delete the test record you just inserted ← the client will ask for your approval firstDestructive operations (deletedata, droptable) are always confirmed by the MCP client before execution — nothing irreversible happens silently.
Tool List
Security
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MySQL Ops MCP: common questions
- Is MySQL Ops MCP server safe?
- Mostly: it is graded B (75/100). Read the MySQL Ops MCP safety report
- How do I install MySQL Ops MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MySQL Ops MCP need an API key?
- Yes. The registry entry asks for
DB_PASSWORD. - Is MySQL Ops MCP maintained?
- The last commit was 109 days ago (2026-07-16). The latest release is v1.0.0.
- What can I use instead of MySQL Ops MCP?
- Servers from other publishers that do the same job: MCP Local WP MCP server, NeoSQL MCP server and DB Explorer MCP server.
- How does MySQL Ops MCP compare with other Databases MCP servers?
- safety score 75/100 (higher than 35% of 802 Databases servers); tools 11 (the typical Databases server has 8); tools that change things 55% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to MySQL Ops MCP
Same job from other publishers: the closest match first, then the best rated.
- MCP Local WPWordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.not reviewedGrowingA
NeoSQL MCPSchemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.not reviewedGrowingA- DB ExplorerRead-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advicenot reviewedGrowingB
- 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