MCP Hub › Databases & Data › Postgres MCP
Postgres MCP MCP server
by edelciomolina · io.github.edelciomolina/postgres-mcp
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
How to install Postgres MCP
npm
claude mcp add postgres-mcp -- npx -y @edelciomolina/[email protected]
Or add it to your MCP config (Claude Desktop, Cursor, VS Code):
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/[email protected]"
]
}
}
}Environment variables:MCP_KEY_HOST – Name of the .env variable that holds the database hostMCP_KEY_PORT – Name of the .env variable that holds the database portMCP_KEY_NAME – Name of the .env variable that holds the database nameMCP_KEY_USER – Name of the .env variable that holds the database userMCP_KEY_PASS – Name of the .env variable that holds the database passwordMCP_KEY_SSLMODE – Name of the .env variable that holds the SSL mode (e.g. require)
Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.
Details
- Version
- 1.7.0
- Published
- 2026-06-11
- Updated
- 2026-06-11
- Namespace
- io.github.edelciomolina
- Source
- edelciomolina/postgres-mcp
Similar databases & data servers
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL…
- The NothingMr. Decoupler: a private seam between AI and any database. No SQL,…
- MongodbMongoDB Model Context Protocol Server
- Grain SQLRun SQL queries and inspect database schemas through safe, visible…
- DataLinkMCP server for secure database access (PostgreSQL, MySQL, SQLite)
- Magic CloudGenerate secured CRUD APIs over your database, run SQL, manage…
- OSS Snowflake MCP ServerMCP Server for Snowflake from Snowflake Labs
- DB MCP ServerDatabase MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with…