{
  "schema_version": 1,
  "run_id": "goldrusher9009-sketch--mcpdiet-gpt-6-luna-1795529428997444903",
  "date": "2026-11-24T14:17:20.522979+00:00",
  "repo": "goldrusher9009-sketch/mcpdiet",
  "model": "gpt-6-luna",
  "kind": "mcp",
  "mcp": "local",
  "commit": "9df909620b6e0d755bb0aa783f0c21a2498a76fe",
  "outcome": "pass",
  "time_to_working_s": 371.59069020400057,
  "install_s": 24.757,
  "first_use_s": 125.755,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Audit locally discovered MCP configuration with the mcpdiet_scan MCP tool and scan a supplied config with the CLI.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Avoids MCP context window waste",
      "source": "**Your MCP servers are eating your context window.",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "scan report and potential findings",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Finds wasteful and risky MCP setup and suggests fixes",
      "source": "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:",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "Looks like a secret is hard-coded in the command/URL",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Reports estimated per-server token costs",
      "source": "**What it costs** — tokens each server burns *before you type a word* (tool names, descriptions and schemas are re-sent every session)",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "Looks like a secret is hard-coded in the command/URL",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Detects servers that no longer start",
      "source": "**What's dead** — servers that no longer start but still clutter your setup",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "Looks like a secret is hard-coded in the command/URL",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Detects security risks and duplicate tool names",
      "source": "**What's risky** — hard-coded secrets, unpinned `npx` packages, plain-HTTP remotes, duplicate tool names (shadowing), and tool-poisoning phrasing in descriptions",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "Looks like a secret is hard-coded in the command/URL",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Provides ranked fixes with estimated token savings",
      "source": "**What to do** — a ranked fix list with the tokens you'd save",
      "input": "{\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "expected": "Looks like a secret is hard-coded in the command/URL",
      "command": "node dist/index.js serve tools/call {\"tool\": \"mcpdiet_scan\", \"arguments\": {\"measure\": false}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Looks like a secret is hard-coded in the command/URL",
      "evidence": "…Looks like a secret is hard-coded in the command/URL — Move it to an env var or your OS keychain so it doesn't leak into logs, process lists and shared configs.\\n- **HIGH** `cloud`: Remote server over plain HTTP — Use https:// — tool calls and tokens are otherwise readable on the network.\\n- **LOW** `leaky`: Unpinned package 'some-server' runs the latest version on every launch — Pin a version (e.g. some-server@1.2.3) so a compromised release can't silently reach you.\\n\\n\\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mc",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "CLI scan using documented --config and --static options",
      "source": "Options",
      "input": "Run README npx CLI entry point",
      "command": "node dist/index.js --config /tmp/mcpdiet-empty.json --static --md",
      "evidence": "# MCP diet report — Grade A\n**0 tokens** (0% of a 200K window) across 0 tools.\n\n| Server | Tools | ≈Tokens |\n|---|---:|---:|\n\n\nNothing to fix. 🎉\n\n\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mcpdiet_\n_Token counts are estimates (chars÷4). Security checks are heuristics._",
      "deferred": false,
      "expected": "successful CLI static scan",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "# MCP diet report — Grade A\n**0 tokens** (0% of a 200K window) across 0 tools.\n\n| Server | Tools | ≈Tokens |\n|---|---:|---:|\n\n\nNothing to fix. 🎉\n\n\n_My MCP setup burns 0 tokens (0% of the context window) across 0 tools before I type a word — grade A. Weigh yours: npx mcpdiet_\n_Token counts are estimates (chars÷4). Security checks are heuristics._\n",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected the documented CLI entry point (src/index.ts): it runs one scan per invocation and provides the separate serve tool for an on-demand scan. No cron, scheduled loop, webhook, --once or --now cycle trigger is documented or implemented.",
      "evidence": "Inspected the documented CLI entry point (src/index.ts): it runs one scan per invocation and provides the separate serve tool for an on-demand scan. No cron, scheduled loop, webhook, --once or --now cycle trigger is documented or implemented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "9df909620b6e0d755bb0aa783f0c21a2498a76fe",
    "ci_read_at": "2026-11-24T13:43:30Z",
    "ci_state": "SUCCESS",
    "commits_90d": 20,
    "last_commit_at": "2026-11-24T04:13:34Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 20 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Node.js >=20.3",
    "npm"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 download and execute, 3 hardcoded secret.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 1,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 3,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 34,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 17,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-10a3f8b756dc3e74ff7fc010b0a0fc05e98287569cac69bf81c7495b91ff1eda",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "github.com",
        "registry.npmjs.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "github.com",
        "registry.npmjs.org"
      ],
      "package_registries": [
        "registry.npmjs.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 1
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
