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
🏎️ 🏠 ☁️ - 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
uvx mysql_mcp_servercentralmind/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 @f4ww4z/mcp-mysql-serverTheRaLabs/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-mysqlAderlo Cloud
by cloud.aderlo
Manage Aderlo Cloud hosting: files, DNS, MySQL/PostgreSQL databases and WP-CLI over OAuth scopes.
https://aderlo.cloud/api/mcpAgentSQL
by io.github.cuipengdba
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
https://demo.agentsql.cn/mcpAI2SQL
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-mcpamnesic
by io.github.SurajKGoyal
Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.
uvx amnesic@0.2.2Beget Hosting
by io.github.badigit
Beget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 tools
uvx beget-mcp@0.2.0brokre
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.36custom-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.2data
by co.thinair
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
https://data.thinair.co/mcpdatabase-admin
by io.github.cybeleri
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
npx -y database-admin-mcp@1.0.1database-mcp
by io.github.cocaxcode
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
npx -y @cocaxcode/database-mcp@0.1.14database-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.0DataClawe — 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/sseDataLink
by io.github.pilat
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
npx -y @pilat/mcp-datalink@1.2.4datamcp — 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/mcpDataset 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-databaseDB Connect MCP
by io.github.yugui923
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
uvx db-connect-mcp@0.3.1DB 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.0DB 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.1db-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.5db-gateway
by io.github.sijunkim
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more
npx -y db-gateway@1.0.4Showing 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.
