Skip to main content
Glama
Mhdd-24

@mhdd_24/dbeaver-mcp

by Mhdd-24

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_QA_HOSTNoAlternative prefix for QA database host.
PG_QA_PORTNoAlternative prefix for QA database port.
PG_QA_USERNoAlternative prefix for QA database user.
PG_DEV_HOSTNoAlternative prefix for development database host.
PG_DEV_PORTNoAlternative prefix for development database port.
PG_DEV_USERNoAlternative prefix for development database user.
PG_ALLOW_WRITENoAlternative to DBEAVER_ALLOW_WRITE. Set to 'true' to allow write operations. Defaults to 'false' (read-only).
PG_QA_DATABASENoAlternative prefix for QA database name.
PG_QA_PASSWORDNoAlternative prefix for QA database password.
DBEAVER_PROFILENoActive profile to use (dev or qa). Optional.
DBEAVER_QA_HOSTNoHostname of the QA database.
DBEAVER_QA_PORTNoPort of the QA database.
DBEAVER_QA_USERNoUsername for the QA database.
PG_DEV_DATABASENoAlternative prefix for development database name.
PG_DEV_PASSWORDNoAlternative prefix for development database password.
DBEAVER_DEV_HOSTNoHostname of the development database.
DBEAVER_DEV_PORTNoPort of the development database.
DBEAVER_DEV_USERNoUsername for the development database.
PG_QUERY_MAX_ROWSNoAlternative to DBEAVER_QUERY_MAX_ROWS. Maximum number of rows returned per query.
DBEAVER_ALLOW_WRITENoSet to 'true' to allow write operations. Defaults to 'false' (read-only).
DBEAVER_QA_DATABASENoName of the QA database.
DBEAVER_QA_PASSWORDNoPassword for the QA database.
DBEAVER_DEV_DATABASENoName of the development database.
DBEAVER_DEV_PASSWORDNoPassword for the development database.
DBEAVER_QUERY_MAX_ROWSNoMaximum number of rows returned per query. Defaults to '500'.
PG_STATEMENT_TIMEOUT_MSNoAlternative to DBEAVER_STATEMENT_TIMEOUT_MS. Query timeout in milliseconds.
DBEAVER_STATEMENT_TIMEOUT_MSNoQuery 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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
db_set_profileA

Set the sticky session connection profile to "dev" or "qa" (or "default"). Call when the user says dbprofile=dev, dbprofile=qa, use Dev DB, switch to QA, etc. Later tools reuse this profile automatically — no host/password in chat. Credentials are loaded from DBEAVER_DEV_* / DBEAVER_QA_* (or PG_DEV_* / PG_QA_*) in mcp.json.

db_statusA

Show current sticky PostgreSQL profile, host, database, write mode, and a live SELECT 1 health check. Optional profile arg for a one-shot check without changing the sticky session.

db_list_databasesA

List databases on the active profile server (or optional one-shot profile=dev|qa).

db_list_schemasA

List non-system schemas. Optional database and/or profile (dev|qa) override.

db_list_tablesA

List tables/views for a schema (default public). Optional database and/or profile override.

db_describe_tableA

Describe columns for a table or view. Optional schema, database, and/or profile override.

db_queryA

Run SQL against the sticky session profile (or optional profile=dev|qa for one call). Read-only by default. Optional database name and maxRows. Do not ask the user for connection host/password — use profiles.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources