Skip to main content
Glama
115,682 servers. Updated
20 Best MySQL MCP Servers: compared and ranked, November 2026Ranked from 638 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables an agent to query connected MySQL databases through named aliases, running reads immediately while holding data-changing statements for local user approval. Passwords are entered on the user's own computer and never reach the agent.
    1,409,248 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP-compatible AI agents to run policy-checked SQL against MySQL through a self-hosted Streamable HTTP endpoint, where each request is authenticated by bearer token and constrained by role-based statement allowlists, timeouts, and row limits. It also provides identity introspection, admin-gated configuration reload, and JSONL audit logging of allowed, denied, and errored queries.
    1
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables secure interaction with MySQL databases, allowing AI assistants to list tables, read data, and execute SQL queries through a controlled interface.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query and modify MySQL and MariaDB databases over MCP, with each connection independently permitting selects, inserts, updates, deletes, and DDL while defaulting to read-only and rejecting anything outside the allowed operations. Connections are configured in JSON, result sets are capped and truncated, and passwords stay server-side.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides secure MySQL database access using credentials stored in 1Password, enabling AI assistants to query MySQL databases without exposing passwords.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A Node.js MCP server that enables Claude Desktop to securely run read-only SQL queries against MariaDB/MySQL and Microsoft SQL Server databases using OAuth 2.0 PKCE authentication. It provides short-lived, per-user credentials that never touch disk, allowing secure database access through natural language interactions.
    5
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Turn PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite or Snowflake into MCP tools and a REST API, with API keys and per-table role-based access.
    8
    169
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Lets AI agents and developers inspect and query local MySQL, Redis, and MongoDB instances over STDIO or authenticated loopback HTTP, with read-only defaults and allowlisted non-production writes that require explicit opt-in. Production connections always reject writes, and database-enforced read-only accounts are recommended.
    18
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    A multi-database MCP server with OAuth 2.0 authentication and granular access control, enabling secure connections to multiple database types (SQLite, MySQL, PostgreSQL, MongoDB, Redis) with configurable read/write permissions and tool filtering.
    3
    96 npm
    13
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents and MCP clients to perform read-only SQL Server DBA investigations across health, performance, backups, jobs, security, and schema design. It allows the AI to suggest fixes, but SQL Server permissions and tool checks prevent any database changes.
    42
    78 npm
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    A small MCP server that lets an LLM query PostgreSQL, MySQL, MariaDB, SQL Server, or SQLite databases safely — read-only, role-restricted, and with sensitive data blacked out.
    4
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Local credential broker that enables AI agents to securely run CLI tools like SSH and MySQL without exposing passwords to the AI context, environment variables, or process listings.
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLM clients to read and modify MS-SQL, PostgreSQL, MySQL/MariaDB and SQLite databases through 38 MCP tools, with every table, view, function and procedure gated by explicit permission rules that deny by default. Ships with a desktop GUI for authoring rules, approving destructive operations and auditing what the model did.
    GPL 3.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    A governed SQL gateway for untrusted AI agents, providing controlled access to PostgreSQL, MySQL, and OceanBase with RBAC, field ACLs, row policies, and cost controls.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables read-only SQL queries across several named MySQL/MariaDB/Aurora and Postgres databases from one place, with tools to list databases, tables, and describe schemas. It enforces safety by requiring non-local hosts to be read replicas and by running every statement in a rolled-back read-only transaction.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Desktop app with a local MCP server that lets AI agents query PostgreSQL, MySQL, SQLite and SQL Server read-only. Agents get the schema and, by default, counts and summaries instead of rows; columns you mark never send are refused in any form.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude Code to inspect and query PostgreSQL, MySQL/MariaDB, IBM Db2, SQLite, and Redis through a small set of tools, with per-connection permission checks, SQL and Redis command guarding, result limits and masking, and audit logging.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    DataNexa is a local, read-only database MCP gateway for AI agents. It routes SQLite, MySQL, PostgreSQL, and any JDBC-compatible database through a single localhost endpoint, enforces read-only access via SQL AST validation with row, time, and connection limits, and keeps a local audit trail of every query.
    26
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
    15
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A high-performance MySQL database MCP server providing 29 professional tools for data operations, schema management, bulk operations, backup, monitoring, and security, with intelligent caching and enterprise-grade safety features.
    794 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables running single, validated SELECT statements against PostgreSQL, MySQL/MariaDB, SQL Server, SQLite, and Oracle through read-only sessions with schema/table inspection, query plans, row limits, timeouts, and an audit log. Keeps the assistant strictly read-only by combining a read-only database user, SQL validation, and automatic rollback.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Gives AI coding tools reviewed access to PostgreSQL, MySQL, SQL Server, and SQLite databases, letting read-only queries run instantly while every data or schema change pauses for human approval in a review dialog. It also exposes schema introspection for agents and a way to open the connection manager.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables secure, controlled access to existing relational databases via MCP, with API key authorization, read/write permissions, table-level allow/deny lists, SQL validation, rate limiting, audit logging, and a web management console. Supports PostgreSQL, MySQL, SQLite, SQL Server, and Oracle.
    24 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to run read-only SQL against SQLite or MySQL databases through MCP tools for listing tables, describing schemas, and querying data. Wraps every call in guardrails such as statement allow-listing, row caps, query timeouts, PII masking, and audit logging.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to explore and run read-only queries across MySQL/MariaDB, PostgreSQL, SQLite, SQL Server, Oracle, and MongoDB through MCP, with per-API-key database authorization, SQL whitelist and row/timeout limits, and a local web UI for managing connections and keys.
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to safely explore and query MySQL, MariaDB, PostgreSQL, SQLite and StarRocks databases through read-only tools for schema listing, table description, schema search, row sampling, query execution, and plan explanation. Enforces least-privilege accounts, engine-level read-only sessions with timeouts, parsed SQL guardrails, and column masking so runaway or unsafe queries are refused.
    8
    MIT