Skip to content
Cursor

MySQL Ops MCP for Cursor

io.github.gt-dinuo/mysql-ops-mcp

MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.

client:Cursor transport:stdio runtime:npm

Install MySQL Ops MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mysql-ops-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mysql-ops-mcp"
      ],
      "env": {
        "DB_HOST": "<DB_HOST>",
        "DB_PORT": "<DB_PORT>",
        "DB_USER": "<DB_USER>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "DB_DATABASE": "<DB_DATABASE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

MySQL Ops MCP in other clients