Skip to main content
Glama
Database MCP Server

Database MCP Server

by tomtomjskim

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_TYPENoDatabase type (mysql or postgresql). Optional; auto-detected from port or host when omitted.
MYSQL_DBNoMySQL database name.
LOG_LEVELNoLogging level for the MCP server.
MYSQL_HOSTNoMySQL database host.
MYSQL_PORTNoMySQL database port.
MYSQL_USERNoMySQL database user.
POSTGRES_DBNoPostgreSQL database name.
MYSQL_SSL_CANoPath to the MySQL SSL CA certificate.
POSTGRES_HOSTNoPostgreSQL database host.
POSTGRES_PORTNoPostgreSQL database port.
POSTGRES_USERNoPostgreSQL database user.
DB_CONFIG_FILENoPath to a db-config.json file for multi-database connection configuration.
MYSQL_PASSWORDNoMySQL database password.
MYSQL_SSL_MODENoSSL mode for MySQL connections.
MAX_RESULT_ROWSNoMaximum number of result rows returned.
MCP_SERVER_NAMENoName of the MCP server.
POSTGRES_SSL_CANoPath to the PostgreSQL SSL CA certificate.
POSTGRES_PASSWORDNoPostgreSQL database password.
POSTGRES_SSL_MODENoSSL mode for PostgreSQL connections.
ENABLE_QUERY_LOGGINGNoEnable or disable query logging (true/false).
DB_DEFAULT_CONNECTIONNoDefault connection name to use in multi-database environment-variable mode.
MAX_QUERY_EXECUTION_TIMENoMaximum query execution time in milliseconds.
MYSQL_CONNECTION_TIMEOUTNoMySQL connection timeout in milliseconds.
POSTGRES_CONNECTION_TIMEOUTNoPostgreSQL connection timeout in milliseconds.
MYSQL_ACQUIRECONNECTION_TIMEOUTNoMySQL acquire-connection timeout in milliseconds.

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