Canopy Cli MCP Server

canopy-cli PyPI v3.3.0

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

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 11

high Shell/command execution in server code (src/canopy/actions/bootstrap.py)MTC-SRC-002

In the server's implementation (`src/canopy/actions/bootstrap.py:182`): 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: .monotonic() proc = subprocess.run( install_cmd, shell=True, cwd=worktree_path, capture_output=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/canopy/actions/bootstrap.py

high Shell/command execution in server code (src/canopy/actions/doctor.py)MTC-SRC-002

In the server's implementation (`src/canopy/actions/doctor.py:893`): 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: out = subprocess.run( ["ps", "-eo", "pid=,ppid=,command="], capture_output=Tru

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/canopy/actions/doctor.py

high Shell/command execution in server code (src/canopy/agent/runner.py)MTC-SRC-002

In the server's implementation (`src/canopy/agent/runner.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: try: proc = subprocess.run( command, cwd=cwd, shell=True, ca

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/canopy/agent/runner.py

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

In the server's implementation (`src/canopy/cli/main.py:1063`): 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: 0]}") try: subprocess.Popen( cmd, stdout=subprocess.DEVNULL, stderr=sub

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/canopy/cli/main.py

high Shell/command execution in server code (src/canopy/git/hooks.py)MTC-SRC-002

In the server's implementation (`src/canopy/git/hooks.py:158`): 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: unset.""" result = subprocess.run( ["git", "config", "--get", "core.hooksPath"], cwd=repo_path, cap

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/canopy/git/hooks.py

high Shell/command execution in server code (src/canopy/git/repo.py)MTC-SRC-002

In the server's implementation (`src/canopy/git/repo.py:32`): 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: g. """ result = subprocess.run( ["git"] + 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/canopy/git/repo.py

high Shell/command execution in server code (src/canopy/git/templates/post-checkout.py)MTC-SRC-002

In the server's implementation (`src/canopy/git/templates/post-checkout.py:29`): 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: return branch = subprocess.run( ["git", "rev-parse", "--abbrev-ref", "HEAD"], capture_output=Tru

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/canopy/git/templates/post-checkout.py

high Shell/command execution in server code (src/canopy/integrations/github.py)MTC-SRC-002

In the server's implementation (`src/canopy/integrations/github.py:71`): 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: turn False result = subprocess.run( ["gh", "auth", "status"], capture_output=True, text=True, check=False,

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/canopy/integrations/github.py

high Shell/command execution in server code (src/canopy/integrations/precommit.py)MTC-SRC-002

In the server's implementation (`src/canopy/integrations/precommit.py: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: k run` result = subprocess.run( ["git", "rev-parse", "--git-common-dir"], capture_output

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/canopy/integrations/precommit.py

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

In the server's implementation (`src/canopy/mcp/server.py:85`): 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: out = subprocess.run( [cli_path, "--version"], 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 src/canopy/mcp/server.py

medium Untrusted input can drive an external actionMTC-FLOW-005

Untrusted-input tools ([github_get_pr, github_get_branch, github_get_pr_comments, pr_checks, review_comments, issue_get]) co-exist with external-action tools ([triage, review_comments]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.

Evidence: untrusted [github_get_pr, github_get_branch, github_get_pr_comments, pr_checks, review_comments, issue_get] → sinks [triage, review_comments]

Fix: Require confirmation for state-changing/egress actions triggered after processing untrusted content.

Location: flow github_get_pr → triage

Tools 70

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

  • review_commentsingests untrusted inputnetwork egress
  • github_get_branchingests untrusted input
  • github_get_pringests untrusted input
  • github_get_pr_commentsingests untrusted input
  • issue_getingests untrusted input
  • pr_checksingests untrusted input
  • triagenetwork egress
  • bot_comments_statusno sensitive capability
  • branch_deleteno sensitive capability
  • branch_listno sensitive capability
Show 60 more tools ↓
  • branch_renameno sensitive capability
  • checkoutno sensitive capability
  • commitno sensitive capability
  • conflictsno sensitive capability
  • contextno sensitive capability
  • doctorno sensitive capability
  • draft_repliesno sensitive capability
  • driftno sensitive capability
  • feature_changesno sensitive capability
  • feature_createno sensitive capability
  • feature_diffno sensitive capability
  • feature_doneno sensitive capability
  • feature_link_linearno sensitive capability
  • feature_listno sensitive capability
  • feature_memoryno sensitive capability
  • feature_merge_readinessno sensitive capability
  • feature_pathsno sensitive capability
  • feature_resumeno sensitive capability
  • feature_stateno sensitive capability
  • feature_statusno sensitive capability
  • historian_compactno sensitive capability
  • historian_decideno sensitive capability
  • historian_defer_commentno sensitive capability
  • historian_pauseno sensitive capability
  • issue_list_my_issuesno sensitive capability
  • joinno sensitive capability
  • linear_get_issueno sensitive capability
  • linear_my_issuesno sensitive capability
  • logno sensitive capability
  • migrate_slotsno sensitive capability
  • preflightno sensitive capability
  • pushno sensitive capability
  • reply_to_threadno sensitive capability
  • resolve_threadno sensitive capability
  • review_prepno sensitive capability
  • review_statusno sensitive capability
  • runno sensitive capability
  • shipno sensitive capability
  • slot_clearno sensitive capability
  • slot_loadno sensitive capability
  • slot_swapno sensitive capability
  • slotsno sensitive capability
  • startno sensitive capability
  • stash_dropno sensitive capability
  • stash_listno sensitive capability
  • stash_list_groupedno sensitive capability
  • stash_popno sensitive capability
  • stash_pop_featureno sensitive capability
  • stash_saveno sensitive capability
  • stash_save_featureno sensitive capability
  • switchno sensitive capability
  • syncno sensitive capability
  • versionno sensitive capability
  • workspace_configno sensitive capability
  • workspace_contextno sensitive capability
  • workspace_reinitno sensitive capability
  • workspace_statusno sensitive capability
  • worktree_bootstrapno sensitive capability
  • worktree_createno sensitive capability
  • worktree_infono 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 1

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
v3.3.0 latest A 93/100 11 1.9.0 2026-07-23

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/canopy-cli/badge.svg)](https://mcptrustchecker.com/registry/canopy-cli)
HTML
<a href="https://mcptrustchecker.com/registry/canopy-cli"><img src="https://mcptrustchecker.com/registry/canopy-cli/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/canopy-cli/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 canopy-cli --online --registry pypi

Use the free API → How scoring works

More in Developer Tools