MCP servers for MySQL

49 servers from the official MCP Registry that work with MySQL, 1 of them official. 30 need no API key and 6 can run hosted. Each row shows the security checks, the secrets asked for and an install command.

Sort
How we check servers

Registry data fetched

MySQL MCP servers 49

MCP servers, MySQL, most relevant first
Type Secrets Version Actions
★ 11 io.github.neverinfamous/mysql-mcp

Enterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment

4/4All passed63health of 100DockerRuns locallyNoneno keys asked1.0.0
★ 7 capital.hove/read-only-local-mysql-mcp-server

MCP server for read-only MySQL database queries in Claude Desktop

7/7All passed60health of 100npmRuns locallyNoneno keys asked0.1.1
★ 5 io.github.arifulislamat/database-mcp-mariadb

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

6/71 warning50health of 100npmRuns locally1secret asked0.5.0
★ 5 io.github.arifulislamat/database-mcp-mysql

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

6/71 warning51health of 100npmRuns locally1secret asked0.5.0
★ 2 io.github.Kurok1/mcp-server-mysql

Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.

4/4All passed51health of 100DockerRuns locally1secret asked2.1.0
★ 2 io.github.marcelo-ochoa/mysql

An MCP server for MySQL databases.

7/7All passed54health of 100npmRuns locally1secret asked1.0.7
★ 1 io.github.codeChap/mysql

MCP server for MySQL/MariaDB — pooled async queries with destructive-query safety

2/2All passed49health of 100RemoteRuns locallyNoneno keys asked0.2.0
io.github.jimmyjan0824/mysql-audit

MySQL migration and query safety review for AI agents: locks, table copies, data loss, injection.

7/7All passed53health of 100PyPIRuns locallyNoneno keys asked0.3.1
io.github.gistrec/mcp-mysql-client

MCP server for one MySQL database: schema, read-only queries and guarded writes.

7/7All passed54health of 100npmRuns locally1secret asked1.0.1
com.insightfulpipe/mysql

Hosted MySQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.

3/3All passed47health of 100RemoteHostedNoneno keys asked1.0.0
io.github.hughhan1/mysql

MySQL statements and transactions over MCP

4/4All passed49health of 100DockerRuns locally1secret asked0.4.1
io.github.AIops-tools/mysql-aiops

Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.

7/7All passed60health of 100PyPIRuns locallyNoneno keys asked0.12.0
io.github.shibbirweb/mcp-mysql-read-only

Read-only MySQL access, with the database and server switchable mid-conversation.

7/7All passed58health of 100npmRuns locally2secrets asked1.1.6
★ 3.7k io.github.bytebase/dbhub

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

6/82 warnings76health of 100npmRuns locally4secrets asked1.5.0
★ 589 io.github.Env-Kit/envkit

Control the EnvKit local dev stack (PHP, nginx, MySQL, sites). Requires the EnvKit desktop app.

6/6All passed61health of 100MCPBRuns locallyNoneno keys asked0.33.0-beta.44
★ 166 io.github.faucetdb/faucet

SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.

7/7All passed60health of 100npmRuns locallyNoneno keys asked0.1.15
★ 72 io.github.appwrite/mcp Official Appwrite

Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN

5/5All passed77health of 100PyPILocal or hostedNoneno keys asked2.0.1
★ 65 com.dbtrail/dbtrail

MySQL change tracking with instant row-level recovery and forensic attribution for compliance.

3/3All passed68health of 100RemoteHostedNoneno keys asked0.1.0
★ 34 io.github.verygoodplugins/mcp-local-wp

WordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.

7/7All passed63health of 100npmRuns locallyNoneno keys asked2.0.0
★ 33 ai.haymon/dbmcp

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

4/4All passed65health of 100DockerRuns locally1secret asked0.15.2
★ 24 com.dbconvert/streams

Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query.

4/4All passed66health of 100MCPBRuns locallyNoneno keys asked2.7.3
★ 19 io.github.Souhar-dya/mcp-db-server

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

4/4All passed57health of 100DockerRuns locallyNoneno keys asked1.3.1
★ 15 io.github.cuipengdba/agentsql

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

3/3All passed64health of 100RemoteHostedNoneno keys asked0.4.0
★ 8 io.github.orifisher2/sqlike-mcp

Lints SQL and checks rewrites return the same rows. Postgres, MySQL, MariaDB, SQLite, MSSQL, DuckDB

7/7All passed66health of 100npmRuns locally1secret asked0.2.3
★ 7 io.github.AYUSH-148/db-explorer-mcp-server

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

7/7All passed52health of 100PyPIRuns locally1secret asked0.1.0
★ 6 io.github.yugui923/db-connect-mcp

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

6/71 warning60health of 100PyPIRuns locally1secret asked0.3.1
★ 5 io.github.pilat/mcp-datalink

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

7/7All passed57health of 100npmRuns locally1secret asked1.2.4
★ 4 io.github.yiminspace/quarry

Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.

6/71 warning56health of 100PyPIRuns locallyNoneno keys asked1.11.0
★ 4 io.github.SurajKGoyal/amnesic

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

7/7All passed61health of 100PyPIRuns locallyNoneno keys asked0.2.2
★ 4 io.github.Cmoen11/redm-mcp

RedM / RDR3 docs MCP server: native lookups, semantic search, VORP, RSGCore, oxmysql.

3/3All passed39health of 100RemoteHostedNoneno keys asked0.1.0
★ 3 io.github.Furowu/brokre

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

5/72 warnings53health of 100npmRuns locallyNoneno keys asked0.2.36
★ 3 io.github.badigit/beget-mcp

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

7/7All passed57health of 100PyPIRuns locally1secret asked0.2.0
★ 3 io.github.renanlido/custom-mcp-database

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

7/7All passed43health of 100PyPIRuns locallyNoneno keys asked0.6.2
★ 2 io.github.ugurcl/dbridge-mcp

Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits.

7/7All passed44health of 100npmRuns locallyNoneno keys asked0.7.1
★ 2 io.github.cocaxcode/database-mcp

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

7/7All passed52health of 100npmRuns locallyNoneno keys asked0.1.14
★ 2 io.github.stucchi/db

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

7/81 warning36health of 100PyPIRuns locally3secrets asked1.2.1
★ 1 com.speaktoyourdatabase/styd

Odoo ERP, PostgreSQL & MySQL MCP server: ask your business data in Claude or ChatGPT. Read-only.

3/3All passed45health of 100RemoteHostedNoneno keys asked1.0.1
★ 1 io.github.ed-smartass/dbmole-mcp

PostgreSQL and MySQL with connections managed at runtime by the agent, SSH tunnels, readonly.

7/7All passed53health of 100npmRuns locallyNoneno keys asked0.2.0
★ 1 io.github.unvus/neosql-mcp

Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.

7/7All passed54health of 100npmRuns locallyNoneno keys asked1.8.11
★ 1 io.github.ishay60/mcpolyglot

Policy-checked, audited agent access to Postgres, MySQL, SQLite, MongoDB and OpenAPI REST APIs.

7/7All passed51health of 100npmRuns locallyNoneno keys asked0.4.3
★ 1 io.github.Chris221/ftp-ssh-mcp

Work with a remote host over FTP/FTPS/SFTP, SSH, and MySQL.

6/71 warning55health of 100npmRuns locallyNoneno keys asked1.0.3
★ 1 io.github.phatngoit/mcp-db-connect

MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.

7/7All passed56health of 100npmRuns locally1secret asked0.1.21
★ 1 io.github.rzlco666/mcp-sql-rust

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

5/61 warning35health of 100MCPBRuns locally1secret asked0.4.0
★ 1 io.github.Fashad-Ahmed/universal-db-mcp

Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.

7/7All passed42health of 100PyPIRuns locally2secrets asked1.1.2
★ 1 io.github.atarkowska/fastmcp-sqltools

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

7/7All passed38health of 100PyPIRuns locallyNoneno keys asked0.3.0
io.github.anderson-0/qh

Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.

4/4All passed43health of 100DockerRuns locally1secret asked1.0.3
io.github.Jazzfer-2003/localhost-doctor

Diagnoses broken XAMPP/WAMP localhost stacks: port conflicts, crashed Apache/MySQL, error logs

7/7All passed47health of 100PyPIRuns locallyNoneno keys asked0.1.0
io.github.alghanim/universal-db-mcp

Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2

4/4All passed43health of 100DockerRuns locallyNoneno keys asked0.2.0
io.github.djstreet11/rowbase

Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

6/71 warning45health of 100PyPIRuns locallyNoneno keys asked0.3.0

Showing 1 to 49 of 49. These are the most recently updated; search or pick a category for the rest.

MySQL MCP servers: what to know before you pick one

What's the most popular MCP server for MySQL?

Start with the official one, io.github.appwrite/mcp, since it comes from the company itself. Among community builds, the most-starred on GitHub are mysql-mcp (★ 11), read-only-local-mysql-mcp-server (★ 7) and database-mcp-mariadb (★ 5). If you want one that passed every check, mysql-mcp did.

Can I trust these MySQL MCP servers?

On registry checks, 39 of 49 come out clean. We also read the code or live tool list of 34 of them without running anything, and 6 raised a warning worth reading, such as an install script or text aimed at the AI. Treat a pass as "nothing found", and give any server the least access that works.

Is a Claude skill better than an MCP server for MySQL?

An MCP server gives the AI new tools, such as reaching MySQL itself. A skill only teaches it how to do a task with tools it already has. There are 65 Claude skills for MySQL if that fits better.

How fresh are these MySQL MCP servers?

24 of the 49 were updated in the 30 days before 31 Oct 2026. The latest was MySQL Audit, on 28 October.

Which MySQL MCP servers need no API key?

30 of the 49 list no secrets, including mysql-mcp, read-only-local-mysql-mcp-server and mysql. Some still ask you to sign in once they run.

Does MySQL make its own MCP server?

Yes. io.github.appwrite/mcp is published under a namespace the official MCP Registry verified to the company. The other 48 come from 47 independent publishers.

More topics: every “MCP server for…” page. Prefer a skill? Claude skills for this (65).