Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Mcp Token Saver

Real-time Claude.ai/Codex subscription awareness for AI coding assistants.

Compatibility: Not stated.

Grade C

One Medium finding. Read the report before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

SECRETS_PATH_CREDENTIAL

Why this grade

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    src/server.ts, line 16 uses. Reads OAuth token from ~/.claude/.credentials.json. Auto-logs to history.",

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/utils/anthropicUsage.ts, line 52

    res = await fetch(USAGE_URL, {

    README.md, line 258

    const r = await fetch("https://api.anthropic.com/api/oauth/usage", {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL

    src/server.ts, line 16

    uses. Reads OAuth token from ~/.claude/.credentials.json. Auto-logs to history.",

    src/tools/usageDelta.ts, line 15

    process.env.MCP_TOKEN_SAVER_DELTA_MARK ??

    src/utils/anthropicUsage.ts, line 5

    const CREDENTIALS_PATH = join(homedir(), ".claude", ".credentials.json");

    Show more

    src/utils/budget.ts, line 11

    const DEFAULT_LIMIT = Number(process.env.MCP_TOKEN_SAVER_DAILY_LIMIT ?? 5);

    src/utils/budget.ts, line 15

    process.env.MCP_TOKEN_SAVER_STATE ??

    src/utils/embeddings.ts, line 4

    const MODEL = process.env.MCP_TOKEN_SAVER_EMBED_MODEL ?? "Xenova/all-MiniLM-L6-v2";

    src/utils/history.ts, line 14

    process.env.MCP_TOKEN_SAVER_HISTORY ??

    README.md, line 61

    - **Zero configuration.** Reads OAuth token from `~/.claude/.credentials.json`. If you've run `claude login`, you're done.

    README.md, line 87

    The OAuth token comes from `~/.claude/.credentials.json`, written by

    README.md, line 254

    const c = JSON.parse(fs.readFileSync(path.join(os.homedir(), ".claude/.credentials.json"), "utf8"));

  • 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).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 778898839e47. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 778898839e476769c548b5c91ea643e9e5a5f6aa

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.

Read how this letter is chosen