MCP, MCP server
Php Sdk
The official PHP SDK for Model Context Protocol servers and clients.
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.
Rescanned at commit 57b45eb97b1d.
SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED NETWORK_LOCALHOST OBFUSCATION_FILE_CAP_REACHED
Why this grade
- SECRETS_PATH_DOTENV Low
Mentions a .env file.
docs/run/authorization.md, line 398
cp env.example .env - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
src/Client/Transport/StdioTransport.php, line 218
$process = proc_open( - NETWORK_LOCALHOST Note
Calls localhost only.
examples/server/stateless-lifecycle/server.php, line 48
* curl -sS http://127.0.0.1:8000/ \ - OBFUSCATION_FILE_CAP_REACHED Note
The 400 file cap was reached before every file was read.
src/Server/Stateless/RequestStateCodec.php, line 1
<?php
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
src/Client/Transport/StdioTransport.php, line 218
$process = proc_open(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Note
can reach localhost.
NETWORK_LOCALHOST
examples/server/stateless-lifecycle/server.php, line 48
* curl -sS http://127.0.0.1:8000/ \
examples/server/stateless-lifecycle/server.php, line 59
* curl -sS http://127.0.0.1:8000/ \
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
docs/run/authorization.md, line 398
cp env.example .env
docs/run/authorization.md, line 399
# Edit .env with your Azure values
examples/server/oauth-microsoft/README.md, line 40
cp env.example .env
Show more
examples/server/oauth-microsoft/docker-compose.yml, line 11
- .env
examples/server/oauth-microsoft/env.example, line 2
# Copy this file to .env and fill in your values
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
the file cap was reached before every file was read.
OBFUSCATION_FILE_CAP_REACHED
src/Server/Stateless/RequestStateCodec.php, line 1
<?php
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 57b45eb97b1d. requests shell access. The manifest names this permission. can reach localhost. reads a credential or environment file. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: 57b45eb97b1df9c5bf67e41d3157b8402fdb7713
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.