
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
mysql-mcp-universal
Advanced tools
🚀 Universal MySQL MCP Server - Connect GitHub Copilot to any MySQL database instantly
🌟 ¡La forma más fácil de conectar GitHub Copilot a cualquier base de datos MySQL al instante!
Servidor MCP (Model Context Protocol) que permite a GitHub Copilot conectarse a cualquier base de datos MySQL en cualquier servidor (local o remoto).
📖 English Documentation | Guía de Instalación | Guía Rápida
Instalar dependencias:
npm install
Configurar VS Code globalmente:
Agregar a C:\Users\[usuario]\AppData\Roaming\Code\User\settings.json
:
"mcp": {
"servers": {
"mysql-universal": {
"command": "node",
"args": ["Q:\\laragon\\www\\mysql-connect\\main-universal.cjs"],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_USER": "root",
"MYSQL_PASSWORD": "tu_password",
"MYSQL_PORT": "3306"
}
}
}
}
Reiniciar VS Code
Abre GitHub Copilot Chat en VS Code y prueba:
"Muestra las bases de datos disponibles"
"Lista las tablas de la base de datos 'mi_proyecto'"
"Describe la estructura de la tabla 'usuarios'"
"Ejecuta: SELECT * FROM productos LIMIT 10"
Herramienta | Descripción | Parámetros |
---|---|---|
show_databases | Lista todas las bases de datos | host, port, user, password (opcionales) |
show_tables | Lista tablas de una BD | database (requerido), conexión (opcional) |
describe_table | Estructura de una tabla | table_name, database (requeridos), conexión (opcional) |
execute_query | Ejecuta consultas SQL | query, database (requeridos), conexión (opcional) |
# Servidor remoto
"Conecta al servidor 192.168.1.100 puerto 3307 usuario 'admin' y muestra las bases de datos"
# Múltiples operaciones
"Lista las tablas de 'produccion' en localhost y las de 'desarrollo' en servidor remoto"
# Consultas específicas
"En la base de datos 'ventas', ejecuta: SELECT COUNT(*) FROM pedidos WHERE fecha >= '2024-01-01'"
MYSQL_HOST=127.0.0.1
MYSQL_USER=root
MYSQL_PASSWORD=123456
MYSQL_PORT=3306
Nota: Las variables de entorno son valores por defecto. Cada consulta puede usar parámetros diferentes.
# Opción 1: Script automatizado
start-universal.bat
# Opción 2: Comando directo
node main-universal.cjs
main-universal.cjs
- Servidor principal (CommonJS)package.json
- Dependencias del proyecto.env
- Variables de entorno por defectostart-universal.bat
- Script de inicioREADME.md
- Esta documentación© 2024-2025 MySQL MCP Universal Server v2.0.1
[2.2.0] - Planificado
Formato basado en Keep a Changelog
FAQs
🚀 Universal MySQL MCP Server - Connect GitHub Copilot to any MySQL database instantly
We found that mysql-mcp-universal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.