AcademyMCP serversData and reporting

MySQL MCP Server

Data and analytics teams that want an AI assistant to explore and query a MySQL database safely.

  • Recommendedour rating
  • 1,398gitHub stars
  • MITlicence
  • 2 months agolast update
claude mcp add mysql -e MYSQL_HOST=localhost -e MYSQL_PORT=3306 -e MYSQL_USER=your_username -e MYSQL_PASSWORD=your_password -e MYSQL_DATABASE=your_database -- uv --directory path/to/mysql_mcp_server run mysql_mcp_server
README.md

Loading the file...

What it does

Lets an AI assistant work with MySQL databases through a controlled interface. It lists tables as resources, reads table contents and runs SQL queries with error handling. It supports schema inspection, configurable access controls, SSH tunnelling and both STDIO and HTTP transport.

Use cases

  1. 01List the tables in a database and inspect their schema
  2. 02Run a SQL query and read the results
  3. 03Explore a table's contents before building a report

Questions about
MySQL MCP Server.

What is MySQL MCP Server used for?

Data and analytics teams that want an AI assistant to explore and query a MySQL database safely. Lets an AI assistant work with MySQL databases through a controlled interface. It lists tables as resources, reads table contents and runs SQL queries with error handling. It supports schema inspection, configurable access controls, SSH tunnelling and both STDIO and HTTP transport.

How do I install MySQL MCP Server?

Run this in your terminal: claude mcp add mysql -e MYSQL_HOST=localhost -e MYSQL_PORT=3306 -e MYSQL_USER=your_username -e MYSQL_PASSWORD=your_password -e MYSQL_DATABASE=your_database -- uv --directory path/to/mysql_mcp_server run mysql_mcp_server

Is MySQL MCP Server open source?

Yes. The code is on GitHub (designcomputer/mysql_mcp_server) under the MIT licence.

Is MySQL MCP Server safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.