Skip to main content
Glama
papz4passion

dbconnect-mcp

by papz4passion

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--hostNoHostname, IP address, or Unix socket directory.localhost
--portNoTCP port.5432
--userNoDatabase user.postgres
PGHOSTNoPostgreSQL hostname, IP address, or Unix socket directory.localhost
PGPORTNoPostgreSQL TCP port.5432
PGUSERNoPostgreSQL database user.postgres
--sslkeyNoClient key path.
PGSSLKEYNoClient key path.
--sslcertNoClient certificate path.
--sslmodeNoSSL mode: disable, prefer, require, verify-ca, or verify-full.prefer
PGSSLCERTNoClient certificate path.
PGSSLMODENoSSL mode: disable, prefer, require, verify-ca, or verify-full.prefer
--databaseNoDatabase name.postgres
--max-rowsNoMaximum rows returned per query.1000
--passwordNoDatabase password.
--pool-maxNoMaximum pooled connections.5
PGDATABASENoPostgreSQL database name.postgres
PGPASSWORDNoPostgreSQL database password.
--log-levelNoLog level: error, warn, info, or debug.info
DATABASE_URLNoPostgreSQL connection string (postgres:// or postgresql://).
--allow-writeNoAllow write/DDL statements in query. Off by default (read-only).
--sslrootcertNoCA bundle path.
PGSSLROOTCERTNoCA bundle path for SSL verification.
--password-fileNoRead the password from a file, trimming one trailing newline.
--query-timeoutNoStatement timeout in seconds.30
--connect-timeoutNoConnection timeout in seconds.10
--connection-stringNoPostgreSQL connection string (postgres:// or postgresql://). Only one connection-string source may be given.

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