InnerVault

PostgreSQL (hardened, read-only)

Stale Official MCP Registry, io.github.Eszetael

Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

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

Before you use it

  • Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
  • Needs credentials: DATABASE_URL. Use a key with the least access you can.

What it is

MCP servers from io.github.Eszetael.

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)

postgres-mcp-hardened@0.1.10

From the server's entry in the official MCP Registry

oci package (streamable-http)

ghcr.io/eszetael/postgres-mcp-hardened:0.1.10

From the server's entry in the official MCP Registry

Settings it asks for

  • DATABASE_URL secret required · Connection string for the role the server connects as. Use a role that cannot write — the server refuses writes twice, but a read-only role is the layer that…
  • MCP_STATEMENT_TIMEOUT · Server-side statement timeout, e.g. `5s`. A question that would pin the database is cancelled by PostgreSQL, not by hope.
  • MCP_ALLOW_TABLES · Comma-separated allowlist. A table off the list is refused by name, and hiding it inside a CTE, a view or a join does not help.
  • MCP_AUDIT_LOG · Path to the tamper-evident audit log. Entries are chained by hash and survive a restart; `--verify-audit` checks the chain against an off-host anchor.
  • DATABASE_URL secret required · Connection string for a role that cannot write.
  • MCP_ADDR · Address to bind, default 127.0.0.1:8080.

Related

  1. Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions

    Stale Official MCP Registry, io.github.gouranshul Updated 37 days ago 2 notes

    ghcr.io/gouranshul/pg-perf-mcp:0.1.0
  2. Sezzlee PostgreSQL

    MCP servers

    Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.

    Stale Official MCP Registry, io.github.sezzlee Updated 36 days ago 2 notes

    @sezzlee/postgres-mcp@0.2.1
  3. mcp-filesystem

    MCP servers

    Hardened filesystem for AI agents — jailed root, read-only default, traversal/symlink-safe.

    Stale Official MCP Registry, io.github.infoinlet-marketplace Updated 5 months ago 1 note

    @infoinlet/mcp-filesystem@0.1.1
  4. Read-only PostgreSQL and MySQL for AI agents: every statement is checked before it runs. No account.

    Indexed Official MCP Registry, com.vericto Updated today 2 notes

    docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1
  5. MCP server for read-only PostgreSQL database queries in Claude Desktop

    Stale Official MCP Registry, capital.hove Updated 9 months ago 1 note

    @hovecapital/read-only-postgres-mcp-server@0.1.0
  6. Halfnine

    MCP servers

    PostgreSQL through Halfnine: describe, read-only queries, and changes you approve in the app.

    Stale Official MCP Registry, io.github.notinferred 20 ★Updated 16 days ago 1 note

    https://github.com/notinferred/halfnine/releases/download/v0.3.0/halfnine-0.3.0.mcpb