Skip to main content
Glama
kristofer84

MCP PostgreSQL Server

by kristofer84

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoThe database host
DB_NAMENoThe database name
DB_PORTNoThe database port5432
DB_USERNoThe database user
DB_PASSWORDNoThe database password
DB_SSL_MODENoSSL mode: require, disable, or omit for default
POSTGRES_DBNoThe database name (alternative PostgreSQL-style variable)
DATABASE_URLNoPostgreSQL connection URL (e.g., postgresql://username:password@localhost:5432/database_name?sslmode=require)
POSTGRES_HOSTNoThe database host (alternative PostgreSQL-style variable)
POSTGRES_PORTNoThe database port (alternative PostgreSQL-style variable)5432
POSTGRES_USERNoThe database user (alternative PostgreSQL-style variable)
POSTGRES_PASSWORDNoThe database password (alternative PostgreSQL-style variable)
POSTGRES_SSL_MODENoSSL mode: require, disable, or omit for default (alternative PostgreSQL-style variable)

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kristofer84/mcp-postgres'

If you have feedback or need assistance with the MCP directory API, please join our Discord server