What environment variables are required?
`MYSQL_HOST` (default “localhost”), `MYSQL_USER` (default “root”), and `MYSQL_PASSWORD` (default empty). `MYSQL_DATABASE` is optional, and `MYSQL_READONLY` disables write queries when set to “1” or “true”.
@burakdirin
基本情報
An MCP server implementation that enables Claude AI to interact with MySQL databases.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mysqldb-mcp-server": {
"command": "uv",
"args": [
"pip",
"install",
"mysqldb-mcp-server"
]
}
}
}Connects to a specific MySQL database
Executes MySQL queries
mysqldb-mcp-server is a Model Context Protocol (MCP) server that provides tools to connect to and query MySQL databases. It is designed for AI assistants, like Claude, that need to interact directly with MySQL databases through natural language or structured commands.
Install the package using pip install mysqldb-mcp-server or uv pip install mysqldb-mcp-server. Configure it with environment variables for MySQL connection (host, user, password, optional database, read-only mode). Then add it to your MCP client (e.g., Claude Desktop) by editing the client’s configuration file and specifying the command and environment variables. You can also install it automatically via Smithery.
connect_database tool.execute_query tool.`MYSQL_HOST` (default “localhost”), `MYSQL_USER` (default “root”), and `MYSQL_PASSWORD` (default empty). `MYSQL_DATABASE` is optional, and `MYSQL_READONLY` disables write queries when set to “1” or “true”.
It provides two tools: `connect_database` (takes a `database` string) and `execute_query` (takes a `query` string). Both return results in JSON format.
You can install it via pip (`pip install mysqldb-mcp-server`) or uv (`uv pip install mysqldb-mcp-server`). For use with Claude Desktop, add a configuration entry pointing to the installed package via `uvx`.
Yes. The `execute_query` tool accepts multiple SQL statements separated by semicolons and returns results for all queries.
Set the environment variable `MYSQL_READONLY` to “1” or “true”. When enabled, the server will refuse any queries that attempt to modify data.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
Painless E2E Automation for Mobile and Web

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
A curated list of references for MLOps
コメント