db-mcp
by L92-Labs
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AUTH_MODE | No | Worker authentication mode; set to oauth to enable OAuth 2.1. | |
| DB_ACCESS | No | Default access level: read_only, read_write, or admin. Aliases ro and rw are accepted. | read_only |
| MYSQL_URL | No | MySQL connection URL for a single default MySQL connection. | |
| DB_ENV_FILE | No | Absolute path to a .env file containing the database and MCP configuration. | |
| DB_MAX_ROWS | No | Maximum number of rows returned by a tool call. | 200 |
| DB_POOL_MAX | No | Node pool size per connection. | 5 |
| OAUTH_LOGIN | No | OAuth sign-in method: github or password. | |
| DATABASE_URL | No | Postgres connection URL for a single default Postgres connection. | |
| DB_AUDIT_LOG | No | Audit logging mode: off, meta, or sql. | meta |
| DB_MCP_IMAGE | No | Docker image reference used by the published-image Compose setup. | |
| MYSQL_ACCESS | No | Per-connection access override for MySQL. | |
| TUNNEL_TOKEN | No | Cloudflare Tunnel token for the Docker Compose tunnel profile. | |
| MCP_TRANSPORT | No | Transport mode for the Node runtime, for example stdio. | |
| MYSQL_SCHEMAS | No | Schema allowlist for MySQL. | |
| OAUTH_PASSWORD | No | Password for password-based OAuth sign-in when OAUTH_LOGIN=password; must be at least 16 characters. | |
| BIGQUERY_ACCESS | No | Per-connection access override for BigQuery. | |
| DATABASE_ACCESS | No | Per-connection access override for the Postgres/default connection. | |
| DATABASE_SCHEMAS | No | Schema allowlist for the Postgres/default connection. | |
| GITHUB_CLIENT_ID | No | GitHub OAuth app client ID when OAUTH_LOGIN=github. | |
| MCP_BEARER_TOKEN | No | Bearer token required for HTTP/Docker transports; accepted on Workers. | |
| MYSQL_HYPERDRIVE | No | Name of a Cloudflare Hyperdrive binding to use for MySQL. | |
| BIGQUERY_DATASETS | No | Dataset allowlist for BigQuery. | |
| BIGQUERY_LOCATION | No | BigQuery location/region, for example US, EU, or europe-west1. | |
| DB_HIDDEN_COLUMNS | No | Hidden column globs applied to every connection. | |
| DB_MAX_CELL_CHARS | No | Maximum characters for long string and JSON cells. | 2000 |
| BIGQUERY_PROJECT_ID | No | Google Cloud project ID for BigQuery. | |
| DB_CONNECTIONS_JSON | No | JSON object mapping connection names to connection configs, including engine, url/hyperdrive, access, schemas, hidden_columns, and engine-specific settings. | |
| DB_MAX_RESULT_BYTES | No | Maximum JSON result size in bytes; rows past this are dropped. | 100000 |
| OAUTH_ALLOWED_USERS | No | Comma-separated GitHub logins allowed to sign in when OAUTH_LOGIN=github. | |
| GITHUB_CLIENT_SECRET | No | GitHub OAuth app client secret when OAUTH_LOGIN=github. | |
| MYSQL_HIDDEN_COLUMNS | No | Hidden column globs for MySQL. | |
| BIGQUERY_ACCESS_TOKEN | No | BigQuery access token for quick local tests, used instead of a service-account key. | |
| DB_DEFAULT_CONNECTION | No | Name of the default connection when using DB_CONNECTIONS_JSON. | |
| BIGQUERY_HIDDEN_COLUMNS | No | Hidden column globs for BigQuery. | |
| DATABASE_HIDDEN_COLUMNS | No | Hidden column globs for the Postgres/default connection. | |
| DB_STATEMENT_TIMEOUT_MS | No | Per-statement timeout in milliseconds. | 30000 |
| BIGQUERY_DEFAULT_DATASET | No | Default BigQuery dataset. | |
| BIGQUERY_CREDENTIALS_JSON | No | BigQuery service-account key JSON, either raw JSON or base64-encoded. | |
| BIGQUERY_MAX_BYTES_BILLED | No | Maximum bytes billed per BigQuery query. |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessUnresponsive