How does MySQL MCP Server ensure security?
It uses environment variables for credentials, recommends creating a dedicated MySQL user with minimal permissions, never uses root credentials, and enables logging for audit purposes.
@he426100
Basic information
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql-mcp-server-he426100": {
"command": "docker",
"args": [
"build",
"-t",
"mysql-mcp-server",
"."
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MySQL MCP Server is a Model Context Protocol (MCP) server that enables secure interaction with MySQL databases. It allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.
Clone the repository, install dependencies with Composer, and set environment variables for database connection (DB_HOST, DB_PORT, DB_USERNAME, DB_PASSWORD, DB_DATABASE). Run as a standalone server with php bin/console or via Docker.
It uses environment variables for credentials, recommends creating a dedicated MySQL user with minimal permissions, never uses root credentials, and enables logging for audit purposes.
PHP and Composer are required. A MySQL database server must be accessible, with connection details provided via environment variables.
Build the image with `docker build -t mysql-mcp-server .`, then run with `docker run -i --rm mysql-mcp-server --host 127.0.0.1`.
The README suggests considering query whitelisting for production use but does not implement it by default.
Connection credentials are supplied via environment variables at runtime; no persistent credential storage is provided by the server.
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

Model Context Protocol Servers

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s
An official Qdrant Model Context Protocol (MCP) server implementation

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
Comments