MCP, MCP server
Tester Mcp Client
Implementation of a model context protocol (MCP) client that connects to an MCP server using HTTP streamable (recommended) transport and displays the conversation in a chat-like UI.
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 81c5ba8008fd, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/clientFactory.ts, line 42
async fetch(input: Request | URL | string, init?: RequestInit) { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/main.ts, line 87
dotenv.config({ path: path.resolve(dirname, '../.env') }); - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/input.ts, line 54
if (typeof input.headers === 'object' && !('Authorization' in input.headers) && process.env.APIFY_TOKEN) { - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 1
{
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
Pass
No shell or command execution found, and no extra permission was declared.
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
src/clientFactory.ts, line 42
async fetch(input: Request | URL | string, init?: RequestInit) {
src/clientFactory.ts, line 44
return fetch(input, { ...init, headers });
src/public/client.js, line 176
const resp = await fetch(fixPath('/client-info'));
Show more
src/public/client.js, line 207
const response = await fetch(fixPath('/conversation'));
src/public/client.js, line 237
const resp = await fetch(fixPath('/schema/models'));
src/public/client.js, line 256
const resp = await fetch(fixPath('/settings'));
src/public/client.js, line 298
const resp = await fetch(fixPath('/settings'), {
src/public/client.js, line 307
const clientInfoResp = await fetch(fixPath('/client-info'));
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/input.ts, line 54
if (typeof input.headers === 'object' && !('Authorization' in input.headers) && process.env.APIFY_TOKEN) {
src/input.ts, line 55
input.headers = { ...input.headers, Authorization: `Bearer ${process.env.APIFY_TOKEN}` };
src/main.ts, line 87
dotenv.config({ path: path.resolve(dirname, '../.env') });
Show more
src/input.ts, line 72
input.llmProviderApiKey = process.env.LLM_PROVIDER_API_KEY ?? '';
.dockerignore, line 18
dist
.gitignore, line 19
.venv
README.md, line 130
Create a `.env` file with the following content (refer to the `.env.example` file for guidance):
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
package-lock.json, line 1
{
Licence
Pass
A licence file is present (LICENSE.md).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 81c5ba8008fd. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 81c5ba8008fde02e8f9ce8d4d798798979e4e14c
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.