MCP server · Org-owned · Audited from source
pgEdge Postgres MCP server
by pgedge/pgedge-postgres-mcpPostgreSQL licenceAudited 6 Oct 2026 · source dfe4c1200add
Is it safe? No — BLOCK, grade F (49/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 46 findings (0 critical, 5 high, 12 medium, 21 low). Maintainer's description: pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.
Cite
Cite this page
ModelsAtlas. “pgEdge Postgres MCP server (pgedge/pgedge-postgres-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/pgedge/pgedge-postgres
Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at .trivy/nla-web.trivyignore.yaml:220. 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
46 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
- FilesystemDeclared12 observations
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (46)
Sorted by severity · the 25 most severe of 46 are listed
HIGHFilesystem / pathfs.credential_store · .trivy/nla-web.trivyignore.yaml:220
Information disclosure via incorrect .netrc password lookup. Not
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:305
# auth scheme (Negotiate/Digest/.netrc), a cookie jar, LDAPS, SMB, or
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:433
Information disclosure via incorrect .netrc password lookup. No
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:435
--netrc, and no .netrc file exists in this minimal image.
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:443
invocation does not use --netrc and no .netrc file is present.
- Why
- touches a credential store
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · web/src/components/ChatInterface.jsx:238
console.log(`[Token Tracker] Recording: ${inputTokens} input, ${outputTokens} output tokens`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · web/src/components/ChatInterface.jsx:383
console.log(`[Compaction] Triggered by token count: ~${estimatedTokens} tokens (threshold: ${TOKEN_COMPACTION_THRESHOLD})`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.anthropic · docs/guide/security_mgmt.md:137
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.anthropic · docs/guide/troubleshooting.md:634
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.anthropic · internal/redact/redact_test.go:23
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 · .claude/testing-expert/coverage-and-quality.md:162
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 · .claude/testing-expert/coverage-and-quality.md:534
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 · .claude/testing-expert/integration-testing.md:526
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 · .claude/testing-expert/integration-testing.md:788
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 · .github/workflows/ci-server.yml:107
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · docs/reference/config-examples/tokens.md:72
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · examples/helm/pgedge-nla/values.yaml:175
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · internal/tools/query_database_test.go:130
expectsRows bool // true = use Query(), false = use Exec()
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/tools/query_database_test.go:319
map[bool]string{true: "Query()", false: "Exec()"}[tt.expectsRows])- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · examples/stdio-anthropic-chatbot/chatbot.py:237
server_path = os.getenv("PGEDGE_MCP_SERVER_PATH", "../../bin/pgedge-postgres-mcp")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · internal/chat/config.go:85
ServerPath: "../../bin/pgedge-postgres-mcp",
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
1 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
gpt-4 | No description in the source | read |
Safer alternatives
All databases servers →donghao1393/mcp-dbutils
数读 是一件可以让你的大模型安全连接到数据库的MCP工具。| DButils is an all-in-one MCP service that enables your AI to do data analysis by harnessing versatile types of database (sqlite, mysql, postgres, and more) within a unified configuration of multiple connections in a secured way (like SSL and controlled write access).
visterion/HiveMem
Personal knowledge system — MCP server with PostgreSQL semantic search and temporal knowledge graph
neo4j-contrib/mcp-neo4j
Neo4j Labs Model Context Protocol servers
Audit history
- ✕BLOCK F 49 / 100
First audit ·
dfe4c1200add
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 pgEdge Postgres MCP server
What is the pgEdge Postgres MCP server?
What tools does pgEdge Postgres expose?
Is pgEdge Postgres safe to connect to an agent?
What credentials does pgEdge Postgres need?
How current is this page?
I already installed pgEdge Postgres. What should I do?
Can the verdict change?
Sources
- pgedge/pgedge-postgres-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit dfe4c1200addObserved · 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 pgEdge Postgres MCP server?
- What tools does pgEdge Postgres expose?
- Is pgEdge Postgres safe to connect to an agent?