MCP Server for MySQL based on NodeJS

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

Local serverstdioMIT

What is the MCP Server for MySQL based on NodeJS MCP Server?

MCP Server for MySQL based on NodeJS is an MCP project maintained in the shensiqi0701/mcp-mysql-server-implementation repository. The maintainer describes its purpose as “A Model Context Protocol server that provides access to MySQL databases. This server enables LLMs to inspect database schemas and execute SQL queries”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcprunner. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
mysql_queryExecute SQL queries against the connected database
INSERTAdd new data to tables (requires ALLOW_INSERT_OPERATION=true)
UPDATEModify existing data (requires ALLOW_UPDATE_OPERATION=true)
DELETERemove data (requires ALLOW_DELETE_OPERATION=true)
Builtin query execution statistics

How to install the MCP Server for MySQL based on NodeJS MCP Server

{
  "mcpServers": {
    "MySQL": {
      "command": "npx",
      "args": [
        "mcprunner",
        "MYSQL_HOST=127.0.0.1",
        "MYSQL_PORT=3306",
        "MYSQL_USER=root",
        "MYSQL_PASS=root",
        "MYSQL_DB=demostore",
        "ALLOW_INSERT_OPERATION=true",
        "ALLOW_UPDATE_OPERATION=true",
        "ALLOW_DELETE_OPERATION=false",
        "--",
        "npx",
        "-y",
        "@benborla29/mcp-server-mysql"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.