LogoSTMCP
Download
@f4ww4z/mcp-mysql-server

@f4ww4z/mcp-mysql-server

A Model Context Protocol server that provides MySQL database operations. This server enables AI models to interact with MySQL databases through a standardized interface.

Tools

1. connect_db

Establish connection to MySQL database using provided credentials.

2. query

Execute SELECT queries with optional prepared statement parameters.

3. execute

Execute INSERT, UPDATE, or DELETE queries with optional prepared statement parameters.

4. list_tables

List all tables in the connected database.

5. describe_table

Get the structure of a specific table.

JSON Config

{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": ["-y", "@f4ww4z/mcp-mysql-server"],
      "env": {
        "MYSQL_HOST": "your_host",
        "MYSQL_USER": "your_user",
        "MYSQL_PASSWORD": "your_password",
        "MYSQL_DATABASE": "your_database"
      }
    }
  }
}

Useful Links

Information

  • Author@f4ww4z
  • Published date2025/07/10

Categories