Is this server read-only?
Yes. All queries are executed within a READ ONLY transaction. No write operations are supported.
@MCP-Mirror
基本情報
Mirror of
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp_server_mysql": {
"command": "npx",
"args": [
"-y",
"@benborla29/mcp-server-mysql"
],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASS": "",
"MYSQL_DB": "db_name"
}
}
}
}Execute read-only SQL queries against the connected database
A Model Context Protocol server that provides read-only access to MySQL databases. It enables LLMs to inspect database schemas and execute read-only SQL queries. This server is designed for developers using MCP clients like Claude Desktop.
Add the provided configuration to the mcpServers section of your claude_desktop_config.json. Set environment variables MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, and MYSQL_DB. If npx is not in your default PATH, specify the full binary path and include PATH in the environment.
mysql_query toolYes. All queries are executed within a READ ONLY transaction. No write operations are supported.
`MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASS`, and `MYSQL_DB` must be set. `MYSQL_DB` can be left blank to retrieve all databases.
If you see "Could not connect to MCP server", you may need to explicitly set the full path to the `npx` binary and include the `PATH` environment variable in the configuration.
This MCP server is licensed under the MIT License.
An official Qdrant Model Context Protocol (MCP) server implementation
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.

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.
コメント