MySQL Ops MCP Server
by gt-dinuoio.github.GT-dinuo/mysql-ops-mcpv1.0.0
MySQL database MCP server: list databases/tables, inspect schema, run queries and CRUD with approval-gated delete/drop. Works with Claude Code, Cursor and other MCP clients.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install MySQL Ops MCP server
Install in Claude Code
claude mcp add mysql-ops -e DB_PASSWORD='<db-password>' -- npx -y mysql-ops-mcpInstall in Cursor
{
"mcpServers": {
"mysql-ops": {
"command": "npx",
"args": [
"-y",
"mysql-ops-mcp"
],
"env": {
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mysql-ops": {
"command": "npx",
"args": [
"-y",
"mysql-ops-mcp"
],
"env": {
"DB_PASSWORD": "<db-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mysql-ops": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mysql-ops-mcp"
],
"env": {
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mysql-ops": {
"command": "npx",
"args": [
"-y",
"mysql-ops-mcp"
],
"env": {
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DB_HOST | — | — | MySQL host, default localhost |
| DB_PORT | — | — | MySQL port, default 3306 |
| DB_USER | — | — | MySQL user, default root |
| DB_PASSWORD | — | yes | MySQL password |
| DB_DATABASE | — | — | Default database; can also be passed per tool call |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-16 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-16 · 3mo ago · official registry · v1.0.0
FAQ
›How do I install the MySQL Ops MCP server in Claude Code?
Run: claude mcp add mysql-ops -e DB_PASSWORD='<db-password>' -- npx -y mysql-ops-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does MySQL Ops require an API key?
Yes. It expects DB_PASSWORD, of which 1 is a secret.
›Can I use MySQL Ops as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is MySQL Ops in the official MCP registry?
Yes, as io.github.GT-dinuo/mysql-ops-mcp.
Alternatives to MySQL Ops
Other database MCP servers.