#720 · Primary category: AI Agents & Automation

mysql_mcp_server

ai claude claude-code database llm mcp mcp-server model-context-protocol mysql

A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

Project last updated:08/02/26

GitHub Stars

1.4K

Forks

258

Contributors

11

License

MIT

Why we included this project

Teams running Claude Code or Claude Desktop can give the assistant controlled read and write access to MySQL through this server instead of a raw connection. It exposes a deliberately small set of tools: executing a single SQL statement, pulling schema metadata, and sampling table rows, along with guided prompts that walk the model through an unfamiliar database. Configuration lives in environment variables, and optional features like multi-database mode, SSH tunneling, and SSE transport let it run locally or on a self-hosted server. Guardrails such as hints on destructive DML statements and the single-statement limit make it easier to trust what the model can do. Once installed, the agent can summarize tables or run analysis against MySQL in a few minutes.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category