MariaDB-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_SSL | No | Habilitar SSL | false |
| DB_HOST | No | Host del servidor MariaDB | localhost |
| DB_NAME | No | Base de datos por defecto | genoma |
| DB_PORT | No | Puerto | 3306 |
| DB_USER | No | Usuario | root |
| DB_SSL_CA | No | Ruta al certificado CA | |
| LOG_LEVEL | No | Nivel de log | info |
| DB_CHARSET | No | Charset de conexión | utf8mb4 |
| DB_SSL_KEY | No | Ruta a la clave privada cliente | |
| DB_PASSWORD | No | Contraseña | |
| DB_SSL_CERT | No | Ruta al certificado cliente | |
| ALLOWED_HOSTS | No | Hosts permitidos separados por coma | localhost,127.0.0.1 |
| MCP_READ_ONLY | No | Modo solo lectura | true |
| ALLOWED_ORIGINS | No | Orígenes CORS separados por coma | |
| MCP_MAX_POOL_SIZE | No | Tamaño máximo del pool | 10 |
| DB_SSL_VERIFY_CERT | No | Verificar certificado | true |
| DB_SSL_VERIFY_IDENTITY | No | Verificar identidad del host | true |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_databasesA | Lista todas las bases de datos accesibles en el servidor MariaDB. |
| list_tablesB | Lista todas las tablas de una base de datos específica. |
| get_table_schemaA | Obtiene la estructura de columnas de una tabla (nombre, tipo, nullable, clave, default, extra). |
| get_table_schema_with_relationsB | Obtiene la estructura de columnas incluyendo relaciones de clave foránea. |
| execute_sqlA | Ejecuta una consulta SQL (SELECT, SHOW, DESCRIBE) y retorna los resultados. En modo solo lectura (por defecto), se bloquean queries de escritura. |
| create_databaseA | Crea una nueva base de datos si no existe. Requiere modo escritura (READ_ONLY=false). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clear, non-overlapping purpose: database creation, SQL execution, schema retrieval (with optional relations), and listing databases/tables. The two schema tools are differentiated by the inclusion of foreign key relations.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_database, list_databases, get_table_schema). The style is uniform and predictable.
Six tools cover essential database operations—listing, schema inspection, SQL execution, and database creation—without being excessive or sparse for the server's scope.
The set covers read operations well but lacks explicit tools for dropping databases or altering tables. The execute_sql tool can perform write operations if mode allows, but dedicated tools for update/delete are missing, leaving notable gaps.