Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.goldrusher9009-sketch/mcpdiet

Latest version: v0.2.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
MCP server Transport: stdio Publisher: goldrusher9009-sketch
0 Stars
0 Forks
1 Versions
TypeScript Repo language

Scan summary

io.github.goldrusher9009-sketch/mcpdiet was last scanned on 24 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 24 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 24 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

mcpdiet 🥗

Your MCP servers are eating your context window. Weigh them.

npx github:goldrusher9009-sketch/mcpdiet

Or from npm: npx @hashshabbir/mcpdiet

One command finds every MCP server in Claude Desktop, Claude Code, Cursor, VS Code and Windsurf, starts each one exactly like your client does, and tells you:

  • What it costs — tokens each server burns before you type a word (tool names, descriptions and schemas are re-sent every session)
  • What's dead — servers that no longer start but still clutter your setup
  • What's risky — hard-coded secrets, unpinned npx packages, plain-HTTP remotes, duplicate tool names (shadowing), and tool-poisoning phrasing in descriptions
  • What to do — a ranked fix list with the tokens you'd save
  14,659 tokens  (7.3% of a 200K window)   43 tools   Grade C

  server  tools   tokens
  fat        40   14,400  ██████████████████
  lean        2      162
  dead        0        0   ✗ failed

Every run ends with a one-line brag/shame you can paste anywhere.

Why

Every MCP server dumps its full tool list into the model's context on every session. Three popular servers can cost 30–55K tokens before your first message — slower, pricier, and measurably less accurate tool choice. Security scanners tell you what's malicious; mcpdiet tells you what's wasteful, and covers the basic security hygiene in the same pass.

Use it from your agent

mcpdiet is also an MCP server — and it practices what it preaches (2 tools, \<700 tokens).

{ "mcpServers": { "mcpdiet": { "command": "npx", "args": ["-y", "@hashshabbir/mcpdiet", "serve"] } } }

Then ask: "Audit my MCP setup and tell me what to cut."

Options

Flag Meaning
--config <file> Scan this config instead of auto-discovery (repeatable)
--static Don't start servers; config-only checks
--json / --md Machine / markdown output
--timeout <s> Per-server startup limit (default 20)

Exit code is 1 on grade F or any high-severity finding, so you can gate CI.

Honest limits

  • Scanning starts your configured stdio servers (as your client would), lists tools, and stops them. Remote servers are not measured.
  • Token counts are estimates (chars÷4), good for ranking, not billing.
  • Security checks are heuristics. Use a dedicated scanner for audits.
  • Nothing leaves your machine; env values are never printed.

MIT licensed.

CI & teams

Stop bloat and silent tool swaps before they ship:

npx github:goldrusher9009-sketch/mcpdiet --budget 12000                  # fail the build over 12K tokens
npx github:goldrusher9009-sketch/mcpdiet --save-baseline mcp.lock.json   # fingerprint every tool
npx github:goldrusher9009-sketch/mcpdiet --check-baseline mcp.lock.json  # fail if a trusted tool changed (rug-pull alert)
# .github/workflows/mcpdiet.yml
on: [pull_request]
jobs:
  mcpdiet:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npx -y github:goldrusher9009-sketch/mcpdiet --config .mcp.json --budget 12000 --check-baseline mcp.lock.json

Need audits for your company's MCP setup or a custom connector? Open an issue.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.goldrusher9009-sketch/mcpdiet

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229