MySQL MCP Server
@michael7736
About MySQL MCP Server
MySQL MCP server project
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MySQL MCP Server?
MySQL MCP Server is a Model Context Protocol (MCP) server that enables AI agents to execute SQL queries against a MySQL database. It provides tools for reading, creating, inserting, updating, and deleting data, returning results in JSON format. Designed for developers who want to connect their MCP-compatible agents (like Claude) to a MySQL database.
How to use MySQL MCP Server?
Install by cloning the repository and running npm install and npm run build. Configure the server using environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE). Then add the server to your MCP settings file (e.g., claude_desktop_config.json) with the build path and connection details. Once configured, agents can invoke tools like run_sql_query to interact with the database.
Key features of MySQL MCP Server
- Execute SELECT, CREATE, INSERT, UPDATE, DELETE queries
- Returns query results in JSON format
- Configurable MySQL connection via environment variables
- Transaction logging with unique IDs
- Provides five distinct SQL tools
Use cases of MySQL MCP Server
- Query and view database records through natural language conversations.
- Create new tables and insert sample data via agent commands.
- Update existing records, such as adjusting product prices.
- Delete unwanted data, like removing a product entry.
- Perform database administration tasks without writing raw SQL manually.
FAQ from MySQL MCP Server
What is MySQL MCP Server and what does it do?
It is an MCP server that allows AI agents to execute SQL queries against a MySQL database, supporting SELECT, CREATE, INSERT, UPDATE, and DELETE operations.
How do I configure the database connection?
Set the environment variables MYSQL_HOST, MYSQL_PORT, MYS
More Databases MCP servers

Redis
modelcontextprotocolModel Context Protocol Servers
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeroNeon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
Comments