mysql-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mysql-mcp-servercheck database health"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚀 MySQL Node MCP Server
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.
✨ Funcionalidades Principais
🔗 Múltiplas Conexões - Conecte-se a vários bancos MySQL simultaneamente
📊 Monitoramento - Saúde do banco, performance e métricas em tempo real
🛡️ Segurança - Validação de scripts de migração e operações seguras
⚡ Performance - Pool de conexões otimizado para cada ambiente
🔧 Administração - DDL, DML e DCL operations completas
📱 Integração - Compatível com Cursor IDE e Claude Desktop
Related MCP server: MySQL MCP Server
🚀 Início Rápido
1. Instalação
npm install -g mysql-mcp-server-v12. Configuração MCP (Cursor/Claude Desktop)
Adicione 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\"}"
}
}
}
}3. Configuração Automática (Opcional)
# 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-connection🛠️ Ferramentas Disponíveis
🔗 Múltiplas Conexões
list_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 ativas
📊 Monitoramento
check_database_health- Verifica saúde do bancomonitor_schema_changes- Monitora mudanças em esquemascheck_sensitive_tables- Verifica tabelas sensíveisdetect_suspicious_activity- Detecta atividades suspeitas
🔧 Administração
DDL:
create_table,alter_table,drop_tableDML:
select_data,insert_data,update_data,delete_dataDCL:
create_user,grant_privileges,revoke_privileges
🔍 Análise
get_table_info- Informações detalhadas da tabelaget_constraints- Lista constraintsget_foreign_keys- Lista chaves estrangeirasget_indexes- Lista índicesanalyze_table- Analisa tabela e gera estatísticas
📋 Pré-requisitos
Node.js 18.0.0 ou superior
MySQL 5.7 ou superior / MariaDB 10.3 ou superior
Acesso ao banco com privilégios adequados
🤝 Contribuição
Contribuições são bem-vindas! Consulte o arquivo CONTRIBUTING.md para mais detalhes.
📄 Licença
Este projeto está licenciado sob a Licença MIT - veja o arquivo LICENSE para detalhes.
🆘 Suporte
Para suporte e dúvidas:
Consulte a documentação completa
Abra uma issue no GitHub
Verifique os logs para erros específicos
Desenvolvido com ❤️ por Leandro Ferreira
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables interaction with MySQL databases (including AWS RDS and cloud instances) through natural language. Supports database connections, query execution, schema inspection, and comprehensive database management operations.Last updated8518MIT
- Flicense-qualityDmaintenanceEnables comprehensive MySQL database operations including cross-database queries, performance analysis, health monitoring, and AI-assisted database management with role-based access control.Last updated
- AlicenseBqualityDmaintenanceProvides comprehensive MySQL database operations including CRUD, performance optimization, health analysis, and anomaly detection. Supports multiple connection modes, OAuth2.0 authentication, and role-based permissions for database management through natural language.Last updated91MIT
- Alicense-qualityDmaintenanceEnables natural language database operations on MySQL databases with AI integration, supporting CRUD operations, schema inspection, and audit logging with built-in security features including SQL injection protection and permission controls.Last updated946MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lrferr/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server