About mysql-mcp-server
mysql-mcp-server is an MCP server for connecting to MySQL Server. The README describes installation with `uv` and shows configuration for Cline.
Key features
- 01Connect to MySQL Server
- 02Install and run with `uv`
Use cases
- 01Connect an MCP client to MySQL Server
- 02Run the server through `uv`
MCP support
Exposes a connection to MySQL Server through MCP. The README provides an example configuration for Cline.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmysql-mcp-server
mysql-mcp-server is a Model Context Protocol (MCP) server for connecting to MySQL Server.
Installation
git clone https://github.com/leopeng1995/mysql-mcp-server.git
cd mysql-mcp-server
uv sync
uv run mysql-mcp-server
Configuration in Cline
{
"mcpServers": {
"mysql-mcp-server": {
"command": "uv",
"args": [
"--directory",
"H:/workspaces/leopeng1995/mysql-mcp-server",
"run",
"mysql-mcp-server"
],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "username",
"MYSQL_PASSWORD": "password",
"MYSQL_DATABASE": "database"
},
"disabled": false,
"autoApprove": []
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.