Feedback

Mysql MCP Server — by midu2

@midu2 Claim

Basic information

Category
License
MIT
Transports
stdio
Author
midu2
Submitted by
Community

About Mysql MCP Server

Mysql is a MCP server in the Databases category listed in the AddMCP.net directory, published by midu2. It exposes 4 tools, including mysql_query, mysql_execute, list_tables, describe_table. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mysql": {
            "command": "npx",
            "args": [
                "-y",
                "@kevinwatt/mysql-mcp"
            ],
            "env": {
                "MYSQL_HOST": "127.0.0.1",
                "MYSQL_PORT": "3306",
                "MYSQL_USER": "root",
                "MYSQL_PASS": "",
                "MYSQL_DB": "your_database"
            }
        }
    }
}

Mysql MCP Server — by midu2 config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mysql": {
            "command": "npx",
            "args": [
                "-y",
                "@kevinwatt/mysql-mcp"
            ],
            "env": {
                "MYSQL_HOST": "127.0.0.1",
                "MYSQL_PORT": "3306",
                "MYSQL_USER": "root",
                "MYSQL_PASS": "",
                "MYSQL_DB": "your_database"
            }
        }
    }
}

Mysql MCP Server — by midu2 tools

  • mysql_query — Execute read-only SELECT queries against the MySQL database. - Maximum query length: 4096 characters - Maximum result rows: 1000 - Query timeout: 30 seconds
    sql:string*
  • mysql_execute — Execute data modification queries (INSERT/UPDATE/DELETE). - Returns affected rows count and insert ID - Supports parameterized queries - Automatic transaction handling
    sql:string*, params:array
  • list_tables — List all tables in current database
    (no parameters)
  • describe_table — Show table structure
    table:string*

Overview

Mysql tools

  • mysql_query: Execute read-only SELECT queries against the MySQL database.
  • Maximum query length: 4096 characters
  • Maximum result rows: 1000
  • Query timeout: 30 seconds
  • mysql_execute: Execute data modification queries (INSERT/UPDATE/DELETE).
  • Returns affected rows count and insert ID
  • Supports parameterized queries
  • Automatic transaction handling
  • list_tables: List all tables in current database
  • describe_table: Show table structure

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬