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.
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

Model Context Protocol Servers
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

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
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
评论