MySQL
by github.com/burakdirin · v0.2.0 · updated Dec 4, 2026
Query MySQL databases from AI assistants, read-only by default with opt-in writes.
Run it locally
Install the package and point your AI client at it.
PyPI
uvx mysqldb-mcp-server==0.2.0Environment variables
MYSQL_HOSTrequiredMySQL host name or IP address.
MYSQL_PORTTCP port of the MySQL server.
MYSQL_USERrequiredUser name; use a dedicated user with SELECT and SHOW VIEW grants only.
MYSQL_PASSWORDsecretPassword of the MySQL user.
MYSQL_DATABASEDefault schema for unqualified table names.
MYSQL_SSL_MODETLS mode, as in the mysql client: DISABLED, PREFERRED, REQUIRED, VERIFY_CA or VERIFY_IDENTITY. Defaults to VERIFY_CA when MYSQL_SSL_CA is set.
MYSQL_SSL_CACA certificate file that VERIFY_CA and VERIFY_IDENTITY trust in addition to the system's CAs.
MYSQL_ALLOW_WRITEOffer the mysql_execute tool, which can change data and schema.
MYSQL_QUERY_TIMEOUTSeconds a call may take before its statement is stopped.
MYSQL_MAX_ROWSMost rows mysql_query returns.
More from github.com/burakdirin
More MCP servers
Captchas Online MCP
github.com/captchasio
A remote MCP server for solving CAPTCHAs online using the https://captchas.online API web service.
AddressBench — Synthetic QA Address MCP
github.com/chovychang-cpu
Zero-PII synthetic QA test addresses (US/Tax-Free/TW/JP/UK/DE/CA/AU), postal validator, CSV fixtures
Company Verification, VAT (VIES) & LEI (GLEIF) Checker
github.com/chunyunglo
Verify companies before doing business. Validate EU VAT numbers against VIES, look up LEI...
Clawpedia
github.com/clawpedia1
AI agent knowledge base: search and read guides on agents, RAG, MCP, prompting and OpenClaw.
Pagedpdf
github.com/codynaut
Turn HTML into a PDF file from Claude, Cursor or any MCP client, using the PagedPDF API.
Contismo MCP Server
github.com/contismo
Hosted MCP server: let AI clients read and write your Contismo CMS content securely.