mysql-mcp-server
Description
# mysql-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…
About
# mysql-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 ```json { "mcpServers": { "mysql-mcp-server"…
Details
- Author
- leopeng1995
- GitHub stars
- 1
- Downloads
- 237
- Categories
- Database
Jump to
- Connects to MySQL Server via the Model Context Protocol.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
mysql-mcp-serverCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, run uv sync to install dependencies, then uv run mysql-mcp-server to start the server. Configure it in Cline by providing a JSON block with environment variables for the MySQL connection (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mysql-mcp-server": {
"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"
}
}
}
}
}
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"
}
}
}
mysql-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": []
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



