mcp-server-mysql
mcp-server-mysql is an MCP server by benborla. A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries. It has 2,179 GitHub stars and ranks #19 of 630 in Databases by stars.
- Category
- Databases
- Author
- benborla
- GitHub stars
- 2,179
- This week
- Tracking since 18 Oct 2026
- Weekly downloads
- 10,499
- Language
- JavaScript
- License
- MIT (open source)
- Last update
- 2026-07-27 (3 months ago)
- Links
- Sourcenpm
How to install mcp-server-mysql
mcp-server-mysql is published on npm as @benborla29/mcp-server-mysql, and it depends on @modelcontextprotocol/sdk. These steps assume it runs as a local stdio server, which is the usual setup.
- Check the README. Confirm the start command and note any API keys or environment variables it needs (pass them with
-e KEY=valueor anenvblock). You need Node.js fornpx. - Add it to Claude Code from a terminal:
claude mcp add mcp-server-mysql -- npx -y @benborla29/mcp-server-mysql - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_desktop_config.json:{ "mcpServers": { "mcp-server-mysql": { "command": "npx", "args": [ "-y", "@benborla29/mcp-server-mysql" ] } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm mcp-server-mysql and its tools are listed. The install guide covers VS Code and Codex.
Also listed in
Maintain this project? Get it featured ($99/mo, pinned at the top of Databases) or see what featuring includes.
Report a problem with this listing
Frequently asked questions
What is mcp-server-mysql?
mcp-server-mysql is an MCP server by benborla in the Databases category. A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries. It has 2,179 GitHub stars and ranks #19 of 630 in Databases by stars.
Is mcp-server-mysql free and open source?
Yes. mcp-server-mysql is published under the MIT license, so you can run, modify and self-host it at no cost. If it connects to a paid service, that service's own pricing and API terms still apply. Check the repository for the exact license text before using it commercially.
What are the alternatives to mcp-server-mysql?
Other Databases projects on MCP Harbor include Chat2DB, dbx, mcp-toolbox. Each alternative links to its own page with stars, license and recent activity. The Databases category ranks all 630 by stars, and you can re-sort it by growth this week.
Alternatives to mcp-server-mysql
All 630 Databases MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.