MCP Server
MCP
Postgres MCP
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
Install
npx -y @edelciomolina/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@edelciomolina/postgres-mcp",
"version": "1.7.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Name of the .env variable that holds the database host",
"format": "string",
"name": "MCP_KEY_HOST"
},
{
"description": "Name of the .env variable that holds the database port",
"format": "string",
"name": "MCP_KEY_PORT"
},
{
"description": "Name of the .env variable that holds the database name",
"format": "string",
"name": "MCP_KEY_NAME"
},
{
"description": "Name of the .env variable that holds the database user",
"format": "string",
"name": "MCP_KEY_USER"
},
{
"description": "Name of the .env variable that holds the database password",
"format": "string",
"name": "MCP_KEY_PASS"
},
{
"description": "Name of the .env variable that holds the SSL mode (e.g. require)",
"format": "string",
"name": "MCP_KEY_SSLMODE"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment