Skip to main content
Glama
131,385 servers. Updated
Browse by product
20 Best MySQL MCP Servers: compared and ranked, November 2026Ranked from 686 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"Connect to MySQL database and work with SQL statements" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables an LLM agent to write and execute checked read-only SQL against databases containing personal data while receiving tokens instead of declared personal values, so it can still compare, group, count, and join without seeing the underlying data.
    31 PyPI
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    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.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI agents with read-only access to a PostgreSQL database through fixed query tools and, for authorized agents, free SELECT on a PII-free view, with per-agent API keys, scopes, hardened SQL validation, audit logging, and Prometheus metrics.
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables LLMs to propose UPDATE/DELETE SQL that is run in a transaction, measured, and rolled back, requiring human approval before applying to prevent unauthorized changes.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to reach enterprise apps such as Jira, Microsoft 365, Salesforce, FedEx and Dell TechDirect, or your own REST APIs, through a single self-hosted MCP endpoint. Each agent gets its own key with per-app, per-value grants and a confirmation step for deletes, so calls are scoped and audited without exposing app credentials.
    51 npm
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to query PostgreSQL databases securely with read-only defaults, PII masking, rate limiting, and human-approved, expiring mutation tokens.
    9
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enforces safety and governance for SQL queries executed by AI agents, providing read-only enforcement, cost estimation, and audit trails.
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    SchemaBrain is an MCP server that sits between AI agents (Claude, Cursor, Windsurf) and your SQL database as a read-only trust + intelligence layer. The agent never writes SQL — 12 tools compile it from definitions you control, PII and secret categories are refused before the query runs, and every call lands in a tamper-evident (SHA-256-chained) audit log. Postgres today.
    12
    12
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    A cooperative guardrail for AI agents that blocks destructive shell commands, SQL statements, or cloud operations until a human approves them out-of-band, with a tamper-evident local ledger.
    4
    AGPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to securely use real secrets (API keys, database passwords) by requiring human approval for each release, ensuring secrets never enter the model's context.
    2
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Guardrail proxy for AI agents on SQL Server. Each statement runs as the caller's own login, a T-SQL parser blocks dangerous statements, and every statement is audited. Local stdio mode or a central Docker service.
    1
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Static security linter for MCP servers. Scans tool definitions for vulnerabilities (path traversal, SQL injection, SSRF), scores description quality, and auto-rewrites descriptions for safer agent tool selection.
    2
    384 PyPI
    10
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Access control for text-to-SQL agents. Before the model sees the schema, schemagate keeps only the tables and columns the caller may read, picks the few a question needs, and refuses hidden ones at query time. Postgres, Oracle, MySQL, SQL Server, SQLite. Quantum-safe signed audit log. Try it in your browser: https://ashishsinha1602.github.io/schemagate/
    9
    455 PyPI
    127
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to securely manage OneGuard secrets through natural language, including syncing .env files, rotating database passwords, generating and managing vaults and secrets, and auditing team access, without exposing secret values to the model.
    25
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLMs to run read-only queries against MySQL and PostgreSQL while detecting and masking PII in columns, values, and JSON/text fields before results reach the model.
    4
    57 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables agents to validate, explain, and gate SQL statements against a supplied schema before execution, returning safe/review/blocked verdicts, issue codes, and fix suggestions. It acts as a pre-execution go/no-go guard and composes with database access servers.
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables local detection of protected health information in source code before it reaches LLM prompts, log statements, or analytics calls.
    2
    67 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to ask users for credentials, secrets, and sensitive data through local browser forms that the model never sees, then resolve and use those values only at approved points of use. Also supports blind web capture, SSH key provisioning, and writes to .env files, SQL databases, and APIs, with the agent receiving only structural results.
    13
    400 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI coding agents to safely inspect and mutate relational databases through AST-level SQL guardrails, isolated dry-run rollback previews, automatic PII masking, and virtual schema hiding. Sensitive mutations are gated behind human sign-off via Slack, Microsoft Teams, or a live web approval feed.
    12
    60 npm
    1
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables local privacy scanning and masking of secrets and PII, verifies test-suite integrity to prevent silent fake success, and inspects or blocks destructive terminal and SQL commands before execution.
    4
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    A deliberately small MCP server that demonstrates security hardening against the OWASP MCP Top 10 with tools for file search, record queries, and document fetching, each defended against path traversal, SQL injection, and SSRF.
    4
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to search and read short, secret-masked excerpts from files in explicitly approved Dropbox, iCloud Drive and attached-drive folders, behind a deny-by-default gate that blocks path escapes, shell/SQL/URL access and instructions embedded in documents. Every request is logged as allowed or denied, and the server runs locally with no network calls or writes unless enabled.
    14
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Governance engine for MCP tool calls, providing deterministic rule enforcement to block destructive actions like SQL drops, shell commands, and file system modifications before execution.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    This server enables AI agents to connect to free, authenticated, or paid MCP servers, make native x402 payments for premium tools and resources, and require interactive user approval before payments are made.
    43 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to connect to tools and data through a governed MCP endpoint with agent identity, scoped permissions, guardrails, and full audit trails. Access is user-controlled and can be revoked instantly, with every tool call logged by agent identity and timestamp.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    ToolMesh is an Apache-2.0, self-hosted MCP gateway written in Go that sits between AI agents and backend systems. It enforces a fail-closed pipeline on every tool call, including per-tool and per-user authorization, server-side credential injection, structured audit logging, and output policies. APIs are declared in YAML with DADL, turning REST endpoints into MCP tools without writing a custom MCP
    6
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    SQL guardrails for AI agents, sitting between the agent and Postgres to enforce policies, block destructive queries, and audit all access.
    6
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables users to connect an AI agent to a deliberately hostile MCP server, run trigger prompts, and score whether the agent falls for tool poisoning, prompt injection, and rug-pull attacks, with canary-leak detection and CI-friendly reports.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Human-in-the-Loop authorization gateway for AI Agents. Securely pause MCP workflows and route high-risk actions to human approvers via Slack or Email.
    66 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Let LLMs analyze sensitive data safely by querying a tokenized, join-preserving copy of the database, with fail-closed PII scanning and provable numeric equivalence.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Lets Claude Code and other MCP clients read and propose changes against a live 1C:Enterprise 8.3 OData database, replacing INN, account, phone, and org/person names with deterministic tokens before any data reaches the model's context. Writes are prepared as token-only previews and only executed after explicit human confirmation, with a leak guard ensuring protected values never surface in responses, errors, or logs.
    10
    MIT
  • A
    license
    Not graded
    quality
    B
    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
    C
    maintenance
    A pre-action authorization server for AI agents that classifies tool calls into 14 intent categories, scores risk 0-100, and produces deterministic allow/deny/ask decisions with full audit trail.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to rehearse risky actions — SQL, shell, git, Terraform, cloud and SaaS operations — against simulations of the real system before executing them, so they can see the consequences first. Returns a consequence report with a safe, confirm or block verdict, blast radius, reversibility and evidence, without ever executing the action itself.
    Apache 2.0
  • 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
    B
    maintenance
    Enables AI agents to run PostgreSQL SQL through a controlled MCP gateway that blocks destructive commands, holds risky writes for human approval, records changed rows, and supports undoing applied writes including cascades.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agent sessions to reach a database through MCP with per-session, human-approved access grants, exclusive leased pool credentials, and revocable, auditable operations. It can be deployed locally or remotely with passkey-verified session administration.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query a database through a small non-SQL DSL, restricted per person by a scope file that hides out-of-scope tables and fields and caps result limits. Writes happen in two steps, returning a before/after preview plus a short-lived single-use token that only applies after human approval, and every call is recorded to a JSONL audit trail without sensitive values.
    PolyForm Noncommercial 1.0.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables cloud AI agents to safely work on a Mac through MCP-style JSON-RPC by providing approval-gated command execution, jailed file access, signed requests, and a tamper-evident audit log. Risky actions require on-device approval, while files remain confined to a chosen folder with recoverable writes and deletions.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A default-deny SQL firewall sidecar for AI agents that enforces per-agent policies on database queries, provides safe rewrites, and maintains a tamper-evident audit chain.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to work with business-document data through MCP tool calls constrained by a registry, data tiers, human approval for writes, and a tamper-evident audit log. Ships with saved evals and a dashboard to prove and inspect those controls.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables multiple AI agents to connect through one local gateway with per-agent bearer-token profiles, default-deny tool allow-lists, pinned tool definitions, read-only backend enforcement, and spend-capped model calls with audit logging.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    This MCP server lets an AI agent query a Postgres database freely while routing every write to a human approver on Telegram with the exact SQL, parameters and reason, so changes only run after an explicit Approve tap and never on timeout or rejection. All decisions are recorded in an append-only audit log.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A local policy wrapper for Supabase MCP that secures access tokens and enforces strict execution models, including project allowlists and write-access restrictions. It provides a safety layer to prevent AI agents from accidentally executing migrations or writing SQL against production environments.
    5 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI clients to inspect schemas and run guarded, single-statement read-only SQL against SQLite, MySQL, and PostgreSQL, with enforced row limits, engine-level read-only sessions, and JSONL audit logging.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables SQL query sanitization by rewriting queries at the AST level to prevent PII/PHI exposure, acting as a proxy between AI agents and PostgreSQL databases.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a security and context-control layer that multiplexes multiple MCP servers behind a single endpoint, scanning tool definitions and results, enforcing authorization, rate limiting, and audit logging, and dynamically retrieving tools to manage context window usage.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP agents to rehearse risky database plans on a no-network clone, measure blast radius and guardrail violations, and apply only approved plans to production when the rehearsal matches.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for ClawVault - an AI agent payment security layer that enables Claude to request payments, check limits, and manage transactions with configurable rules.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local MCP server that lets agents save copied secrets into 1Password and use approved fields through encrypted handles without plaintext secret tool arguments or responses. Includes a local permissions dashboard and optional service-account access for unattended work. Requires the 1Password CLI and runs on your computer.
    112 npm
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables autonomous agents to run shell and subprocess commands through a guardrail that blocks destructive system mutations, path traversals, and reverse shells. It also adds prompt-injection detection, spend circuit breakers, loop detection, and privacy sanitization so agent execution stays within safe, budgeted bounds.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables agents and developers to check whether repositories, packages, MCP servers, and agent identities are safe to connect with by retrieving signed trust decisions, 0–100 scores, badges, and supporting findings through anonymous read-only tools.
    61 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Zero-dependency local proxy that wraps any MCP server to redact secrets, strip hidden-Unicode prompt injection, and block writes to protected paths like ~/.ssh and .env.
    4
    MIT