io.github.edelciomolina
postgres-mcp
Postgres MCP
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
stdiocommunityapplication
Package Details
@edelciomolina/postgres-mcp
Transportstdio
Environment Variables
MCP_KEY_HOST(str)
Name of the .env variable that holds the database host
MCP_KEY_PORT(str)
Name of the .env variable that holds the database port
MCP_KEY_NAME(str)
Name of the .env variable that holds the database name
MCP_KEY_USER(str)
Name of the .env variable that holds the database user
MCP_KEY_PASS(str)
Name of the .env variable that holds the database password
MCP_KEY_SSLMODE(str)
Name of the .env variable that holds the SSL mode (e.g. require)