mysql-mcp-server

by leopeng1995

1 stars
237 downloads
Not rated
GitHub

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

- 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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mysql-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. 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": []
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.