Pmcp (Consiliency) MCP Server

pmcp PyPI v2.7.3

Published by consiliency — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

PMCP - Progressive MCP: Minimal context bloat with on-demand tool discovery

Trust grade
A
91/100
Last scanned get badge →
Trust
A · 91/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 98 − adoption risk = 91/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 2.2 = 98. What the published surface and source actually contain:

PointsWhat was foundCategory
−2.2 Hardcoded JSON Web Token in test/example/packaging ×4 MTC-SRC-008 exfiltration

2. Client adoption risk — 98 − 7 = 91. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 21

high Reads a sensitive credential path or dumps the environment (.consiliency/notes/differential_npm_corpus.py)MTC-SRC-006

In the server's implementation (`.consiliency/notes/differential_npm_corpus.py:431`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: userconfig": str(home / ".npmrc"), "npm_config_globalconfig": str(prefix / "etc" / "npmrc"), # `fetch_re

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/differential_npm_corpus.py

high Reads a sensitive credential path or dumps the environment (src/pmcp/manifest/npm_resolver.py)MTC-SRC-006

In the server's implementation (`src/pmcp/manifest/npm_resolver.py:163`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: refix brings a project ``.npmrc`` into scope -- verified: with the working directory inside a node project whose

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/pmcp/manifest/npm_resolver.py

high Reads a sensitive credential path or dumps the environment (src/pmcp/manifest/version_checker.py)MTC-SRC-006

In the server's implementation (`src/pmcp/manifest/version_checker.py:1140`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: erlay or a project ``.npmrc`` in scope changes which package npm fetches, so a call site that cannot supply them

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/pmcp/manifest/version_checker.py

high Shell/command execution in server code (.consiliency/notes/derive_npm_flags.py)MTC-SRC-002

In the server's implementation (`.consiliency/notes/derive_npm_flags.py:267`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ig` lives.""" out = subprocess.run( ["npm", "root", "-g"], capture_output=True, text=True, check=True )

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/derive_npm_flags.py

high Shell/command execution in server code (.consiliency/notes/differential_npm_corpus.py)MTC-SRC-002

In the server's implementation (`.consiliency/notes/differential_npm_corpus.py:446`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: proc = subprocess.Popen( [case.command, *case.args], cwd=str(cwd),

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/differential_npm_corpus.py

high Shell/command execution in server code (.consiliency/notes/mutate.py)MTC-SRC-002

In the server's implementation (`.consiliency/notes/mutate.py:262`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort. """ proc = subprocess.run( [PY, "-c", "import pmcp.manifest.version_checker as m; print(m.__file__)

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/mutate.py

high Shell/command execution in server code (.consiliency/notes/verify_tables.py)MTC-SRC-002

In the server's implementation (`.consiliency/notes/verify_tables.py:25`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: t[str]) -> str: p = subprocess.run(cmd, capture_output=True, text=True) return p.stdout + p.stderr def definit

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/verify_tables.py

high Shell/command execution in server code (src/pmcp/cli.py)MTC-SRC-002

In the server's implementation (`src/pmcp/cli.py:221`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: MCP server processes to spawn (default: 8). " "Also read from PMCP_MAX_SPAWNS.", ) parser.add_argument(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/pmcp/cli.py

high Shell/command execution in server code (src/pmcp/manifest/_npm_resolve.js)MTC-SRC-002

In the server's implementation (`src/pmcp/manifest/_npm_resolve.js:45`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ecFileSync } = require('child_process') const readline = require('readline') // ---------------------------------------

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/pmcp/manifest/_npm_resolve.js

high Shell/command execution in server code (src/pmcp/manifest/npm_resolver.py)MTC-SRC-002

In the server's implementation (`src/pmcp/manifest/npm_resolver.py:345`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: proc = subprocess.Popen( ["node", str(self._helper)], stdin=subprocess.

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/pmcp/manifest/npm_resolver.py

medium Dynamic module load from a non-literal (.consiliency/notes/derive_npm_flags.py)MTC-SRC-005

In the server's implementation (`.consiliency/notes/derive_npm_flags.py:174`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'index.js'); const m = require(defsPath); const nopt = require(path.join(root, 'node_modules', 'nopt')); const label =

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server .consiliency/notes/derive_npm_flags.py

low Reads a sensitive credential path or dumps the environment in packaging/dev tooling (tests/conftest.py)MTC-SRC-006

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/conftest.py:10`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ncestor means a project `.npmrc` -- or a `node_modules/.bin` entry, which npm runs without ever reaching the registry --

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/conftest.py

low Reads a sensitive credential path or dumps the environment in packaging/dev tooling (tests/test_cli.py)MTC-SRC-006

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_cli.py:2431`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ncestor means a project `.npmrc` (or a local bin) can redirect resolution, so identity refuses. These tests `chd

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_cli.py

low Reads a sensitive credential path or dumps the environment in packaging/dev tooling (tests/test_npm_resolver.py)MTC-SRC-006

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_npm_resolver.py:350`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: e whole project-`.npmrc` class open for every server in the manifest (none of which sets `cwd` at all).

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_npm_resolver.py

low Hardcoded JSON Web Token in test/example/packaging (tests/test_auth.py)MTC-SRC-008

A hardcoded JSON Web Token (an embedded JSON Web Token (often an example or expired token)) appears in `tests/test_auth.py:649`. Verify whether this is a real credential; if so, remove and rotate it.

Evidence: JSON Web Token: eyJh…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_auth.py

low Hardcoded JSON Web Token in test/example/packaging (tests/test_cli.py)MTC-SRC-008

A hardcoded JSON Web Token (an embedded JSON Web Token (often an example or expired token)) appears in `tests/test_cli.py:1834`. Verify whether this is a real credential; if so, remove and rotate it.

Evidence: JSON Web Token: eyJh…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_cli.py

low Hardcoded JSON Web Token in test/example/packaging (tests/test_policy.py)MTC-SRC-008

A hardcoded JSON Web Token (an embedded JSON Web Token (often an example or expired token)) appears in `tests/test_policy.py:315`. Verify whether this is a real credential; if so, remove and rotate it.

Evidence: JSON Web Token: eyJh…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_policy.py

low Hardcoded JSON Web Token in test/example/packaging (tests/test_tools.py)MTC-SRC-008

A hardcoded JSON Web Token (an embedded JSON Web Token (often an example or expired token)) appears in `tests/test_tools.py:6600`. Verify whether this is a real credential; if so, remove and rotate it.

Evidence: JSON Web Token: eyJh…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_tools.py

low Shell/command execution in packaging/dev tooling (scripts/check_workflows.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/check_workflows.py:390`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rocess[str]: return subprocess.run(["git", *args], capture_output=True, text=True, check=False) def _git_checked(a

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server scripts/check_workflows.py

low Shell/command execution in packaging/dev tooling (scripts/pipeline-bootstrap/run.mjs)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/pipeline-bootstrap/run.mjs:18`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execFile } from "node:child_process"; import { promisify } from "node:util"; import { mkdir, mkdtemp, readdir, rm, sta

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server scripts/pipeline-bootstrap/run.mjs

low Shell/command execution in packaging/dev tooling (tests/runtime/harness.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/runtime/harness.py:119`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ) -> bool: result = subprocess.run( ["curl", "-sf", f"http://127.0.0.1:{LIVE_GATEWAY_PORT}/health"],

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/runtime/harness.py

Tools 27

Each tool and what it can reach — statically extracted from the published source.

  • gateway.auth_connectno sensitive capability
  • gateway.cancelno sensitive capability
  • gateway.catalog_searchno sensitive capability
  • gateway.config_statusno sensitive capability
  • gateway.connect_serverno sensitive capability
  • gateway.describeno sensitive capability
  • gateway.disconnect_serverno sensitive capability
  • gateway.get_startup_policyno sensitive capability
  • gateway.healthno sensitive capability
  • gateway.invokeno sensitive capability
Show 17 more tools ↓
  • gateway.list_pendingno sensitive capability
  • gateway.provisionno sensitive capability
  • gateway.provision_statusno sensitive capability
  • gateway.refreshno sensitive capability
  • gateway.register_discovered_serverno sensitive capability
  • gateway.request_capabilityno sensitive capability
  • gateway.restart_serverno sensitive capability
  • gateway.search_registryno sensitive capability
  • gateway.set_startup_policyno sensitive capability
  • gateway.submit_feedbackno sensitive capability
  • gateway.sync_environmentno sensitive capability
  • gateway.tasks_cancelno sensitive capability
  • gateway.tasks_getno sensitive capability
  • gateway.tasks_listno sensitive capability
  • gateway.tasks_resultno sensitive capability
  • gateway.update_serverno sensitive capability
  • p1_echono sensitive capability

What this scan could not see

Versions 10

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v2.7.3 latest A 91/100 21 1.13.0 2026-08-31
v2.7.1 A 91/100 21 1.13.0 2026-08-30
v2.6.0 A 91/100 21 1.13.0 2026-08-28
v2.5.2 A 91/100 15 1.13.0 2026-08-27
v2.3.0 A 91/100 14 1.13.0 2026-08-25
Show 5 more versions ↓
v2.2.1 A 91/100 14 1.12.1 2026-08-23
v2.2.0 A 91/100 14 1.12.1 2026-08-21
v2.1.1 A 91/100 13 1.12.1 2026-08-13
v2.0.1 A 91/100 13 1.12.1 2026-08-12
v2.0.0 A 91/100 13 1.12.1 2026-08-10

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 91/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/pmcp/badge.svg)](https://mcptrustchecker.com/registry/pmcp)
HTML
<a href="https://mcptrustchecker.com/registry/pmcp"><img src="https://mcptrustchecker.com/registry/pmcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/pmcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan pmcp --online --registry pypi

Use the free API → How scoring works

Other implementations of Pmcp 1

Independent packages implementing the same tool, scanned with the same engine. Compare all 2 side by side →

More in Developer Tools