P

PostgreSQL MCP Server X

by xiaohan815 · xiaohan815/PostgreSQL MCP Server X

Enables read-only querying, transactional writes, atomic multi-statement batches with rollback on failure, and bulk column-comment management for Postgres databases, with configurable schema discovery and safe handling of large integers and binary results.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
DATABASE_URL No PostgreSQL connection string, provided as an alternative to passing the connection string as a command-line argument.
POSTGRES_URL No PostgreSQL connection string, provided as an alternative to passing the connection string as a command-line argument.
POSTGRES_MCP_SCHEMA No Configurable schema used for resource discovery.
POSTGRES_MCP_WRITE_ENABLED No Controls whether write tools are enabled. Write tools are enabled by default; set to "false" for query-only connections.
POSTGRES_MCP_MAX_BATCH_SIZE No Maximum number of items allowed in a single batch. Defaults to 10,000.

Similar servers