What are the prerequisites for MySQL MCP Server?
Python 3.11 or above and a running MySQL database.
@gopikapeenikkal
Basic information
Custom MCP Server for MySQL
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql-mcp-server-gopikapeenikkal": {
"command": "uv",
"args": [
"pip",
"install",
"mcp_mysql_connect"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
A Model Context Protocol (MCP) server that connects to a MySQL database and exposes a tool for AI models to execute SQL queries via natural language, without direct database access.
Install with pip install mcp_mysql_connect or uv pip install mcp_mysql_connect. Set environment variables DB_HOST, DB_USER, DB_PASSWORD, and DB_NAME. Then configure in Cursor's mcp.json, use the Python client, or run manually with python -m mcp_mysql_connect.
read_query tool for executing SELECT queriesmcp.json configurationPython 3.11 or above and a running MySQL database.
Install via pip: `pip install mcp_mysql_connect`, or with UV: `uv pip install mcp_mysql_connect`.
The server needs `DB_HOST`, `DB_USER`, `DB_PASSWORD`, and `DB_NAME`.
Add a `"mysql-mcp-server"` entry to `~/.cursor/mcp.json` using either `uvx` or `uv` commands, including the four database environment variables.
Currently only `read_query` for SELECT queries; write operations are not mentioned.

Model Context Protocol Servers
An official Qdrant Model Context Protocol (MCP) server implementation
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
Local MCP server for DuckDB and MotherDuck
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
Comments