Skip to main content
Glama
PostgreSQL MCP Server X

PostgreSQL MCP Server X

by xiaohan815

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLNoPostgreSQL connection string, provided as an alternative to passing the connection string as a command-line argument.
POSTGRES_URLNoPostgreSQL connection string, provided as an alternative to passing the connection string as a command-line argument.
POSTGRES_MCP_SCHEMANoConfigurable schema used for resource discovery.
POSTGRES_MCP_WRITE_ENABLEDNoControls whether write tools are enabled. Write tools are enabled by default; set to "false" for query-only connections.
POSTGRES_MCP_MAX_BATCH_SIZENoMaximum number of items allowed in a single batch. Defaults to 10,000.

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