What environment variables does the server require?
MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE must be set.
@MCP-Mirror
Basic information
Mirror of
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryExecute SQL queries
An MCP server that provides tools for querying MySQL databases. It connects to MySQL databases via environment variables and executes SQL queries. Designed for use with MCP clients like Claude Desktop.
Set MySQL connection details as environment variables (MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE) and configure the server in your MCP client's configuration file. The server exposes a single tool called query that takes a SQL string parameter and returns query results.
query tool with required SQL string parameterMYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE must be set.
Add a `mysql` entry to the `mcpServers` object in the Claude Desktop config file, specifying the server path and all environment variables.
Use the MCP Inspector by running `npm run inspector`, which provides a URL with debugging tools.
The README indicates the server communicates over stdio.
It uses password-based MySQL authentication via the MYSQL_PASSWORD environment variable.

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.

Model Context Protocol Servers
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Comments