Skip to main content
Glama

MCP MariaDB Server

by Diae-Louali

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoMariaDB host addresslocalhost
DB_NAMENoDefault database (optional; can be set per query)
DB_PORTNoMariaDB port3306
DB_USERYesMariaDB username
HF_MODELNoOpen models from Huggingface
DB_PASSWORDYesMariaDB password
MCP_READ_ONLYNoEnforce read-only SQL mode (true/false)true
GEMINI_API_KEYNoAPI key for Gemini embeddings
OPENAI_API_KEYNoAPI key for OpenAI embeddings
MCP_MAX_POOL_SIZENoMax DB connection pool size10
EMBEDDING_PROVIDERNoEmbedding provider (openai/gemini/huggingface)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/Diae-Louali/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server