A secure MCP server for AI applications to interact with MySQL databases.
mysql_mcp_server is worth checking the docs before setup with strong trust signals. Check agent compatibility and use-case fit before adding it to your workflow.
gh repo view designcomputer/mysql_mcp_server --webOpen the official repository or website.
Check the README for package manager, auth, and platform requirements.
Try it in a small test task inside your agent workflow.
This tool lets AI assistants like Claude safely connect to a MySQL database. It can list tables, read data, and run SQL queries, all through a controlled interface. You set up database credentials as environment variables, then the AI can explore and analyze your data without direct access.
MySQL MCP Server is an implementation of the Model Context Protocol (MCP) that enables secure interaction between AI applications and MySQL databases. It acts as a bridge, allowing AI hosts or clients to list available tables as resources, read table contents, and execute SQL queries with proper error handling. The server is designed to be integrated with AI applications like Claude Desktop and Visual Studio Code, not run standalone. It uses environment variables for database configuration, ensuring credentials are not hardcoded. Features include comprehensive logging, secure database access, and easy installation via pip or Smithery. The project is open-source under MIT license, actively maintained, and includes a Dockerfile for containerized deployment.
Looks usable, but maintenance, license, or security notes deserve a closer look.
Last commit was about 367 days ago.
1268 GitHub stars indicate community interest.
58 open issues signal maintenance load.
MIT license detected.
Ask an AI assistant to explore your MySQL database schema and list all tables.
Have an AI read the contents of a specific table to answer questions about your data.
Execute complex SQL queries through natural language
with the AI generating and running them.
Integrate with Claude Desktop to provide database context for AI-powered analysis.
Use with VS Code to enable AI-assisted database queries during development.
Database credentials are passed via environment variables; ensure they are not exposed in logs or shared.
The AI can execute arbitrary SQL queries; use a database user with minimal permissions and consider query whitelisting.
All database operations are logged; monitor logs for unauthorized access attempts.
1,268
Stars
238
Forks
58
Issues
MIT
License
Official MCP reference servers from Anthropic. Includes servers for filesystem, GitHub, Postgres, Slack, and more.
Zero-dependency, token-efficient MCP server for querying multiple databases via a single interface.
Up-to-date code documentation for LLMs and AI code editors, eliminating outdated or hallucinated API references.
3 security/trust notes recorded.
Setup difficulty is 3/5.