MCP server · Audited from source
MCPg MCP server
by devopam/MCPgMIT licenceAudited 10 Oct 2026 · source 7ba99b927c03
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 21 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
pg-turboquantat 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
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
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
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
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
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
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
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
pr_reviews.txt
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWCode injectioncode.dynamic_import · scratch/pg_turboquant/benchmarks/rag/live_campaign.py:1470
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
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
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
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
# — 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
# 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
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
--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
"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
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
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
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
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
"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
| 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
unrestricted access mode.
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
1 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
list_subscriptions | read | async 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
- !CAUTION D 62 / 100
First audit ·
7ba99b927c03
README badge
For maintainers · updates on every re-audit
[](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?
What tools does MCPg expose?
Is MCPg safe to connect to an agent?
What credentials does MCPg need?
How does MCPg run?
How current is this page?
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.
- What is the MCPg MCP server?
- What tools does MCPg expose?
- Is MCPg safe to connect to an agent?