MCP directory

Postgres MCP

by github.com/edelciomolina · v1.7.0 · updated Jun 11, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @edelciomolina/[email protected]

Environment variables

  • 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)

More MCP servers