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 84 MCP servers in our directory that genuinely cover mysql — together they have 6,385 GitHub stars, and 22 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

1.7k ★

🏎️ 🏠 ☁️ - 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-anyquery
GoDatabases
🔌

benborla29/mcp-server-mysql

by benborla

1.6k ★MIT

☁️ 🏠 - MySQL database integration in NodeJS with configurable access controls and schema inspection

$npx -y -y @benborla29/mcp-server-mysql
JavaScriptDatabases
🔌

designcomputer/mysql_mcp_server

by designcomputer

1.2k ★MIT

🐍 🏠 - MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines

$uvx mysql_mcp_server
PythonDatabases
🔌

centralmind/gateway

by centralmind

528 ★Apache-2.0

🏎️ 🏠 🍎 🪟 - 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-gateway
GoDatabases
🔌

runekaagaard/mcp-alchemy

by runekaagaard

401 ★MPL-2.0

🐍 🏠 - 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-alchemy
PythonDatabases
🔌

FreePeak/db-mcp-server

by FreePeak

372 ★MIT

🏎️ 🏠 – 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-server
GoDatabases
🔌

wenb1n-dev/mysql_mcp_server_pro

by wenb1n-dev

244 ★MIT

🐍 🏠 - 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-pro
PythonDatabases
🔌

f4ww4z/mcp-mysql-server

by f4ww4z

157 ★MIT

📇 🏠 - Node.js-based MySQL database integration that provides secure MySQL database operations

$npx -y @f4ww4z/mcp-mysql-server
JavaScriptDatabases
🔌

TheRaLabs/legion-mcp

by TheRaLabs

90 ★GPL-3.0

🐍 🏠 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/inspector
PythonDatabases
🔌

Zhwt/go-mcp-mysql

by Zhwt

52 ★MIT

🏎️ 🏠 – Easy to use, zero dependency MySQL MCP server built with Golang with configurable readonly mode and schema inspection.

$npx -y zhwt-go-mcp-mysql
GoDatabases
🧩

Aderlo Cloud

by cloud.aderlo

Manage Aderlo Cloud hosting: files, DNS, MySQL/PostgreSQL databases and WP-CLI over OAuth scopes.

$https://aderlo.cloud/api/mcp
DatabaseFilesCloud
🧩

AgentSQL

by io.github.cuipengdba

Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval

$https://demo.agentsql.cn/mcp
DatabaseAIDevTools
🧩

AI2SQL

by io.ai2sql

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

$https://builder.ai2sql.io/api/chatgpt-mcp
DatabaseAI
🧩

amnesic

by io.github.SurajKGoyal

Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.

$uvx amnesic@0.2.2
DatabaseDevToolsData
🧩

Beget Hosting

by io.github.badigit

Beget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 tools

$uvx beget-mcp@0.2.0
DatabaseAIDevTools
🧩

brokre

by io.github.Furowu

AI-safe credential broker for MCP — run saved SSH/MySQL/psql aliases; passwords never reach AI.

$npx -y brokre@0.2.36
DatabaseAIDevTools
🧩

custom-mcp-database

by io.github.renanlido

Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.

$uvx custom-mcp-database@0.6.2
DatabaseAIDevTools
🧩

data

by co.thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

$https://data.thinair.co/mcp
DatabaseAIData
🧩

database-admin

by io.github.cybeleri

Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL

$npx -y database-admin-mcp@1.0.1
DatabaseDevToolsData
🧩

database-mcp

by io.github.cocaxcode

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

$npx -y @cocaxcode/database-mcp@0.1.14
DatabaseDevToolsData
🧩

database-mcp-mysql

by io.github.arifulislamat

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

$npx -y @database-mcp/mysql@0.5.0
DatabaseDevToolsData
🧩

DataClawe — Database as a Utility

by com.dataclawe

AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.

$https://mcp.dataclawe.com/sse
DatabaseAIData
🧩

DataLink

by io.github.pilat

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

$npx -y @pilat/mcp-datalink@1.2.4
DatabaseDevToolsData
🧩

datamcp — Hosted Model Context Protocol for Databases, APIs, and Agent Memory

by io.github.mironovisa

PostgreSQL, MySQL, OpenAPI/Swagger, and shared Agent Memory with scoped access.

$https://api.datamcp.app/api/mcp
DatabaseAPIDevTools
🧩

Dataset to Postgres, Supabase & MySQL (Database Push)

by io.github.Nero-Engine

Push rows from a dataset, file or Google Sheet into a Postgres, Supabase, Neon or MySQL table.

$https://mcp.apify.com/?tools=nerolabs/dataset-to-database
DatabaseFilesDevTools
🧩

DB Connect MCP

by io.github.yugui923

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

$uvx db-connect-mcp@0.3.1
DatabaseDevToolsData
🧩

DB Explorer

by io.github.AYUSH-148

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

$uvx db-explorer-mcp-server@0.1.0
DatabaseAIDevTools
🧩

DB MCP Server

by io.github.stucchi

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

$uvx db-mcp-server@1.2.1
DatabaseDevToolsData
🧩

db-access-mcp

by io.github.Rheopyrin

MCP server for Postgres/MySQL/Redshift/SQL Server over SSH/SSM tunnels with secret providers.

$npx -y @rheopyrin/db-access-mcp@0.1.5
DatabaseDevTools
🧩

db-gateway

by io.github.sijunkim

145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more

$npx -y db-gateway@1.0.4
DatabaseDevToolsData

Showing the top 30 of 84 servers. Browse the full MCP directory

Frequently 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 84 servers here publish a license in the directory (NOASSERTION, MIT, Apache-2.0). 22 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.