mcp-mysql-client
MySQL MCP
 |
| — | Passwort (Synonym für |
| — | Passwort aus Datei statt Variable lesen |
| — | Datenbank (erforderlich, Synonym für |
|
| TLS erzwingen |
| — | Pfad zum Root-Zertifikat; aktiviert TLS selbst |
|
| Serverzertifikat prüfen |
|
| INSERT erlauben |
|
| UPDATE erlauben |
|
| DELETE erlauben |
|
| Zeilengrenze pro Antwort |
|
| Abfragetimeout |
|
| Verbindungstimeout |
|
| Verbindungen im Pool |
|
| Wiederholungen bei Verbindungsabbrüchen und Deadlocks |
|
| Lesen in Read-only-Transaktion ausführen |
| — |
|
Das Passwort liegt in der MCP-Client-Konfiguration im Klartext vor. MYSQL_PASS_FILE ermöglicht es, es in einer Datei mit den entsprechenden Berechtigungen aufzubewahren.
Migration von @benbor29la/mcp-server-mysql
Die Variablennamen stimmen überein, daher reicht es, das Paket im Startbefehl zu ersetzen:
- "args": ["-y", "@benborla29/mcp-server-mysql"]
+ "args": ["-y", "mcp-mysql-client"]Was sich im Verhalten ändert:
MYSQL_DBist erforderlich – der Server ist immer an eine Datenbank gebunden;Antworten sind auf
MYSQL_MAX_ROWSbegrenzt und werden mittruncatedmarkiert;DDL ist selbst bei aktivierten Schreibrechten nicht verfügbar;
UPDATE/DELETEohneWHEREerfordern eine Bestätigung im Aufruf;Der Tool-Satz ist anders:
query,execute,explain,list_tables,describe_table,server_info.
Diagnose
Zunächst einmal server_info: Es zeigt, womit der Server verbunden ist, welche Rechte der MySQL-Benutzer hat und welche Einschränkungen aktiv sind.
Symptom | Ursache |
| Falsche |
| Benutzer existiert, aber keine Rechte auf die Datenbank |
| Fehlendes |
| Server erfordert TLS: |
| Host, Port, Firewall oder kein aktives VPN |
| TLS für |
Server verbindet sich nicht | Konfigurationsfehler ist direkt im Dialog sichtbar: Der Server startet auch ohne Anmeldedaten und erklärt, was fehlt |
Technische Dokumentation
Tools – Parameter und Antworten
Entwicklung – Build, Tests, Live-Prüfung
Veröffentlichung – Release in npm und MCP-Registry
CLAUDE.md – Repository-Aufbau für KI-Agenten
Lizenz
Maintenance
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables AI agents to safely explore and interact with MySQL databases through dynamic tool generation from stored procedures. It provides database discovery capabilities and intelligent procedure categorization while enforcing security restrictions to prevent data modification.
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to safely interact with MySQL/MariaDB databases, supporting read-only queries by default with optional write operations and access control.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to query and manage MySQL databases through a structured MCP interface, supporting SQL execution, table inspection, and database operations.914MIT
- AlicenseNot gradedqualityDmaintenanceA robust MCP server for interacting with MySQL databases through AI agents, providing tools for schema analysis, query execution, and dynamic connection management with read-only security.61MIT
Related MCP Connectors
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gistrec/mcp-mysql-client'
If you have feedback or need assistance with the MCP directory API, please join our Discord server