MCP, MCP server
io.github.ClockNext/mcp
Meter usage and manage usage-based billing from AI coding tools via the ClockNext API.
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 97bcd4ed21c0, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/api.ts, line 289
response = await fetch(url, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/index.ts, line 35
registerWriteEnv(server); // writes the cnk_ key into a project .env server-side - key never enters context - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
skills/clocknext-onboarding/references/code-metering.md, line 32
export const meteringEnabled = Boolean(process.env.CLOCKNEXT_API_KEY);
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/api.ts, line 289
response = await fetch(url, {
src/tools/http.ts, line 12
const res = await fetch(url, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
skills/clocknext-onboarding/references/code-metering.md, line 32
export const meteringEnabled = Boolean(process.env.CLOCKNEXT_API_KEY);
skills/clocknext-onboarding/references/code-metering.md, line 36
apiKey: process.env.CLOCKNEXT_API_KEY!,
src/index.ts, line 35
registerWriteEnv(server); // writes the cnk_ key into a project .env server-side - key never enters context
Show more
src/client.ts, line 12
const apiKey = process.env.CLOCKNEXT_API_KEY;
src/tools/write-env.ts, line 9
* clocknext_write_env - write CLOCKNEXT_API_KEY into a project's `.env` file
src/tools/write-env.ts, line 20
* - only files literally named `.env`, `.env.local`, `.env.development`, or
src/tools/write-env.ts, line 21
* `.env.development.local` are accepted;
src/tools/write-env.ts, line 26
const ALLOWED_NAMES = new Set([".env", ".env.local", ".env.development", ".env.development.local"]);
src/tools/write-env.ts, line 40
return "the file is tracked by git - a committed .env would publish the key. Untrack it (`git rm --cached`) and gitignore it, then retry.";
src/tools/write-env.ts, line 52
title: "ClockNext: write the API key into a project .env",
src/tools/write-env.ts, line 54
so the code you generated (which reads `process.env.CLOCKNEXT_API_KEY`) can run; the alternative is the user
src/tools/write-env.ts, line 57
"- The target must be named exactly `.env`, `.env.local`, `.env.development`, or `.env.development.local`.",
src/tools/write-env.ts, line 82
const apiKey = process.env.CLOCKNEXT_API_KEY;
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 97bcd4ed21c0. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 97bcd4ed21c06ce090f82a8af1a4230b683afa25
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.