Skip to content
Kitbay
MCP server

@benborla29/mcp-server-mysql

Runs locallyMITUpdated on Jul 27, 20262,212GitHub starsCan change dataNeeds an API key

A community MCP server for MySQL 5.7 and later, published on npm by Ben Borla. It exposes one query tool and a resource listing tables and their columns.

What it does

A community MCP server for MySQL 5.7 and later, published on npm by Ben Borla. It exposes one query tool and a resource listing tables and their columns. Queries are read-only unless insert, update or delete are switched on with separate environment flags, and permissions can be set per schema. It can query several databases without reconnecting, reach remote databases through an SSH tunnel, use TLS, and mask personal data in results. It normally runs locally over stdio from npx with connection details in environment variables, and also has a remote HTTP mode protected by a bearer token. Setup is documented for Claude Code, Claude Desktop, Cursor and Codex.

Capabilities

  • Run SQL queries on a MySQL database
  • Allow inserts, updates and deletes only when enabled
  • Query several databases in one session
  • Connect through an SSH tunnel
  • Mask personal data in query results