Skip to main content
Glama
irsyadjpp

postgres-mcp-server

by irsyadjpp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_SSLNoEnable SSL connection (default database)true
DB_HOSTNoPostgreSQL host (default database)127.0.0.1
DB_NAMENoDatabase name (default database)postgres
DB_PORTNoPostgreSQL port (default database)5432
DB_USERNoDatabase user (default database)postgres
READ_ONLYNoRestrict to SELECT/WITH/EXPLAIN queriestrue
DB_PASSWORDNoDatabase password (default database)
MAX_PAGE_SIZENoMaximum rows per page500
QUERY_TIMEOUTNoQuery timeout in milliseconds30000
DB_CONFIG_PATHNoPath to JSON config file (alternative)
DEFAULT_PAGE_SIZENoDefault page size when not specified100

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/irsyadjpp/postgres-mcp-server'

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