Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / mysql-mcp-server

mysql-mcp-server

mysql-mcp-server is an MCP server, listed under databases. It reaches mysql. It needs MYSQL_PASSWORD to authenticate. Its repository has 2 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

This server facilitates AI assistants in interacting with MySQL databases by executing queries and inspecting schemas, and integrates seamlessly with Claude, Cursor, and VSCode.

Install

Read from mysql-mcp-server’s own README, close to verbatim -- not written by us, and not guessed.

curl -L https://github.com/koh/mysql-mcp-server/releases/latest/download/mysql-mcp-server-linux-amd64.tar.gz | tar xz
chmod +x mysql-mcp-server
sudo mv mysql-mcp-server /usr/local/bin/

What it reaches, and what it needs

Reaches
mysql
Credential
MYSQL_PASSWORD

What it connects to

Supported in
Cursor

Unverified means a mention in the server’s own description, not a citation. A wrong claim here costs nothing to correct and nothing to trust yet.

Maintenance

Stars
2
State
stale
Licence
MIT
From the repository

A Model Context Protocol (MCP) server that enables AI assistants to interact with MySQL databases. Query execution, schema inspection, and seamless integration with Claude, Cursor, and VSCode.

mysql-mcp-server compared with similar servers

mysql-mcp-server compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
mysql-mcp-server (this page)mysqlMYSQL_PASSWORD22025-06-27MIT
dbhubmysql, postgres, sqlite(1 shared)None listed3,7022026-10-21MIT
mcp-server-mysqlmysql(1 shared)None listed2,1732026-07-27MIT
mysql_mcp_servermysql(1 shared)MYSQL_PASSWORD1,4022026-08-02MIT
servermysql(1 shared)MYSQL_ROOT_PASSWORD8742025-08-09MIT
mcp-alchemymysql, postgresql, sqlite(1 shared)None listed4222026-10-15MPL-2.0

Ranked by services in common with mysql-mcp-server, then by stars. Figures are from each repository when we last read it.

Common questions about mysql-mcp-server

What does mysql-mcp-server do?
This server facilitates AI assistants in interacting with MySQL databases by executing queries and inspecting schemas, and integrates seamlessly with Claude, Cursor, and VSCode.
How do I install mysql-mcp-server?
Its own README gives this command: curl -L https://github.com/koh/mysql-mcp-server/releases/latest/download/mysql-mcp-server-linux-amd64.tar.gz | tar xz chmod +x mysql-mcp-server sudo mv mysql-mcp-server /usr/local/bin/. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
What does mysql-mcp-server connect to, and what does it need?
It reaches mysql. The credentials we found in its source are MYSQL_PASSWORD.
Which AI clients can use mysql-mcp-server?
Its own description mentions Cursor. That is a mention in its description, not a test we ran.
Is mysql-mcp-server official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 2 GitHub stars and its state in our directory is stale. Its last commit we recorded was on 2025-06-27.
What licence does mysql-mcp-server use?
The repository declares the MIT licence.

More MCP servers for databases

All databases entries →

Learn this on Infrato