Best MCP Servers for MySQL (2026)

The best MCP servers for MySQL and MariaDB — connect AI agents to your relational database to run queries, explore schemas, and safely read or update records.

Browse all MySQL servers →
  1. 1
    M
    Mcp Server Mysqlbenborla29
    Most popular in this category on AllMCPs
    MySQL database integration in NodeJS with configurable access controls and schema inspection
    1 0 0
  2. 2
    A
    Anyqueryjulien040
    Community pick
    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.
    0 0 0
  3. 3
    M
    Mysql Mcp Serverdesigncomputer
    Community pick
    MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines
    1 0 0
  4. 4
    G
    Gatewaycentralmind
    Community pick
    MCP and MCP SSE Server that automatically generate API based on database schema and data. Supports PostgreSQL, Clickhouse, MySQL, Snowflake, BigQuery, Supabase
    2 0 0
  5. 5
    Mcp Alchemyrunekaagaard
    Community pick
    Universal SQLAlchemy-based database integration supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server and many more databases. Features schema and relationship inspection, and large dataset analysis capabilities.
    3 0 0
  6. 6
    Db Mcp ServerFreePeak
    Community pick
    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 exploration, query building, and performance analysis, with seamless Cursor integration for enhanced database workflows.
    1 0 0
  7. 7
    M
    Mysql Mcp Server Prowenb1n-dev
    Community pick
    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 developers to extend tools with customization
    0 0 0
  8. 8
    AnythingmcpHelpCode-ai
    Community pick
    Self-hosted source-available MCP gateway and API-to-MCP bridge. Converts REST, SOAP/WSDL, GraphQL, and SQL/NoSQL databases (PostgreSQL, MySQL, MariaDB, MSSQL, Oracle, MongoDB, SQLite) into MCP tools — no SDK, no code. Imports OpenAPI / Postman / WSDL / GraphQL specs; bridges multiple MCP servers behind one endpoint. Ships with 29 pre-built adapters (DHL, DATEV, Weclapp, Personio, Handelsregister, Shopware 6, VIES, OpenPLZ, Bundesbank, etc.). OAuth2 (PKCE + Client Credentials), Bearer, API Key, WS-Security, TLS certs. AES-256-GCM credential encryption, full audit log, per-user MCP API keys, tool-level RBAC.
    2 0 0
  9. 9
    Mcp Mysql Serverf4ww4z
    Community pick
    Node.js-based MySQL database integration that provides secure MySQL database operations
    1 0 0
  10. 10
    L
    Legion McpTheRaLabs
    Community pick
    Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.
    0 0 0

Which MySQL MCP server should you use?

When choosing a Model Context Protocol server for MySQL, select verified or official listings if you need strict API security guarantees. For rapid local dev testing with Claude or Cursor, community-maintained tools offer zero-setup configuration blocks ready to copy-paste.

Frequently asked questions about MySQL MCP servers

What is the best MySQL MCP server?

Several community MySQL/MariaDB servers are widely used. This page ranks them by real usage across the AllMCPs directory.

Is it safe to give an agent MySQL access?

Use a dedicated database user with least-privilege grants, and prefer read-only access until you trust the workflow. MCP servers act with exactly the credentials you provide.

Does the same server work with MariaDB?

Usually yes — MariaDB is wire-compatible with MySQL, so most MySQL MCP servers connect to it without changes. Check the listing to be sure.

More best-of guides

Best for DatabasesBest for DevelopersBest for Web Search & ScrapingBest for SecurityBest for Browser AutomationBest for Slack & CommunicationBest for Memory & KnowledgeBest for Finance & Fintech