Basic information
About mysql-mcp-server
# mysql-mcp-server
mysql-mcp-server is a MCP server in the Databases category listed in the AddMCP.net directory, published by leopeng1995. Supported transport: stdio. Runtime: python. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: mcp, mcp-server.
Setup
{
"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"
}
}
}
}
{
"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"
}
}
}
}
{
"servers": {
"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 — by leopeng1995 config
Add this server to your MCP-compatible client using the configuration below.
{
"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 — by leopeng1995 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mysql-mcp-server?
A Model Context Protocol (MCP) server for connecting to MySQL Server, enabling AI tools to query and interact with MySQL databases.
How to use mysql-mcp-server?
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).
Key features of mysql-mcp-server
- Connects to MySQL Server via the Model Context Protocol.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In