Enables monitoring and administration of MySQL databases through natural language, supporting multiple simultaneous connections, health checks, and full DDL/DML/DCL operations.
SaferSkills independently audited mysql-mcp-server (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Um servidor MCP (Model Context Protocol) para monitoramento e interação com MySQL Database, desenvolvido em Node.js com suporte a múltiplas conexões simultâneas.
npm install -g mysql-mcp-server-v1Adicione a seguinte configuração ao seu arquivo mcp.json:
{
"mcpServers": {
"mysql-monitor": {
"command": "npx",
"args": ["mysql-mcp-server-v1@latest"],
"env": {
"MCP_SERVER_NAME": "mysql-monitor",
"MCP_SERVER_VERSION": "1.0.0",
"LOG_LEVEL": "info",
"MYSQL_CONNECTIONS": "{\"connections\":{\"prod\":{\"host\":\"localhost\",\"port\":3306,\"user\":\"seu_usuario\",\"password\":\"sua_senha\",\"database\":\"seu_banco\",\"description\":\"Production Database\"}},\"defaultConnection\":\"prod\"}"
}
}
}
}Para múltiplas conexões:
{
"mcpServers": {
"mysql-monitor": {
"command": "npx",
"args": ["mysql-mcp-server-v1@latest"],
"env": {
"MCP_SERVER_NAME": "mysql-monitor",
"MCP_SERVER_VERSION": "1.0.0",
"LOG_LEVEL": "info",
"MYSQL_CONNECTIONS": "{\"connections\":{\"hml\":{\"host\":\"servidor_hml\",\"port\":3306,\"user\":\"usuario_hml\",\"password\":\"senha_hml\",\"database\":\"hml_db\",\"description\":\"Homologação Database\"},\"prod\":{\"host\":\"servidor_prod\",\"port\":3306,\"user\":\"usuario_prod\",\"password\":\"senha_prod\",\"database\":\"prod_db\",\"description\":\"Production Database\"}},\"defaultConnection\":\"prod\"}"
}
}
}
}# Configurar Cursor IDE automaticamente
npx mysql-mcp-server-v1 setup-cursor
# Diagnosticar problemas de conectividade
npx mysql-mcp-server-v1 diagnose
# Testar conexão MySQL
npx mysql-mcp-server-v1 test-connectionlist_connections - Lista todas as conexõestest_connection - Testa conexão específicatest_all_connections - Testa todas as conexõesget_connections_status - Status das conexões ativascheck_database_health - Verifica saúde do bancomonitor_schema_changes - Monitora mudanças em esquemascheck_sensitive_tables - Verifica tabelas sensíveisdetect_suspicious_activity - Detecta atividades suspeitascreate_table, alter_table, drop_tableselect_data, insert_data, update_data, delete_datacreate_user, grant_privileges, revoke_privilegesget_table_info - Informações detalhadas da tabelaget_constraints - Lista constraintsget_foreign_keys - Lista chaves estrangeirasget_indexes - Lista índicesanalyze_table - Analisa tabela e gera estatísticasContribuições são bem-vindas! Consulte o arquivo CONTRIBUTING.md para mais detalhes.
Este projeto está licenciado sob a Licença MIT - veja o arquivo LICENSE para detalhes.
Para suporte e dúvidas:
Desenvolvido com ❤️ por Leandro Ferreira
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.