Skip to main content
Glama
MCP MySQL/MariaDB Database Server

MCP MySQL/MariaDB Database Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_SSLNoEnable or disable SSL for single-database configuration.false
DB_HOSTNoDatabase host for single-database configuration.
DB_NAMENoDatabase name for single-database configuration.
DB_PORTNoDatabase port for single-database configuration.3306
DB_USERNoDatabase username for single-database configuration.
DB_TIMEOUTNoConnection timeout in milliseconds.60000
DEFAULT_DBNoDefault database connection name to use in multi-database configuration.
DB_MAIN_SSLNoEnable or disable SSL for the main database connection.false
DB_PASSWORDNoDatabase password for single-database configuration.
DB_TEST_SSLNoEnable or disable SSL for the test database connection.false
DB_MAIN_HOSTNoHost for the main database connection.
DB_MAIN_NAMENoDatabase name for the main database connection.
DB_MAIN_PORTNoPort for the main database connection.3306
DB_MAIN_USERNoUsername for the main database connection.
DB_TEST_HOSTNoHost for the test database connection.
DB_TEST_NAMENoDatabase name for the test database connection.
DB_TEST_PORTNoPort for the test database connection.3306
DB_TEST_USERNoUsername for the test database connection.
DB_CONNECTIONSNoComma-separated list of connection names to define for multi-database configuration, e.g. main,test,analytics.
DB_ANALYTICS_SSLNoEnable or disable SSL for the analytics database connection.false
DB_MAIN_PASSWORDNoPassword for the main database connection.
DB_TEST_PASSWORDNoPassword for the test database connection.
DB_ANALYTICS_HOSTNoHost for the analytics database connection.
DB_ANALYTICS_NAMENoDatabase name for the analytics database connection.
DB_ANALYTICS_PORTNoPort for the analytics database connection.3306
DB_ANALYTICS_USERNoUsername for the analytics database connection.
MCP_TRANSPORT_MODENoMCP server transport mode: stdio, http, or both.stdio
DB_CONNECTION_LIMITNoConnection pool limit.10
DB_ANALYTICS_PASSWORDNoPassword for the analytics database connection.

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

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