Mysql MCP
What it does
Enterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment
- Connects Läuft auf deinem Computer
- Account or key No key needed
- Category Datenbanken & Datensätze
Installation
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
3/3 Prüfungen bestanden · Läuft auf deinem Computer
Wir haben einen Teil der Befehle ausgeblendet
Auf dem eigenen Rechner: das Paket war bei der Prüfung nicht in seiner Registry
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie · Anleitung des Autors · Andere in dieser Kategorie
Zuerst: Welche KI nutzt du?
Wähle deine App, dann erscheinen die Schritte unten.
Claude kann Mysql MCP noch nicht verbinden
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
ChatGPT kann Mysql MCP noch nicht verbinden
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
Das kannst du stattdessen tun
B · Andere in Datenbanken & Datensätze, die mit ChatGPT funktionieren
Aus den meistgenutzten derselben Kategorie, nur solche, die per Adresse ohne Schlüssel verbinden
- Supabase✓ ChatGPT
- Appwrite MCP✓ ChatGPT
- Pg Aiguide✓ ChatGPT
Claude Code kann Mysql MCP noch nicht verbinden
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
Cursor kann Mysql MCP noch nicht verbinden
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
VS Code kann Mysql MCP noch nicht verbinden
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
Noch kein Installationsweg hat die Prüfung bestanden. Sieh dir die Anleitung des Autors an oder wähle einen anderen Server dieser Kategorie
Auf einen Blick
- Downloads pro Wochei
- Nicht auf npm/PyPI
- Verbindung
- Läuft auf deinem Computer
- Neueste Versioni
- 1.0.0
- Kategoriei
- Datenbanken & Datensätze
- In der Registry veröffentlichti
- 14. Dez. 2025
- Code zuletzt geänderti
- 9. Nov. 2026
- Entwickler
- neverinfamous
- Pakete
oci: docker.io/writenotenow/mysql-mcp:v1.0.0- Registry-Status
- Aktiv
Welche Apps ihn nutzen können
Basierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.
Laufen auf deinem Computer in
GooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Was er kann
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Basischecksi
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 15. Nov. 2026
- ✓ Bestanden
Entwickler passt zum Repo
Der Registry-Name wurde mit dem GitHub-Konto neverinfamous bestätigt, dem das Repo gehört
- ✓ Bestanden
Wird noch gepflegt
Code zuletzt geändert: vor 6 Tagen
- ✓ Bestanden
Hat eine Lizenz
Nutzt MIT
- – Nicht zutreffend
Endpunkt antwortet
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
- – Nicht zutreffend
Anmeldung mit OAuth
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
- … Noch nicht geprüft
Keine versteckten Anweisungen in Tool-Beschreibungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Diskussion
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Nutzerbewertungen
Noch keine Bewertungen
Im Vergleich mit anderen in Datenbanken & Datensätzei
- Mehr Sterne als 93 % der anderen 1195 Server in dieser Kategorie
- Neuer in der Registry veröffentlicht als 2 % der anderen 1195 Server in dieser Kategorie
- Basischecks gleich gut wie oder besser als bei 100 % der anderen 1195 Server in dieser Kategorie
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Häufige Fragen
Ist Mysql MCP sicher?
Er hat 3 von 3 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Welche Schlüssel oder Codes braucht er?
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Läuft er auf meinem Computer oder in der Cloud?
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Wird er noch gepflegt?
Das GitHub-Repo wurde zuletzt vor 6 Tagen geändert, und die neueste Version (1.0.0) kam vor 11 Monaten in die Registry.
Welche Apps können ihn nutzen?
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Docker auf deinem Computer.
Was kann ich stattdessen nutzen?
In derselben Kategorie: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
Andere in derselben Kategorie
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
README vom Entwickler
README öffnen
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
MySQL MCP Server (mysql-mcp)
[📚 Full Documentation (Wiki)](https://github.com/neverinfamous/mysql-mcp/wiki) • [Changelog](CHANGELOG.md) • [Security](SECURITY.md) • [Release Article](https://adamic.tech/articles/mysql-mcp-server)
💎 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
| Feature | Description |
|---|---|
| Specialized Tools | Access specialized tools for core CRUD, JSON, spatial data, document stores, and clusters. |
| Resources | Monitor schema, performance metrics, process lists, replication status, and InnoDB diagnostics in real-time. |
| AI-Powered Prompts | Execute guided workflows for query building, schema design, performance tuning, and infrastructure setup. |
| Code Mode | Reduce LLM token consumption by consolidating operations inside a secure, sandboxed V8 isolate. |
| Token-Optimized Payloads | Maximize token efficiency. Use optional flags to reduce response size for large payloads. |
| OAuth 2.1 Security | Enforce granular access control with RFC compliance, strict scopes, and Keycloak integration. |
| Smart Tool Filtering | Use tool groups and shortcuts to stay within IDE tool limits. |
| Streamable & Stateless HTTP | Support MCP v2 streamable HTTP and stateless HTTP deployments. |
| Connection Pooling | Leverage built-in connection pooling for efficient, highly concurrent database access. |
| Ecosystem Integrations | Manage MySQL Router, ProxySQL, and MySQL Shell utilities directly from your agent. |
| Advanced Encryption | Enforce TLS/SSL connections. Manage data masking, encryption monitoring, and compliance effortlessly. |
| Production-Ready Security | Prevent SQL injection with parameterized queries. Rely on strict input validation and audit logging. |
| Deterministic Errors | Receive structured responses with actionable suggestions. Eliminate silent failures and raw exceptions. |
| Observability | Export Prometheus metrics. Track container logs with Dozzle and audit trails with Grafana Alloy/Loki. |
| Strict TypeScript | Rely on strict TypeScript backed by robust test suites. |
| MCP v2 Compliant | Fully 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:
| Prompt | Description |
|---|---|
mysql_tool_index | Complete tool index with categories |
mysql_quick_query | Quick query execution shortcut |
mysql_quick_schema | Quick schema exploration |
mysql_setup_observability | Complete observability stack setup guide (Datadog, etc.) |
Note: This is a subset of available prompts. Use
mysql_tool_indexto discover the full list of guided workflows.
📊 Improve Observability with Resources
This server exposes a comprehensive set of resources for database observability and telemetry:
| Resource | Category | Description |
|---|---|---|
mysql://schema | Core | Full database schema |
mysql://tables | Core | Table listing with metadata |
mysql://variables | Core | Server configuration variables |
mysql://status | Core | Server status metrics |
mysql://processlist | Core | Active connections and queries |
mysql://pool | Core | Connection pool statistics |
mysql://capabilities | Extended | Server version, features, and tool categories |
mysql://health | Extended | Comprehensive database health status |
mysql://performance | Extended | Query performance metrics |
mysql://indexes | Extended | Index usage and statistics |
mysql://replication | Extended | Replication status and lag |
mysql://innodb | Extended | InnoDB buffer pool and engine metrics |
mysql://events | Domain | Event Scheduler status and scheduled events |
mysql://sysschema | Domain | sys schema diagnostics summary |
mysql://locks | Domain | InnoDB lock contention detection |
mysql://cluster | Domain | Group Replication / InnoDB Cluster status |
mysql://spatial | Domain | Spatial columns and indexes |
mysql://docstore | Domain | Document Store collections |
mysql://insights | Analytics | Business insights memo from mysql_append_insight |
mysql://metrics | Observability | In-memory token usage, latency, and request metrics |
mysql://audit | Observability | Forensic trail and snapshot of system errors |
mysql://help | Documentation | Critical gotchas and high-level API reference |
mysql://help/{group} | Documentation | Dynamic group-specific tool reference (e.g., core, codemode) |
🚀 Deploy Your AI Database
Meet Prerequisites
- Node.js >= 24.0.0 (See
.node-versionfor the pinned local development version) - Bun (for executing repository automation scripts)
- MySQL server
- pnpm
Install the Server
Install via NPM / PNPM
pnpm add -g @neverinfamous/mysql-mcp
Run the server:
mysql-mcp --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"
Or use npx without installing:
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
writenotenownamespace. The GitHub repo usesneverinfamous.
Linux Users: For
host.docker.internalon Linux, run the container with--add-host host.docker.internal:host-gateway.
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:
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
pupCLI 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 of10s. - Host Configuration: Use
DD_HOSTNAMEand native/etc/docker/daemon.jsoncgroup configurations ("default-cgroupns-mode": "host"). DisableDD_EXTRA_PERFORMANCE_METRICS. - Windows File Tailing: Be warned that Windows
inotifytailing 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
traceparentandtracestatepropagation. - Processing & Logging: Utilize batch processors and ensure logs are formatted as JSON logs.
Audit Architecture & Exporter Healthcheck:
- The primary MCP server writes execution traces to
mcp-audit.jsonlvia the--audit-logflag. - The metrics exporter runs as an independent sidecar process. It reads from
mcp-audit.jsonlusing theAUDIT_LOG_PATHenvironment variable to compute metrics. - The exporter isolates its own internal logs by setting its
--audit-logflag toexporter-audit.jsonl. - The metrics server and exporter share a single process. Both operate on port
3000. This prevents port contention. - Exporter Healthcheck:
wget --spider -q http://127.0.0.1:3000/metrics
Build From Source
git clone https://github.com/neverinfamous/mysql-mcp.git
cd mysql-mcp pnpm install pnpm run build node dist/cli.js --transport stdio --mysql "mysql://mcp_user:secure_password@localhost:3306/testdb"
🏗️ Use Infrastructure Templates
We provide production-ready Docker Compose templates in the examples/ directory. Use these to spin up test environments quickly. These templates include full Datadog observability out-of-the-box (Metrics, APM, and Logs).
- [Basic Template](examples/basic-mysql-datadog): A lightweight, single-node MySQL setup. Perfect for quick starts.
- [Enterprise HA Template](examples/enterprise-ha-mysql): A highly-available InnoDB Cluster with MySQL Router and ProxySQL. Perfect for staging or production replicas.
- [Full Observability Ecosystem](examples/full-observability-ecosystem): A complete enterprise monitoring stack with Datadog, Prometheus, Grafana, Loki, and Alloy. See the [Observability Wiki](https://github.com/neverinfamous/mysql-mcp/wiki/Observability) for deep-dive metrics configuration.
See the README in each directory for quick start instructions.
⚡ Optimize Token Usage with Code Mode
Code Mode (mysql_execute_code) reduces token usage by consolidating operations in a secure sandbox.
Code executes securely in a C++ V8 isolate sandbox. It enforces strict heap limits and synchronous termination. Native wrappers map all API calls across the boundary. This guarantees defense-in-depth and fleet-standard restrictions:
Enforce Engine-Level Restrictions
- ✅ Strict V8 Isolate Boundary — Code executes within a physically separate V8 isolate. It ensures native objects and prototypes cannot cross the boundary.
- ✅ Memory & CPU Constraints — enforced at the C++ level. This includes synchronous timeouts and strict heap limits.
- ✅ **API Bindings