Skip to main content
Glama
abiswas97

Postgres MCP Server

by abiswas97

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_SSLNoEnable SSL connectiontrue
DB_HOSTNoPostgreSQL host127.0.0.1
DB_NAMENoDatabase namepostgres
DB_PORTNoPostgreSQL port5432
DB_USERNoDatabase userpostgres
READ_ONLYNoRestrict to SELECT/WITH/EXPLAIN queriestrue
DB_PASSWORDYesDatabase password
MAX_PAGE_SIZENoMaximum rows per page500
QUERY_TIMEOUTNoQuery timeout in milliseconds30000
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/abiswas97/postgres-mcp'

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