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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- 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/TheNesdark/MariaDB-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server