TokenToSeaMCP Hub
中文 Console

MySQL MCP Server

f4ww4z

MySQL database integration that lets AI models run queries and operations through a standard interface.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add mysql-server-f4ww4z --env MYSQL_DATABASE='<MYSQL_DATABASE>' --env MYSQL_HOST='<MYSQL_HOST>' --env MYSQL_PASSWORD='<MYSQL_PASSWORD>' --env MYSQL_USER='<MYSQL_USER>' -- npx -y @smithery/cli install @f4ww4z/mcp-mysql-server --client claude

Environment variables

  • MYSQL_DATABASE
  • MYSQL_HOST
  • MYSQL_PASSWORD
  • MYSQL_USER

Replace the placeholders with your own credentials and keep them out of version control.