Skip to main content
Glama
daix1999

db-connector

by daix1999

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoDatabase host (legacy single-dialect configuration).
DB_PORTNoDatabase port (legacy single-dialect configuration). Defaults based on dialect.
DB_USERNoDatabase username (legacy single-dialect configuration).
DB_AUDITNoMaster switch for audit logging. Use on/off/0/false. Default is on.on
DB_DIALECTNoDatabase dialect to connect (e.g., mysql, redis, mongodb). Used in the legacy single-dialect configuration, typically combined with other DB_* parameters.
DB_SOURCESNoJSON array string for configuring multiple data sources. Example: [{"name":"mysql","dialect":"mysql","host":"127.0.0.1","port":3306,"user":"root","password":"...","database":"test","allow_write":false}]. Mutually exclusive with the legacy single-dialect configuration.
DB_DATABASENoDatabase name (legacy single-dialect configuration).
DB_MAX_ROWSNoGlobal default maximum number of rows returned. Per-source max_rows overrides this.
DB_PASSWORDNoDatabase password (legacy single-dialect configuration).
DB_AUDIT_LOGNoPath to the audit log file.logs/db-connector-audit.jsonl
DB_ALLOW_WRITENoGlobal default for whether write operations are allowed. Accepted values: on/off/true/false. Per-source allow_write overrides this.
DB_AUDIT_LAYERNoAudit layer control: all, connector, mcp, off. Default is all.all
DB_AUDIT_PARAMSNoSet to '1' to log sensitive parameter values. Default is off.

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