Postgres MCP Server

PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.

Local serverstdio

What is the Postgres MCP Server?

Postgres MCP is an MCP integration. PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.

Packages and local setup

The published npm package is @edelciomolina/postgres-mcp, version 1.7.0. Its declared MCP transport is stdio.

The package declares MCP_KEY_HOST: Name of the .env variable that holds the database host; MCP_KEY_PORT: Name of the .env variable that holds the database port; MCP_KEY_NAME: Name of the .env variable that holds the database name; MCP_KEY_USER: Name of the .env variable that holds the database user; MCP_KEY_PASS: Name of the .env variable that holds the database password; MCP_KEY_SSLMODE: Name of the .env variable that holds the SSL mode (e.g. require).

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 1.7.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
MCP_KEY_HOSTName of the .env variable that holds the database hostOptional
MCP_KEY_PORTName of the .env variable that holds the database portOptional
MCP_KEY_NAMEName of the .env variable that holds the database nameOptional
MCP_KEY_USERName of the .env variable that holds the database userOptional
MCP_KEY_PASSName of the .env variable that holds the database passwordOptional
MCP_KEY_SSLMODEName of the .env variable that holds the SSL mode (e.g. require)Optional