MCP, MCP server
P4Mcp Server
P4Mcp Server, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
p4mcp/core/connection.py, line 250
os.remove(self.session_file) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
p4mcp/services/p4dam_services.py, line 154
r = requests.get(f"{base}/api/p4/tree", headers=headers, - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
p4mcp/main.py, line 173
p4dam_api_key = os.environ.get("P4DAM_API_KEY", "").strip() or None
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
p4mcp/core/connection.py, line 250
os.remove(self.session_file)
p4mcp/telemetry/consent.py, line 28
subprocess.run([str(consent_ui)], check=True)
p4mcp/telemetry/consent.py, line 30
subprocess.run([sys.executable, "-m", "p4mcp.telemetry.consent_ui"], check=True)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
p4mcp/services/p4dam_services.py, line 154
r = requests.get(f"{base}/api/p4/tree", headers=headers,
p4mcp/services/p4dam_services.py, line 211
r = requests.post(url, headers=headers, json=payload, verify=self.verify_ssl)
p4mcp/services/p4dam_services.py, line 234
r = requests.get(f"{base}/api/projects", headers=headers,
Show more
p4mcp/services/p4dam_services.py, line 259
r = requests.get(f"{base}/api/projects/{project_id}/repositories",
p4mcp/services/p4dam_services.py, line 282
r = requests.get(
p4mcp/services/p4dam_services.py, line 326
r = requests.post(f"{base}/api/asset_bundles", headers=headers,
p4mcp/services/p4dam_services.py, line 351
r = requests.patch(f"{base}/api/asset_bundles/{bundle_id}", headers=headers,
p4mcp/services/p4dam_services.py, line 366
r = requests.delete(f"{base}/api/asset_bundles/{bundle_id}", headers=headers,
Secrets
Note
reads an environment variable.
SECRETS_ENV_READ
p4mcp/main.py, line 173
p4dam_api_key = os.environ.get("P4DAM_API_KEY", "").strip() or None
scripts/upload_github_traffic.py, line 223
github_token = os.environ.get("GITHUB_TOKEN")
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE.txt).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit a8b284dd695e. can delete files. can reach a host that is not written as a fixed address. reads an environment variable.
Date and source
Date checked:
github.com
Commit graded: a8b284dd695e2c02028464a5e69606ceb56ca1a0
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.