DatabasePython

mysql_mcp_server

MySQL MCP Server enables secure interaction with MySQL databases for AI applications.

Free
N/A rating (0 reviews)0 installs1,198 GitHub stars
MySQLMCPAI

This server component facilitates communication between AI applications and MySQL databases, allowing for safer and more structured database exploration and analysis through a controlled interface. It supports listing available MySQL tables, reading table contents, and executing SQL queries with proper error handling. Additionally, it ensures secure database access through environment variables and provides comprehensive logging for better monitoring and debugging.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mysql-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1
mysql_mcp_server MCP Server — MCPNest — MCPNest