MCP, MCP server
Fastmcp Ts
The TypeScript framework for building Model Context Protocol servers, clients, and apps.
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 1baebca834ec.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/client/auth.ts, line 720
const response = await fetch(this._tokenEndpoint, { - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
src/client/auth.ts, line 720
const response = await fetch(this._tokenEndpoint, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/client/transports.ts, line 117
this.env = options?.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/server/FastMCP.ts, line 420
const raw = process.env['FASTMCP_CLI_AUTH_TOKEN'] - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 1
{ - OBFUSCATION_FILE_CAP_REACHED Note
The 400 file cap was reached before every file was 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. can reach api.internal. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
src/client/auth.ts, line 720
const response = await fetch(this._tokenEndpoint, {
src/client/auth.ts, line 855
return fetch(url, { ...init, body: body.toString() })
src/client/transports.ts, line 198
return fetch(url, {
Show more
src/server/FastMCP.ts, line 105
* values throw here, at construction, for every transport. `fetch()` is
src/server/FastMCP.ts, line 201
* This option does not apply to `fetch()`, which has no bind address from which
src/server/FastMCP.ts, line 202
* to infer a trusted host. A framework embedding `fetch()` owns Host/Origin
src/server/FastMCP.ts, line 256
* startup, like `stateless`) and never served through `fetch()`.
src/server/FastMCP.ts, line 1440
* Routes never serve on stdio or through `fetch()` — a framework embedding
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/server/FastMCP.ts, line 420
const raw = process.env['FASTMCP_CLI_AUTH_TOKEN']
src/cli/commands/run.ts, line 39
env: { ...process.env, ...buildEntrypointEnv(spec), ...env },
src/client/transports.ts, line 117
this.env = options?.env
Show more
.gitignore, line 15
.env
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. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
package-lock.json, line 1
{
tests/client/client.test.ts, line 1
import { describe, it, expect, afterEach } from 'vitest'
Licence
Note
no licence file found.
LICENCE_MISSING
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 1baebca834ec. can reach a host that is not written as a fixed address. can reach api.internal. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 1baebca834ec4e95dbb115dccbadf68214051403
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.