Skip to content

singh-as/mcp-server-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

  1. Requirements:
    Ensure Python 3.10+ is installed

  2. Clone the Repository:

    git clone https://github.com/singh-as/mcp-server-mysql.git
    cd mcp-server-mysql
  3. Set Up Virtual Environment and Install Dependencies:

    uv venv
    source .venv/bin/activate
    pip install -e .

Usage

With Claude Desktop or Visual Studio Code

Add this to your claude_desktop_config.json or mcp.json:

{
  "mcpServers": {
    "mcp-server-mysql": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/gitclone/folder", 
        "run",
        "mcp-server-mysql"
      ],
      "env": {
            "MYSQL_HOST": "localhost",
            "MYSQL_PORT": "3306",
            "MYSQL_USER": "",
            "MYSQL_PASSWORD": "",
            "MYSQL_DATABASE": ""
      }
    }
  }
}

About

MCP server for MySQL database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages