Back to directory
shensiqi0701/mcp-mysql-server-implementation

shensiqi0701/mcp-mysql-server-implementation

@shensiqi0701

A Model Context Protocol server that provides access to MySQL databases. This server enables LLMs to inspect database schemas and execute SQL queries.

mysqldatabasemcpserversqlquerytypescriptllm

Installation & Configuration

{
  "mcpServers": {
    "mcp_server_mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ],
      "env": {
        "MYSQL_HOST": "127.0.0.1",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "root",
        "MYSQL_PASS": "your_password",
        "MYSQL_DB": "your_database",
        "ALLOW_INSERT_OPERATION": "false",
        "ALLOW_UPDATE_OPERATION": "false",
        "ALLOW_DELETE_OPERATION": "false"
      }
    }
  }
}

Information

Transport
stdio
Language
TypeScript
Created
2026/6/13
Updated
2026/6/15