Skip to main content
Glama
psreekrishnan

PostgreSQL MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
hostYesThe host address of the PostgreSQL server.
portYesThe port number of the PostgreSQL server.
databaseYesThe name of the database to connect to.
passwordYesThe password for database authentication.
usernameYesThe username for database authentication.
PYTHONUNBUFFEREDNoSet to 1 to ensure output is sent directly to stdout without buffering.

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/psreekrishnan/postgresql-mcp'

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