Skip to main content
Glama

MySQL MCP Servers

MySQL is an open-source relational database management system that is widely used for web applications and online services. It's known for its reliability, performance, and ease of use in storing and managing data.

1196 open-source servers · 0 connectors · mysql.com ↗

Connectors

Hosted endpoints you add to Claude, ChatGPT or any other MCP client by URL – nothing to install.

No MySQL connector yet. Self-host one of the servers below, or submit one.

Open-source servers

Code you run yourself, locally or on your own infrastructure.

Built for MySQL (256)

  • Why this server?

    Provides a universal interface for AI agents to interact with Alibaba Cloud AnalyticDB for MySQL, enabling database metadata retrieval, SQL query execution, query plan analysis, and access to table structures across databases.

    A
    license
    B
    quality
    D
    maintenance
    A universal interface that enables AI Agents to seamlessly communicate with Adb MySQL databases, allowing them to retrieve database metadata and execute SQL operations.
    3
    32
    Apache 2.0
  • Why this server?

    Provides read-only access to MySQL databases with tools for listing databases, exploring table schemas, and executing secure SQL queries with protection against data modification.

  • Why this server?

    Provides a MySQL database interface with support for DDL and DML operations, permission control, operation logging, connection pooling, and health checks.

  • Why this server?

    Provides comprehensive database management capabilities including query execution, schema inspection, index management, and database connection handling for MySQL databases and cloud instances like AWS RDS and Google Cloud SQL.

    A
    license
    A
    quality
    D
    maintenance
    Enables interaction with MySQL databases (including AWS RDS and cloud instances) through natural language. Supports database connections, query execution, schema inspection, and comprehensive database management operations.
    8
    19 npm
    7
    MIT
  • Why this server?

    Provides read-only SQL query execution and database exploration capabilities for MySQL databases, allowing natural language queries via Claude.

    A
    license
    A
    quality
    B
    maintenance
    Enables Claude Desktop to execute read-only SQL queries on MySQL databases via natural language, with dynamic connection switching and built-in security.
    3
    224 npm
    7
    MIT
  • Why this server?

    Provides read-only access to MySQL databases, enabling listing databases and tables, describing table schemas, executing SELECT, SHOW, DESCRIBE, EXPLAIN, and EXPLAIN ANALYZE queries, and retrieving foreign key relationships between tables.

    A
    license
    A
    quality
    D
    maintenance
    Enables read-only MySQL database access, allowing listing databases, tables, describing schemas, and executing SELECT/SHOW/DESCRIBE/EXPLAIN queries.
    7
    48 npm
    4
    MIT
  • Why this server?

    Executes SELECT queries on Tencent Cloud TDSQL-C and TDSQL MySQL databases via DMC web API, with tools for instance discovery, login, and schema browsing.

    A
    license
    A
    quality
    C
    maintenance
    An MCP server that executes SQL queries on TDSQL-C and TDSQL database instances via Tencent Cloud DMC (Data Management Console), leveraging browser cookies for authentication.
    8
    4
    MIT
  • Why this server?

    Provides tools for managing MySQL databases through the Panelica hosting panel API, enabling creation, modification, and management of databases and users.

    A
    license
    C
    quality
    B
    maintenance
    Enables natural language interaction with a Panelica hosting panel to manage domains, SSL, databases, services, and more through any MCP client.
    404
    100 npm
    2
    MIT
  • Why this server?

    Allows AI agents to explore schemas, query data, and execute SQL statements on a MySQL database. Supports read-only queries (SELECT/SHOW/DESCRIBE/EXPLAIN) and optional write operations (INSERT/UPDATE/DELETE/DDL) when write mode is enabled.

    A
    license
    B
    quality
    C
    maintenance
    MCP server that connects AI agents to MySQL databases for schema exploration, data querying, and SQL execution via natural language.
    7
    22 PyPI
    2
    MIT
  • Why this server?

    Enables AI agents to interact with MySQL databases, allowing queries, schema exploration, and management through natural language or structured commands.

    A
    license
    A
    quality
    D
    maintenance
    Enables Claude Code to directly operate MySQL databases through natural language, supporting multi-environment profiles, security modes, and 11 tools.
    11
    2
    Apache 2.0
  • Why this server?

    Validates SQL strings for MySQL dialect.

  • Why this server?

    Provides tools for interacting with MySQL databases, including executing read-only queries, running data-changing statements when permitted, listing tables, inspecting table schemas, and managing transactions. It supports multiple named environments, per-environment read-only enforcement, result truncation, connection pooling, and SSH tunnel connectivity.

    A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to safely query and modify MySQL databases, with one instance managing unlimited named environments (dev/uat/prod) routed per call. Supports per-environment read-only gating, SSH tunnels with automatic reconnect, transactions, connection pooling, and schema exploration.
    7
    24 npm
    2
    MIT
  • Why this server?

    Provides read-only tools for inspecting and monitoring MySQL servers, including server status and uptime, active connections, schemas, table sizes, indexes, locks, Performance Schema metrics, slow-query analysis, storage engine status, and capacity planning insights.

    A
    license
    A
    quality
    B
    maintenance
    Enables natural-language inspection and monitoring of MySQL servers, including status, connections, schemas, table sizes, indexes, locks, and Performance Schema data. It provides read-only, production-safe tools for diagnostics and performance analysis across MySQL 5.7.9+/8.0+.
    16
    2
    MIT
  • Why this server?

    Enables comprehensive MySQL database management through AI assistants, including database and table operations, data querying, insertion, updates, deletion, and CSV/JSON import/export functionality with built-in SQL injection protection

    A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to manage MySQL databases through natural language commands. Supports database operations, table management, data queries, and import/export functionality with built-in security features.
    15
    17 npm
    1
    MIT
  • Why this server?

    Enables direct interaction with MySQL databases through natural language, allowing query execution, schema inspection, data analysis, and database management operations.

  • Why this server?

    Provides comprehensive MySQL database management capabilities including CRUD operations, health monitoring, performance analysis, SQL optimization, lock detection, and database structure querying with role-based access control

    A
    license
    B
    quality
    D
    maintenance
    Provides comprehensive MySQL database operations including CRUD, performance optimization, health analysis, and anomaly detection. Supports multiple connection modes, OAuth2.0 authentication, and role-based permissions for database management through natural language.
    9
    1
    MIT
  • Why this server?

    Provides e-commerce product management with CRUD operations, AI-powered description generation, smart search with pagination, and low stock monitoring through MySQL database integration.

  • Why this server?

    Provides comprehensive MySQL database operations including database and table management, data querying and modification (SELECT, INSERT, UPDATE, DELETE), index management, and schema operations with configurable permission controls for write operations.

    A
    license
    A
    quality
    C
    maintenance
    Enables LLMs to interact with MySQL databases through standardized protocol, supporting database management, table operations, data queries, and modifications with configurable permission controls.
    15
    30 npm
    1
    MIT
  • Why this server?

    Provides access to MySQL databases with fine-grained access control, supporting read-only queries, write operations, DDL statements, multi-database connections, and table-level permissions with configurable access modes (readonly, readwrite, full).

    A
    license
    A
    quality
    D
    maintenance
    Provides access to MySQL databases with fine-grained access control, supporting multiple databases simultaneously with configurable access modes (readonly, readwrite, full) and table-level permissions using whitelists, blacklists, wildcards, and regex patterns.
    1
    1
    MIT
  • Why this server?

    Provides tools to query (SELECT), execute writes/DDL, inspect table structures, test connections, and list configured database connections against MySQL databases, with per-database read/write permission controls.

    A
    license
    A
    quality
    C
    maintenance
    A multi-database MCP server that supports MySQL, GaussDB, Oracle, and DM8, providing a unified interface for executing queries, data manipulation, and schema inspection via natural language.
    5
    1
    MIT
  • Why this server?

    Provides tools for securely exploring and interacting with MySQL databases, including listing tables, reading table contents, executing SQL queries, retrieving schema information, sampling table data, and managing multiple database connections.

    A
    license
    A
    quality
    B
    maintenance
    Enables secure interaction with MySQL databases through MCP, offering tools for SQL queries, schema inspection, and data sampling, with support for multiple databases, SSH tunnels, and safe write operations.
    3
    1
    MIT
  • Why this server?

    Provides tools for interacting with MySQL databases, including listing databases and tables, describing table schemas, and running read-only SQL queries with configurable row limits and timeouts. Optionally supports write-mode queries when enabled.

    A
    license
    A
    quality
    B
    maintenance
    Enables AI agents and MCP clients to inspect MySQL databases and run read-only SQL queries through tools for listing databases, tables, schemas, and executing compact queries, with optional write mode and safety controls.
    4
    1
    MIT
  • Why this server?

    Enables secure interaction with MySQL databases, allowing AI assistants to list tables, read table contents, and execute SQL queries with proper error handling.

    A
    license
    B
    quality
    Not graded
    maintenance
    Enables secure interaction with MySQL databases through listing tables, reading data, and executing SQL queries with proper error handling and controlled access.
    1
    MIT
  • Why this server?

    Provides read-only access to MySQL databases with tools for executing SELECT queries, listing tables and databases, and describing table structures with built-in security features like SQL injection protection and automatic query limits.

    A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to safely query MySQL databases with read-only access, featuring SQL injection protection, connection pooling, and automatic query limits for secure database exploration.
    4
    MIT
  • Why this server?

    Provides MySQL database connectivity with tools for querying table schemas and structures in MySQL databases.

    A
    license
    B
    quality
    D
    maintenance
    Provides MySQL database connectivity and schema inspection tools, allowing users to connect to MySQL databases and retrieve table structures through configurable connection parameters.
    1
    ISC
  • Why this server?

    Enables secure interaction with MySQL databases, providing tools for listing tables, reading table contents, and executing SQL queries with proper error handling through a controlled interface.

    A
    license
    B
    quality
    C
    maintenance
    Enables AI applications to interact with MySQL databases through a secure interface, allowing database exploration, querying, and analysis with proper error handling and logging.
    1
    MIT
  • Why this server?

    Provides tools for connecting to MySQL databases, executing SQL queries with prepared statements, listing databases and tables, inspecting table schemas, and managing database connections with connection pooling support.

    A
    license
    A
    quality
    D
    maintenance
    Enables connecting to and querying MySQL databases directly from Cursor IDE, with support for executing SQL queries, listing databases and tables, inspecting schemas, and managing connections with SSL and connection pooling.
    8
    9 npm
    MIT
  • Why this server?

    Provides comprehensive MySQL database management capabilities including CRUD operations, SQL execution with role-based permissions (readonly, writer, admin), database health analysis, table lock detection, index usage analysis, SQL performance optimization, and support for querying tables by comments with Chinese-to-pinyin conversion.

    A
    license
    A
    quality
    D
    maintenance
    Enables comprehensive MySQL database operations including CRUD, performance optimization, health monitoring, index analysis, lock detection, and SQL execution plan analysis with role-based permission control.
    9
    MIT
  • Why this server?

    Provides tools to interact with a MySQL database, allowing users to execute SQL queries, inspect table structures, list databases and tables, and perform schema analysis.

    A
    license
    B
    quality
    D
    maintenance
    An MCP server for MySQL that enables users to execute SQL queries, inspect table structures, and explore database schemas through a clean, SOLID-based architecture. It includes built-in security validations to protect against dangerous operations and ensure safe interaction with database resources.
    2
    MIT
  • Why this server?

    Provides tools to interact with MySQL databases, allowing for querying data, executing updates, listing databases and tables, and inspecting schema structures with support for SSL and read-only modes.

    A
    license
    A
    quality
    B
    maintenance
    A lightweight MySQL MCP server that enables LLMs to interact with databases through tools for schema inspection and query execution. It features LLM-friendly formatting, SSL support, and a secure read-only mode with query timeout protections.
    7
    70 npm
    MIT