MCP Servers / database / MySQL

MySQL

JSON →
httpnone1,729database

Access MySQL databases to inspect schemas and execute SQL queries via a NodeJS-based server.

Install
How to run this server
[ { "cmd": "npx -y @benborla29/mcp-server-mysql", "imports": [] } ]
server path: mysql-2
Tools
What this server exposes
mysql_query
Execute SQL queries against the connected database. By default limited to READ ONLY operations. Optional write operations (INSERT, UPDATE, DELETE) can be enabled via configuration. All operations are executed within a transaction with proper commit/rollback handling. Supports prepared statements for secure parameter handling. Configurable query timeouts and result pagination. Built-in query execution statistics.
Configuration
Environment & auth
authnone
envMYSQL_HOST
envMYSQL_PORT
envREMOTE_SECRET_KEY
envMYSQL_SSL_KEY
envOPENAI_API_KEY
Resources
MySQL — MCP Server · libregistry