Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

MCPg MCP server

by devopam/MCPgMIT licenceAudited 10 Oct 2026 · source 7ba99b927c03

PyPI pg-turboquant 0.8.2stdiostreamable-http★ 13
!CAUTIONGrade D · 62/100 · 10 Oct 2026 · 7ba99b9
13GitHub stars

Is it safe? With care — CAUTION, grade D (62/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 30 findings (0 critical, 0 high, 7 medium, 17 low). Maintainer's description: Postgres MCP Server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “MCPg MCP server (devopam/MCPg)”. Retrieved 10 Oct 2026. https://modelsatlas.com/mcp/devopam/mcpg

Trust audit

Audit 0.4.1 · full source read 10 Oct 2026

Trust score62/100!CAUTION D
0 critical0 high7 medium17 low6 info

30 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

  • FilesystemDeclared3 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 21 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner devopamUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIpg-turboquant at version 0.8.2
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit read7ba99b927c03The audit covers exactly this commit, read on 10 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory1 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (30)

Sorted by severity · the 25 most severe of 30 are listed

MEDIUMHard-coded secretssecret.db_uri · benchmarks/README.md:52
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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 · benchmarks/tokens/tier_b/experiments/forced_nl2sql_comparison.py:23
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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 · benchmarks/tokens/tier_b/experiments/real_harness_comparison.py:51
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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 · docs/cookbook.md:281
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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 · docs/installation.md:128
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/unit/test_secrets.py:227
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/unit/test_sql_kernel_driver.py:253
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.binary · scratch/pr_reviews.txt
F-13 Inventory / provenanceCWE-1104Layer L0
pr_reviews.txt
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.dynamic_import · scratch/pg_turboquant/benchmarks/rag/live_campaign.py:1470
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(module_name)
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · tests/contract/test_tool_return_shapes.py:185
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(f"mcpg.{module_name}")
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · tests/unit/test_errors.py:24
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(module_name)
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · scratch/pg_turboquant/benchmarks/rag/live_campaign.py:566
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
digest = hashlib.sha1(sanitized.encode("utf-8")).hexdigest()[:8]
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/mcpg/http_runtime.py:819
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
# — no RC4, no 3DES, no CBC modes, no NULL, no anonymous.
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · tests/unit/test_http_runtime.py:1412
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
# AEAD only — no CBC, no RC4, no 3DES, no NULL, no anonymous.
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · tests/unit/test_http_runtime.py:1413
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
forbidden_substrings = ("RC4", "3DES", "DES-CBC", "NULL", "anon", "MD5", "EXPORT")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · benchmarks/README.md:111
F-04 Network egressCWE-200 · CWE-319Layer L1
--e2e --e2e-http-url http://127.0.0.1:8000/mcp \
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · benchmarks/perf/runner.py:471
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1:8000/mcp). Implies the HTTP transport is already running.",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/test_oidc.py:218
F-04 Network egressCWE-200 · CWE-319Layer L1
OIDCVerifier(issuer="http://127.0.0.1:8080", audience="mcpg")
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · src/mcpg/data_movement.py:404
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
stdin = base64.b64decode(content, validate=True)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · tests/unit/test_data_movement.py:320
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
decoded = base64.b64decode(result.content)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · tests/unit/test_install_badges.py:34
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
config = json.loads(base64.b64decode(urllib.parse.unquote(next(iter(payloads.values())))))
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · tests/unit/test_sql_kernel_fuzz.py:39
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"SELECT '' FROM t",  # zero-width space literal
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · docs/feature-shortlist.md:339
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| 21.2 | ✅ **Shipped — PR open.** **Fork + PR submitted:** [docker/mcp-registry#4689](https://github.com/docker/mcp-registry/pull/4689). Forked `docker/mcp-registry`, ran `go run ./cmd/validate --name
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.authority_framing · CHANGELOG.md:4213
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
unrestricted access mode.
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

1 declared in source · 0 destructive

1 read0 write0 destructive
ToolRiskWhat it does
list_subscriptionsreadasync def _run() -> list[introspection.SubscriptionInfo]:

Install

Package version 0.8.2 · audited commit 7ba99b9

Read the findings first. The most severe is Hard-coded secrets (medium) at benchmarks/README.md.

claude mcp add mcpg -- uvx mcpg==0.8.2

The command pins the package version recorded in the source (0.8.2); the audit covers commit 7ba99b927c03. Transport: stdio · streamable-http. Reads these environment variables: ANTHROPIC_API_KEY, MCPG_AUDIT_REDACT_KEYS, MCPG_NL2SQL_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION D 62 / 100

    First audit · 7ba99b927c03

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION DMODELSATLASCAUTION · D
[![ModelsAtlas: CAUTION D](https://modelsatlas.com/mcp/devopam/mcpg/badge.svg)](https://modelsatlas.com/mcp/devopam/mcpg/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about MCPg MCP server

What is the MCPg MCP server?
Postgres MCP Server
What tools does MCPg expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is MCPg safe to connect to an agent?
With care. The audit graded it D (62/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does MCPg need?
It reads ANTHROPIC_API_KEY, MCPG_AUDIT_REDACT_KEYS and MCPG_NL2SQL_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does MCPg run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as pg-turboquant.
How current is this page?
The grade is for one exact copy of the source (7ba99b927c03), read on 2026-10-10. The repository is watched and re-audited when it changes.

Sources

  • devopam/MCPg on GitHub — the source we read, its licence, stars and activityObserved · 10 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 7ba99b927c03Observed · 10 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.