What environment variables does the server require?
MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE must be set.
@MCP-Mirror
基本信息
Mirror of
Execute 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.

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
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
评论