Best MCP Servers for MySQL (2026)
MySQL through MCP: dedicated servers from Benborla, DesignComputer, Wenb1n, F4ww4z, and a Go implementation, plus multi-database tools (AnyQuery, Alchemy, Centralmind, FreePeak, Legion) that speak MySQL alongside other engines.
This page collects the 10 MCP servers in our directory that genuinely cover mysql — together they have 6,385 GitHub stars, and 0 of them run as hosted services you can connect to without installing anything. The highest-rated options are julien040/anyquery, benborla29/mcp-server-mysql, designcomputer/mysql_mcp_server.
How to choose
Pick a dedicated MySQL server for single-database work; pick a multi-database tool if the same agent also touches Postgres or SQLite.
julien040/anyquery
by julien040
🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.
npx -y julien040-anyquerybenborla29/mcp-server-mysql
by benborla
☁️ 🏠 - MySQL database integration in NodeJS with configurable access controls and schema inspection
npx -y -y @benborla29/mcp-server-mysqldesigncomputer/mysql_mcp_server
by designcomputer
🐍 🏠 - MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines
npx -y -y @smithery/clicentralmind/gateway
by centralmind
🏎️ 🏠 🍎 🪟 - MCP and MCP SSE Server that automatically generate API based on database schema and data. Supports PostgreSQL, Clickhouse, MySQL, Snowflake, BigQuery, Supabase
npx -y centralmind-gatewayrunekaagaard/mcp-alchemy
by runekaagaard
🐍 🏠 - Universal SQLAlchemy-based database integration supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server and many more databases. Features schema and relationship inspection, and l
npx -y runekaagaard-mcp-alchemyFreePeak/db-mcp-server
by FreePeak
🏎️ 🏠 – A high-performance multi-database MCP server built with Golang, supporting MySQL & PostgreSQL (NoSQL coming soon). Includes built-in tools for query execution, transaction management, schema
npx -y @freepeak/db-mcp-serverwenb1n-dev/mysql_mcp_server_pro
by wenb1n-dev
🐍 🏠 - Supports SSE, STDIO; not only limited to MySQL's CRUD functionality; also includes database exception analysis capabilities; controls database permissions based on roles; and makes it easy for
npx -y wenb1n-dev-mysql-mcp-server-prof4ww4z/mcp-mysql-server
by f4ww4z
📇 🏠 - Node.js-based MySQL database integration that provides secure MySQL database operations
npx -y -y @smithery/cliTheRaLabs/legion-mcp
by TheRaLabs
🐍 🏠 Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.
npx -y @modelcontextprotocol/inspectorZhwt/go-mcp-mysql
by Zhwt
🏎️ 🏠 – Easy to use, zero dependency MySQL MCP server built with Golang with configurable readonly mode and schema inspection.
npx -y zhwt-go-mcp-mysqlFrequently asked questions
What is the most popular MCP server for MySQL?
julien040/anyquery leads this list with 1,684 GitHub stars. 🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.
Are these MySQL MCP servers free to use?
10 of the 10 servers here publish a license in the directory (NOASSERTION, MIT, Apache-2.0). 0 of them run as hosted services you can connect to remotely; the rest you install and run yourself. Hosted services may have their own pricing.
How do I choose an MCP server for MySQL?
Pick a dedicated MySQL server for single-database work; pick a multi-database tool if the same agent also touches Postgres or SQLite.
