Skip to main content
Glama
lrferr

mysql-mcp-server

by lrferr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoOptional log level (e.g., info, debug).
MCP_SERVER_NAMENoOptional server name.
MYSQL_CONNECTIONSYesJSON string containing the MySQL connections configuration. Must include at least one connection and a defaultConnection.
MCP_SERVER_VERSIONNoOptional server version.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_connectionsB

Lista todas as conexões configuradas

test_connectionB

Testa uma conexão específica com o banco MySQL

test_all_connectionsB

Testa todas as conexões configuradas

get_connections_statusB

Obtém o status de todas as conexões ativas

check_database_healthC

Verifica a saúde geral do banco de dados

monitor_schema_changesC

Monitora mudanças no esquema do banco de dados

check_sensitive_tablesC

Verifica tabelas sensíveis no banco de dados

detect_suspicious_activityC

Detecta atividades suspeitas no banco de dados

get_table_infoC

Obtém informações detalhadas sobre uma tabela

get_constraintsC

Lista todas as constraints de uma tabela

get_foreign_keysB

Lista todas as chaves estrangeiras de uma tabela

get_indexesC

Lista todos os índices de uma tabela

analyze_tableC

Analisa uma tabela e gera estatísticas

create_schemaC

Cria um novo schema no banco de dados

drop_schemaC

Remove um schema do banco de dados

list_schemasC

Lista todos os schemas disponíveis

list_tablesC

Lista todas as tabelas e views

get_table_structureC

Obtém a estrutura completa de uma tabela

analyze_indexesC

Analisa todos os índices do banco de dados

list_viewsC

Lista todas as views disponíveis

list_routinesC

Lista procedures e functions

create_userC

Cria um novo usuário no banco de dados

drop_userC

Remove um usuário do banco de dados

list_usersC

Lista todos os usuários do sistema

change_passwordC

Altera a senha de um usuário

grant_privilegesC

Concede privilégios a um usuário

revoke_privilegesC

Revoga privilégios de um usuário

show_grantsC

Mostra os privilégios de um usuário

list_privilegesC

Lista todos os privilégios do sistema

audit_user_accessC

Audita o acesso de usuários ao banco

check_password_policyC

Verifica a política de senhas do sistema

create_backupC

Cria um backup do banco de dados

restore_backupC

Restaura um backup do banco de dados

list_backupsC

Lista todos os backups disponíveis

archive_old_dataC

Arquiva dados antigos para schema de arquivo

apply_retention_policyC

Aplica políticas de retenção de dados

compress_tableC

Comprime uma tabela para economizar espaço

create_partitionD

Cria partições em uma tabela

drop_partitionC

Remove uma partição de uma tabela

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.7/5.0

Scored across 39 tools

Disambiguation3/5

Most tools target distinct resources, but several pairs overlap confusingly: get_table_info vs get_table_structure, list_tables (which claims to include views) vs list_views, and get_indexes vs analyze_indexes. Descriptions partially disambiguate but an agent could still easily misselect among the table-info cluster.

Naming Consistency5/5

Every tool follows a clean snake_case verb_noun pattern (create_user, drop_schema, list_backups, grant_privileges). The convention is applied uniformly with no camelCase or stylistic deviations.

Tool Count3/5

39 tools is heavy for a single server and pushes into the over-large range. The breadth (users, connections, schemas, monitoring, backups, maintenance) partly justifies it, but several single-purpose tools could be consolidated.

Completeness3/5

Strong coverage of administration/introspection (user lifecycle, schema CRUD, backups, maintenance, monitoring), but there is no tool to actually query, read, insert, or modify table data, and no table create/drop — a notable gap for a MySQL server.

Maintenance

ActivityInactive
ResponsivenessNo issues