mysql-mcp-server@0.1.0

A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases. This server allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.

  • latest version

    0.4.1

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mysql-mcp-server package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    SQL Injection

    mysql-mcp-server is an A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases. This server allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.

    Affected versions of this package are vulnerable to SQL Injection via the read_resource() function in the mysql URI Handler. An attacker can execute unauthorized SQL commands by supplying crafted input to the uri_str argument.

    How to fix SQL Injection?

    Upgrade mysql-mcp-server to version 0.3.0 or higher.

    [,0.3.0)