Provides a secure gateway for AI tools to interact with MySQL databases through the MCP protocol, featuring robust SQL validation, access control, and observability.
Sponsored
Safe MySQL is a specialized MCP (Model Context Protocol) server designed to facilitate secure and controlled access for AI tools, such as Claude Code, to MySQL databases within development and testing environments. It acts as a protective layer, parsing and validating all SQL statements to prevent dangerous operations and enforce fine-grained DML/DDL controls. With integrated JWT authentication, comprehensive audit logging, and Prometheus metrics, it ensures operations are secure, traceable, and observable, while also supporting hot configuration reloads and Docker deployment for operational flexibility.
Key Features
01MCP Protocol Support with HTTP transport
02Robust SQL Security (parsing, validation, DML/DDL control, auto LIMIT)
03JWT Authentication for secure token-based access
04Comprehensive Audit Logging with log rotation and compression
05Prometheus Metrics for detailed observability
060 GitHub stars
Use Cases
01Enabling AI tools to safely query and modify MySQL databases in development.
02Securing database interactions for AI agents by enforcing fine-grained access controls.
03Providing an audited and observable interface for AI-driven database operations in testing environments.