MCP MySQL Server
About
MCP MySQL Server is an MCP server that enables MySQL database access through an SSH tunnel. Designed for use with Cursor IDE, it allows MCP‑compatible clients to run SQL queries on remote databases while controlling operation permissions.
Details
- Author
- Carlosfpc
- Downloads
- 271
- Categories
- Database
Jump to
- Connects to MySQL databases through an SSH tunnel.
- Granular control over INSERT, UPDATE, DELETE, and SELECT operations.
- Environment‑based configuration for credentials and connection mapping.
- Ready‑to‑use integration with Cursor IDE.
Clone the repository, copy mcp-config.env.example to mcp-config.env, set the MySQL and SSH variables inside that file, then run npm install and npm run start-mcp. For Cursor IDE, add the server configuration to mcp.json using the stdio transport type.
MCP MySQL Server
Servidor MCP para conexión MySQL con túnel SSH.
Requisitos Previos
- Node.js (versión 14 o superior)
- Acceso SSH al servidor remoto
- Cliente MySQL
- Cursor IDE
Instalación
1. Clona este repositorio:
git clone [URL_DEL_REPOSITORIO]
cd [NOMBRE_DEL_DIRECTORIO]
2. Crea el archivo de configuración:
cp mcp-config.env.example mcp-config.env
3. Configura las variables en mcp-config.env:
Variables de Configuración MySQL
```envSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



