Skip to main content
Glama
4l3x31s

mcp-postgres

by 4l3x31s

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGMCP_HOSTYesPostgreSQL host
PGMCP_PORTNoPostgreSQL port5432
PGMCP_USERYesPostgreSQL user (role)
PGMCP_SCHEMANoPostgreSQL schemapublic
PGMCP_DATABASEYesPostgreSQL database name
PGMCP_MAX_ROWSNoMaximum number of rows returned500
PGMCP_PASSWORDYesPostgreSQL password
PGMCP_ALLOW_DDLNoAllow CREATE/ALER/COMMENT/index/V ACUUM statementsfalse
PGMCP_ALLOW_ADMINNoAllow GRAN/REVOKE/role managementfalse
PGMCP_ALLOW_WRITENoAllow INSERT/UPDATE/DELETE/MERGE statementsfalse
PGMCP_ALLOWED_HOSTSNoAllowed Host header values for HTTP mode (DNS-rebinding protection)
PGMCP_MAX_FIELD_CHARSNoMaximum characters per field value
PGMCP_ALLOW_DESTRUCTIVENoAllow DROP, TRUNCATE, and DELTE/UPDAE without WHEREfalse
PGMCP_STATEMENT_TIMEOUT_MSNoStatement timeout in milliseconds30000

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

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

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