Skip to content

mysql-mcp-server

MIT★ 75updated 22 Sept 2026

An MCP server provides read-only access to MySQL databases.

Install

{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": [
        "mysql-mcp-server"
      ],
      "env": {
        "MYSQL_HOST": "your-mysql-host",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "your-mysql-user",
        "MYSQL_PASSWORD": "your-mysql-password",
        "MYSQL_DATABASE": "your-default-database"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Config as documented in its source, checked 16 Nov 2026. Placeholders such as API keys are the project's own: replace them with your values.

Tools (4)

list_databases
list_tables
describe_table
execute_query

Tool names from the README, checked 16 Nov 2026.

mysql-mcp-server compared with other MySQL servers

ServerLicenceToolsLast commitStars
mysql-mcp-serverMIT422 Sept 202675
mysql-mcp-serverApache-2.02413 Nov 202645

Every value is a checked fact on that server's own page. This is a comparison of facts, not a ranking.

Verified facts

Maintainer
dpflucas

Source · checked 16 Nov 2026

Licence
MIT

Source · checked 16 Nov 2026

Repository
github.com/dpflucas/mysql-mcp-server

Source · checked 16 Nov 2026

Last commit
22 Sept 2026

Source · checked 16 Nov 2026

GitHub stars
75

Source · checked 16 Nov 2026

Open issues
3

Source · checked 16 Nov 2026

Each value links to where it was found and shows the date it was checked. How we verify

Frequently asked questions

What does mysql-mcp-server do?

An MCP server provides read-only access to MySQL databases.

How do I install mysql-mcp-server?

Add the install config shown on this page to your MCP client's configuration. Check the README for client-specific steps.

What licence is mysql-mcp-server under?

MIT, as reported by the repository on 16 Nov 2026.

Is mysql-mcp-server still maintained?

The last commit was on 22 Sept 2026, and the repository had 3 open issues.

What tools does mysql-mcp-server expose?

4 tools: list_databases, list_tables, describe_table, execute_query.

More MySQL MCP servers