MCP server · Audited from source
Postgres MCP server
by ericzakariasson/pg-mcp-serverMIT licenceAudited 6 Oct 2026 · source c58e39969dca
Is it safe? No — BLOCK, grade D (69/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 6 findings (0 critical, 2 high, 2 medium, 1 low). Maintainer's description: MCP Server for Postgres
Cite
Cite this page
ModelsAtlas. “Postgres MCP server (ericzakariasson/pg-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/ericzakariasson/postgres-13
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Hard-coded secrets at package.json:29. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (6)
Sorted by severity
HIGHHard-coded secretssecret.db_uri · package.json:29
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
HIGHHard-coded secretssecret.db_uri · package.json:30
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · README.md:20
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · README.md:122
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, postgres, zod, @types/bun, @types/node, prettier
- Why
- 6 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · assets/demo.mp4
assets/demo.mp4
- Why
- 4493838 bytes not read
- Fix
- —
Tools it exposes
1 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
query | No description in the source | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
c58e39969dca
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Postgres MCP server
What is the Postgres MCP server?
What tools does Postgres expose?
Is Postgres safe to connect to an agent?
What credentials does Postgres need?
How does Postgres run?
How current is this page?
I already installed Postgres. What should I do?
Can the verdict change?
Sources
- ericzakariasson/pg-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit c58e39969dcaObserved · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Postgres MCP server?
- What tools does Postgres expose?
- Is Postgres safe to connect to an agent?