Mysql Mcp Server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Add to your client
Claude Code — run this in your terminal:
claude mcp add mysql --env MYSQL_HOST=YOUR_MYSQL_HOST --env MYSQL_PORT=YOUR_MYSQL_PORT --env MYSQL_USER=YOUR_MYSQL_USER --env MYSQL_PASSWORD=YOUR_MYSQL_PASSWORD --env MYSQL_DATABASE=YOUR_MYSQL_DATABASE -- uv --directory path/to/mysql_mcp_server run mysql_mcp_serverClaude Desktop and other clients: paste this into the configuration file
{
"mcpServers": {
"mysql": {
"command": "uv",
"args": [
"--directory",
"path/to/mysql_mcp_server",
"run",
"mysql_mcp_server"
],
"env": {
"MYSQL_HOST": "YOUR_MYSQL_HOST",
"MYSQL_PORT": "YOUR_MYSQL_PORT",
"MYSQL_USER": "YOUR_MYSQL_USER",
"MYSQL_PASSWORD": "YOUR_MYSQL_PASSWORD",
"MYSQL_DATABASE": "YOUR_MYSQL_DATABASE"
}
}
}
}After adding, fill in: MYSQL_HOSTMYSQL_PORTMYSQL_USERMYSQL_PASSWORDMYSQL_DATABASE
Built from the configuration example in the project's README. The buttons open the app on your computer, which asks you to confirm before anything is added.
Install
pip install mysql-mcp-serverclaude mcp add --transport stdio designcomputer-mysql_mcp_server uvx mysql_mcp_serverpip install -r requirements.txtCopied from the project's README. Read what it does before you run it.
README scanSafe
Nothing risky found in the commands its README asks you to run.
- Needs an API key or token
autohand mcp add mysql env MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USER=your_username MYSQL_PASSWORD=your_password MYSQL_DATABASE=your_database uvx mysql_mcp
We scan the README only, not the code. A clean result is not proof of safety. How we scan
Appears in
Alternatives to Mysql Mcp Server
Listings of the same kind that share the most topics, most-starred first.
Repository
- Stars
- 1,417
- Forks
- 261
- Last updated
- Oct 28, 2026
- License
- MIT
- Language
- Python
- Created
- Dec 3, 2024
- Open issues
- 5
- Quality score
- A 77/100
designcomputer/mysql_mcp_server
Read from GitHub daily.
Pricing
Open SourceMade by
No owner listed.
Sign in to claim this tool.