{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.hxckya/pkgtruth",
  "slug": "io.github.hxckya.pkgtruth",
  "title": "pkgtruth",
  "summary": "Catches hallucinated and slopsquatted npm and PyPI packages before an agent installs them.",
  "version": "0.2.2",
  "serverKey": "pkgtruth",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.hxckya.pkgtruth",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.hxckya.pkgtruth/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T15:28:35.847320597Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pkgtruth@0.2.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add pkgtruth -- npx -y pkgtruth@0.2.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"pkgtruth\": {\n      \"args\": [\n        \"-y\",\n        \"pkgtruth@0.2.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"pkgtruth\": {\n      \"args\": [\n        \"-y\",\n        \"pkgtruth@0.2.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"pkgtruth\": {\n      \"args\": [\n        \"-y\",\n        \"pkgtruth@0.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.pkgtruth]\ncommand = \"npx\"\nargs = [\"-y\", \"pkgtruth@0.2.2\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PKGTRUTH_REGISTRY",
      "required": false,
      "secret": false,
      "description": "Alternate npm registry to verify against. Defaults to https://registry.npmjs.org.",
      "help": "Alternate npm registry to verify against. Defaults to https://registry.npmjs.org.",
      "placeholder": "<PKGTRUTH_REGISTRY>"
    },
    {
      "name": "PKGTRUTH_DOWNLOADS_API",
      "required": false,
      "secret": false,
      "description": "Alternate downloads API used for adoption figures. Defaults to https://api.npmjs.org.",
      "help": "Alternate downloads API used for adoption figures. Defaults to https://api.npmjs.org.",
      "placeholder": "<PKGTRUTH_DOWNLOADS_API>"
    },
    {
      "name": "PKGTRUTH_CACHE_DIR",
      "required": false,
      "secret": false,
      "description": "Where adoption figures are cached between runs. Defaults to ~/.cache/pkgtruth.",
      "help": "Where adoption figures are cached between runs. Defaults to ~/.cache/pkgtruth.",
      "placeholder": "<PKGTRUTH_CACHE_DIR>"
    },
    {
      "name": "PKGTRUTH_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Per-request timeout in milliseconds. Defaults to 8000.",
      "help": "Per-request timeout in milliseconds. Defaults to 8000.",
      "placeholder": "<PKGTRUTH_TIMEOUT_MS>"
    }
  ],
  "expectedTools": [
    "check_package",
    "check_dependencies",
    "check_install_command"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: check_package, check_dependencies, check_install_command.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T15:28:35.847320597Z"
}
