Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ—„οΈ Databases
  3. Mysql MCP
M
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Mysql MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mysql-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-mcp-2"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ—„οΈ More in Databases

Documentation Overview

MySQL MCP Server (mysql-mcp)

GitHub Release npm Docker Pulls MCP License: MIT Coverage E2E

πŸ“š Full Documentation (Wiki) β€’ Changelog β€’ Security β€’ Release Article

πŸ’Ž Value Proposition

Integrate your AI agents with a production-ready MySQL environment. Deploy MCP v2 stateless architecture via HTTP transport. Optimize token efficiency via Code Mode. Secure your database with OAuth 2.1.

🎯 Leverage Core Benefits

FeatureDescription
Specialized ToolsAccess specialized tools for core CRUD, JSON, spatial data, document stores, and clusters.
ResourcesMonitor schema, performance metrics, process lists, replication status, and InnoDB diagnostics in real-time.
AI-Powered PromptsExecute guided workflows for query building, schema design, performance tuning, and infrastructure setup.
Code ModeReduce LLM token consumption by consolidating operations inside a secure, sandboxed V8 isolate.
Token-Optimized PayloadsMaximize token efficiency. Use optional flags to reduce response size for large payloads.
OAuth 2.1 SecurityEnforce granular access control with RFC compliance, strict scopes, and Keycloak integration.
Smart Tool FilteringUse tool groups and shortcuts to stay within IDE tool limits.
Streamable & Stateless HTTPSupport MCP v2 streamable HTTP and stateless HTTP deployments.
Connection PoolingLeverage built-in connection pooling for efficient, highly concurrent database access.
Ecosystem IntegrationsManage MySQL Router, ProxySQL, and MySQL Shell utilities directly from your agent.
Advanced EncryptionEnforce TLS/SSL connections. Manage data masking, encryption monitoring, and compliance effortlessly.
Production-Ready SecurityPrevent SQL injection with parameterized queries. Rely on strict input validation and audit logging.
Deterministic ErrorsReceive structured responses with actionable suggestions. Eliminate silent failures and raw exceptions.
ObservabilityExport Prometheus metrics. Track container logs with Dozzle and audit trails with Grafana Alloy/Loki.
Strict TypeScriptRely on strict TypeScript backed by robust test suites.
MCP v2 CompliantFully support the MCP v2 specification. This includes stateless routing, caching, safety hints, and notifications.

πŸ€– Automate Tasks with Guided Workflows

This server includes intelligent prompts for guided workflows:

PromptDescription
mysql_tool_indexComplete tool index with categories
mysql_quick_queryQuick query execution shortcut
mysql_quick_schemaQuick schema exploration
mysql_setup_observabilityComplete observability stack setup guide (Datadog, etc.)

Note: This is a subset of available prompts. Use mysql_tool_index to discover the full list of guided workflows.


πŸ“Š Improve Observability with Resources

This server exposes a comprehensive set of resources for database observability and telemetry:

ResourceCategoryDescription
mysql://schemaCoreFull database schema
mysql://tablesCoreTable listing with metadata
mysql://variablesCoreServer configuration variables
mysql://statusCoreServer status metrics
mysql://processlistCoreActive connections and queries
mysql://poolCoreConnection pool statistics
mysql://capabilitiesExtendedServer version, features, and tool categories
mysql://healthExtendedComprehensive database health status
mysql://performanceExtendedQuery performance metrics
mysql://indexesExtendedIndex usage and statistics
mysql://replicationExtendedReplication status and lag
mysql://innodbExtendedInnoDB buffer pool and engine metrics
mysql://eventsDomainEvent Scheduler status and scheduled events
mysql://sysschemaDomainsys schema diagnostics summary
mysql://locksDomainInnoDB lock contention detection
mysql://clusterDomainGroup Replication / InnoDB Cluster status
mysql://spatialDomainSpatial columns and indexes
mysql://docstoreDomainDocument Store collections
mysql://insightsAnalyticsBusiness insights memo from mysql_append_insight
mysql://metricsObservabilityIn-memory token usage, latency, and request metrics
mysql://auditObservabilityForensic trail and snapshot of system errors
mysql://helpDocumentationCritical gotchas and high-level API reference
mysql://help/{group}DocumentationDynamic group-specific tool reference (e.g., core, codemode)

πŸš€ Deploy Your AI Database

Meet Prerequisites

  • Node.js >= 24.0.0 (See .node-version for the pinned local development version)
  • Bun (for executing repository automation scripts)
  • MySQL server
  • pnpm

Install the Server

Install via NPM / PNPM

bash
pnpm add -g @neverinfamous/mysql-mcp

Run the server:

bash
mysql-mcp --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"

Or use npx without installing:

Terminal
npx @neverinfamous/mysql-mcp --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"

Run with Docker

Note on Namespaces: The Docker image uses the writenotenow namespace. The GitHub repo uses neverinfamous.

Linux Users: For host.docker.internal on Linux, run the container with --add-host host.docker.internal:host-gateway.

Terminal
docker run -i --rm -v ./data:/app/data -v ./logs:/var/log/mysql-mcp writenotenow/mysql-mcp:latest \
  --transport stdio \
  --allowed-io-roots /app/data \
  --mysql "mysql://mcp_user:secure_password@host.docker.internal:3306/testdb"

Enable Observability via Docker Compose

Launch the full observability stack using the included template. This includes Datadog, OpenTelemetry, Prometheus, and Grafana. This spins up the MCP server, MySQL database, Redis, and observability sidecars:

bash
cd examples/basic-mysql-datadog
cp .env.example .env
docker compose up -d
  • Grafana: Available at http://localhost:3001 (Dashboard pre-loaded).
  • Prometheus: Available at http://localhost:9090.
  • MCP Server: Available at http://localhost:3000.

Follow Datadog & OpenTelemetry Observability Rules

Datadog Constraints:

  • Authentication: Use pup CLI for authentication.
  • Autodiscovery: Avoid duplicate autodiscovery configurations. Add standard tracking labels (tags.datadoghq.com/env, tags.datadoghq.com/service, tags.datadoghq.com/version) to your containers.
  • WSL2 Hardening Limits: Enforce stop_grace_period: 30s, mem_limit: 1536m, and OpenMetrics timeouts of 10s.
  • Host Configuration: Use DD_HOSTNAME and native /etc/docker/daemon.json cgroup configurations ("default-cgroupns-mode": "host"). Disable DD_EXTRA_PERFORMANCE_METRICS.
  • Windows File Tailing: Be warned that Windows inotify tailing issues may occur with Docker/WSL2 log mapping.

OpenTelemetry Rules:

  • Semantic Conventions: Enforce gen_ai.* semantics.
  • Instrumentation: Use auto-instrumentation when possible.
  • Context Propagation: Ensure traceparent and tracestate propagation.
  • Processing & Logging: Utilize batch processors and ensure logs are formatted as JSON logs.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Databases View all alternatives
  • Mysql MCP Server logoMysql MCP Server

    MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines

    πŸ—„οΈ Databases3 views
    Compare vs Mysql MCP Server β†’
  • Genai Toolbox logoGenai Toolbox

    Open source MCP server specializing in easy, fast, and secure tools for Databases.

    πŸ—„οΈ Databases5 views
    Compare vs Genai Toolbox β†’
  • Tokenlite Mysql MCP logoTokenlite Mysql MCP

    A secure, efficient, and intelligent MySQL server for the Model Context Protocol

    πŸ—„οΈ Databases1 views
    Compare vs Tokenlite Mysql MCP β†’
  • Bigquery MCP logoBigquery MCP

    A SnowLeopardAI-managed MCP server that provides access to Google BigQuery data.

    πŸ—„οΈ Databases0 views
    Compare vs Bigquery MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Mysql MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mysql-mcp": { "command": "npx", "args": ["-y", "mysql-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMysql MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mysql-mcp-2?style=directory)](https://allmcps.com/mcp/mysql-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/mysql-mcp-2"><img src="https://allmcps.com/api/badge/mysql-mcp-2?style=directory" alt="Mysql MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ—„οΈDatabases
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeDocker
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ—„οΈ Databases β†’Best MCP servers for Databases β†’Alternatives to Mysql MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code