Back to directory
tqvthu-works/mysql-mcp-server

tqvthu-works/mysql-mcp-server

@tqvthu-works0

A Model Context Protocol (MCP) server for interacting with MySQL databases in Cursor IDE.

mysqldatabasecursor ide

Installation & Configuration

{
  "mcpServers": {
    "mysqlMcpServer": {
      "command": "npx",
      "args": [
        "ts-node",
        "path/to/src/index.ts"
      ],
      "env": {
        "MYSQL_HOST": "<host>",
        "MYSQL_PORT": "<port>",
        "MYSQL_USER": "<user>",
        "MYSQL_PASS": "<pass>",
        "MYSQL_DB": "db",
        "ALLOW_INSERT_OPERATION": "false",
        "ALLOW_UPDATE_OPERATION": "false",
        "ALLOW_DELETE_OPERATION": "false"
      }
    }
  }
}

Information

Transport
stdio
Language
TypeScript
Created
2025/4/21
Updated
2025/4/22