Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTYesMariaDB host addresslocalhost
DB_NAMENoDefault database (optional)
DB_PORTNoMariaDB port3306
DB_USERYesMariaDB username
HF_MODELNoHuggingFace model name (required if EMBEDDING_PROVIDER=huggingface, e.g., 'BAAI/bge-m3')
DB_CHARSETNoCharacter set for database connection (e.g., cp1251)
DB_PASSWORDYesMariaDB password
ALLOWED_HOSTSNoComma-separated list of allowed hostslocalhost,127.0.0.1
MCP_READ_ONLYNoEnforce read-only SQL mode (true/false)true
GEMINI_API_KEYNoAPI key for Gemini embeddings (required if EMBEDDING_PROVIDER=gemini)
OPENAI_API_KEYNoAPI key for OpenAI embeddings (required if EMBEDDING_PROVIDER=openai)
ALLOWED_ORIGINSNoComma-separated list of allowed origins
MCP_MAX_POOL_SIZENoMax DB connection pool size10
EMBEDDING_PROVIDERNoEmbedding provider (openai/gemini/huggingface). Leave unset to disable.
FASTMCP_SERVER_AUTHNoFastMCP authentication provider class
FASTMCP_SERVER_AUTH_GITHUB_CLIENT_IDNoGitHub OAuth client ID
FASTMCP_SERVER_AUTH_GOOGLE_CLIENT_IDNoGoogle OAuth client ID
FASTMCP_SERVER_AUTH_GITHUB_CLIENT_SECRETNoGitHub OAuth client secret
FASTMCP_SERVER_AUTH_GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/uncleg-dev/mariadb-mcp'

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