MySQL MCP Server
par designcomputer
Securely connect AI assistants to MySQL databases for structured exploration and SQL execution.
What it does
Connects AI assistants to MySQL databases, allowing them to explore schemas, read table contents, and execute SQL queries through a secure, controlled interface.
Tools
list_tables: Lists available MySQL tables as resources.read_table: Reads the contents of a specific table.execute_query: Executes custom SQL queries with structured error handling.
Installation
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"mysql": {
"command": "uv",
"args": [
"--directory",
"path/to/mysql_mcp_server",
"run",
"mysql_mcp_server"
],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "your_username",
"MYSQL_PASSWORD": "your_password",
"MYSQL_DATABASE": "your_database"
}
}
}
}
Supported hosts
- Claude Desktop
- VS Code
Installation rapide
pip install mysql-mcp-serverInformations
- Tarification
- free
- Publié
- 4/12/2026
- étoiles







