Skip to content
Kitbay
MCP server

mcp-mysql-server

Runs locallyMITUpdated on Nov 14, 2025171GitHub starsCan change dataNeeds an API key

A small Node.js MCP server for MySQL, run with npx. The agent can connect to a database with given credentials, run select queries, run insert, update and delete statements, list tables and describe a table's structure.

What it does

A small Node.js MCP server for MySQL, run with npx. The agent can connect to a database with given credentials, run select queries, run insert, update and delete statements, list tables and describe a table's structure. Queries accept prepared statement parameters, and connections are cleaned up automatically. Connection details come from a connection URL argument or environment variables in the client configuration, and the README shows setup for Codex on macOS and Windows as well as a generic MCP configuration. It runs locally over stdio.

Capabilities

  • Connect to a MySQL database
  • Run select queries with parameters
  • Run insert, update and delete statements
  • List tables and describe their structure