InnerVault

Postgres MCP

Stale Official MCP Registry, io.github.edelciomolina

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

Open the source (opens github.com) https://github.com/edelciomolina/postgres-mcp

Before you use it

  • Runs on your computer with your permissions. Read what it can do before connecting it to an agent.

What it is

MCP servers from io.github.edelciomolina.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

How to get it

npm package (stdio)

@edelciomolina/postgres-mcp@1.7.0

From the server's entry in the official MCP Registry

Settings it asks for

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

Related

  1. dbhub

    MCP servers

    Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

    Indexed GitHub, bytebase 3,858 ★MITUpdated today

    git clone https://github.com/bytebase/dbhub.git
  2. postgresai

    MCP servers

    postgresai – Postgres observability built for humans and AI agents

    Stale GitHub, postgres-ai 140 ★Apache-2.0Updated 18 days ago

    git clone https://github.com/postgres-ai/postgresai.git
  3. pgmcp

    MCP servers

    An MCP server to query any Postgres database in natural language.

    Stale GitHub, subnetmarco 542 ★Custom licence (see repository)Updated 5 months ago

    git clone https://github.com/subnetmarco/pgmcp.git
  4. prest

    MCP servers

    Instant REST and MCP APIs for PostgreSQL and MySQL, on existing or new databases. CRUD, custom SQL routes, auth and ACL without writing a backend. Low-code, ⚡ realtime, high-performance. Native MySQL support since v2.5

    Indexed GitHub, prest 4,635 ★MITUpdated yesterday

    git clone https://github.com/prest/prest.git
  5. PerformanceMonitor

    MCP servers

    Free, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, MCP server for AI analysis. Supports SQL 2016-2025, Azure SQL, AWS RDS, Postgres, Aurora Postgres.

    Indexed GitHub, erikdarlingdata 536 ★MITUpdated yesterday

    git clone https://github.com/erikdarlingdata/PerformanceMonitor.git
  6. MCP-PostgreSQL-Ops

    MCP servers

    🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, lock/deadlock monitoring, autovacuum & schema inspection. No extensions required. PG 12-18.

    Stale GitHub, call518 164 ★MITUpdated 5 days ago

    git clone https://github.com/call518/MCP-PostgreSQL-Ops.git