{
  "format_version": "0.2.0",
  "report_id": "e75a1274-dae3-43ee-8d4e-45d3b509543a",
  "generated_at": "2026-10-07T18:17:52.401Z",
  "subject": {
    "server_name": "io.github.upstash/context7",
    "publisher_claim": "@upstash",
    "artifact": {
      "ecosystem": "npm",
      "package": "@upstash/context7-mcp",
      "version": "4.2.0",
      "sha256": "e8993e3d41619858e1c0eafdf03765a6188c889aa0e80f914fbacd10416c621f",
      "download_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.2.0.tgz",
      "registry_metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.2.0",
      "acquired_at": "2026-10-07T18:17:52.401Z",
      "registry_metadata_sha256": "07ef07233d050f0965283e842163bbee919a5951a4e3ba2b8680d249da25b297",
      "integrity_claim": "sha512-RWnW8YCCIdpd0fObyPxoJqULNTm06YCIMskbxbY5cb3PamC//d2z0bPXHG6AVhMCgFQeh3SxtE4TyPoN4r7U/Q==",
      "integrity_verified": true
    }
  },
  "analysis": {
    "engine": {
      "name": "sentinel",
      "version": "0.2.0",
      "build_sha256": "76ecfa3e5785d89b34d6618b32c84c01f0e40666b3541871cc874aba61200160"
    },
    "protocol_profile": {
      "id": "mcp-2026-07-28",
      "specification_revision": "2026-07-28",
      "local_retrieval_date": "2026-08-01",
      "discovery_status": "not_run"
    },
    "authorization_profiles": [
      {
        "id": "none",
        "credential_present": false,
        "description": "No credentials were supplied."
      }
    ],
    "rule_pack": {
      "version": "0.1.0",
      "sha256": "302d85219dda34199bd2402fcc94ba34233152fe996a128e0b332ac3efef24b3"
    },
    "semantic_analysis": []
  },
  "observations": [
    {
      "id": "observation:package-metadata",
      "kind": "artifact_metadata",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "07853015a49256a813484f150236fa7f7fd666b1dbd92eac1a5c7c02cc807d07",
          "artifact_path": "package/package.json",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "name": "@upstash/context7-mcp",
        "version": "4.2.0",
        "mcpName": "io.github.upstash/context7",
        "description": "MCP server for Context7",
        "bin": {
          "context7-mcp": "dist/index.js"
        },
        "scripts": {
          "build": "tsc && chmod 755 dist/index.js",
          "test": "pnpm exec vitest run",
          "typecheck": "tsc --noEmit",
          "lint": "eslint .",
          "lint:check": "eslint .",
          "format": "prettier --write .",
          "format:check": "prettier --check .",
          "dev": "tsc --watch",
          "start": "node dist/index.js --transport http",
          "build:mcpb": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --outfile=mcpb/stage/server/dist/index.mjs --banner:js=\"import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);\"",
          "pack-mcpb": "rm -rf mcpb/stage && pnpm run build:mcpb && cp package.json mcpb/stage/package.json && cp mcpb/manifest.json mcpb/stage/manifest.json && cp ../../public/icon.png mcpb/stage/icon.png && mcpb validate mcpb/stage/manifest.json && mcpb pack mcpb/stage mcpb/context7.mcpb && rm -rf mcpb/stage"
        },
        "engines": {
          "node": ">=20.18.1"
        }
      }
    },
    {
      "id": "observation:file-inventory",
      "kind": "file",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "e8993e3d41619858e1c0eafdf03765a6188c889aa0e80f914fbacd10416c621f",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "entry_count": 27,
        "regular_file_bytes": 190691,
        "entries": [
          {
            "path": "package/dist/index.js",
            "type": "file",
            "size": 29273,
            "sha256": "565834f5a40612e81f8a322e850b5f35fa06246816da653ba0176f1e3ebb5a6d"
          },
          {
            "path": "package/dist/lib/api.js",
            "type": "file",
            "size": 7748,
            "sha256": "057392df4dcf6dc1f1b473df474f373689a79cb346f6d4d626992484d41c439f"
          },
          {
            "path": "package/dist/lib/auth-lifecycle-telemetry.js",
            "type": "file",
            "size": 1450,
            "sha256": "ee7ee5c418ecfdf9fc1327d859c4eeff889f33b3ca3bbbb676b3e643964e8ff8"
          },
          {
            "path": "package/dist/lib/auth/auth-prompt.js",
            "type": "file",
            "size": 4162,
            "sha256": "9d6ef90e4a7cb750b6502dba7eb1ba4bd7236379d724bbd164ef70982e696460"
          },
          {
            "path": "package/dist/lib/constants.js",
            "type": "file",
            "size": 3256,
            "sha256": "2374c0cbe6ff711b79b8121d58430b6e5d8407e2ccbdee3085c171c1dd239c25"
          },
          {
            "path": "package/dist/lib/encryption.js",
            "type": "file",
            "size": 2823,
            "sha256": "8e949eb881dbcecca19c1cf88fa18ca0d2d991823361f1471d5e9143ac4fcd10"
          },
          {
            "path": "package/dist/lib/jwt.js",
            "type": "file",
            "size": 3943,
            "sha256": "23c3e4aa5411992de69297068a17b1467aaaf9b5709f0661f186ce224a3bec8a"
          },
          {
            "path": "package/dist/lib/mcp-body-error-handler.js",
            "type": "file",
            "size": 1276,
            "sha256": "c7f9fdea91bbab6c88789de35a34a962b3d4e8bd914f7719e64cbcc1bbbad7d0"
          },
          {
            "path": "package/dist/lib/mcp-http-auth.js",
            "type": "file",
            "size": 4925,
            "sha256": "c71d8b6aecb1bd5796a38befb275ce97148ba574349ec73973ad6c5af93d1902"
          },
          {
            "path": "package/dist/lib/mcp-operation-scope.js",
            "type": "file",
            "size": 542,
            "sha256": "2e760473829e37d412cdc14ad94474bee1f1b56a66e6e78c59d4afd340899cbc"
          },
          {
            "path": "package/dist/lib/mcp-route.js",
            "type": "file",
            "size": 201,
            "sha256": "7cd0ea2c309601c18a8fac5a2082bb3bafe7181d9db38e30b0dc7205feb3d487"
          },
          {
            "path": "package/dist/lib/mcp-subscription-telemetry.js",
            "type": "file",
            "size": 19329,
            "sha256": "ca2e94ee248cec99cde0b77c00ec39d9dfbec9a3714fcfd93cf2ef972c284a51"
          },
          {
            "path": "package/dist/lib/mcp-telemetry.js",
            "type": "file",
            "size": 23512,
            "sha256": "5888da0da429e004754b2674fa422214f77ff6c76fed6d51004f1585c8715f6a"
          },
          {
            "path": "package/dist/lib/oauth-token-validation.js",
            "type": "file",
            "size": 5307,
            "sha256": "0540a8dc383b4f8ed1ecb684037d1c8648f6594585716df747a518980f92be58"
          },
          {
            "path": "package/dist/lib/process-shutdown.js",
            "type": "file",
            "size": 2077,
            "sha256": "59688a21a4b5b3ba548b01a381dc9ad622c80937079f390c74e84a663d84fb43"
          },
          {
            "path": "package/dist/lib/telemetry-config.js",
            "type": "file",
            "size": 535,
            "sha256": "c1d4f2346fd3e7e911dbbe15c3de531f37dea0b570c3ec4a0f55a86856fa5e87"
          },
          {
            "path": "package/dist/lib/telemetry-contracts.js",
            "type": "file",
            "size": 11,
            "sha256": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"
          },
          {
            "path": "package/dist/lib/telemetry-provider.js",
            "type": "file",
            "size": 3455,
            "sha256": "7e5b740b3b266fea10f0cfcb2379bbf8e8b5ba0a161fe9b17fb7b86cd9129df5"
          },
          {
            "path": "package/dist/lib/telemetry-runtime.js",
            "type": "file",
            "size": 2701,
            "sha256": "302de7e531a07362344f102d6fdb8a1d12e644ebaaa4351f67e22aa6c0606089"
          },
          {
            "path": "package/dist/lib/telemetry.js",
            "type": "file",
            "size": 8761,
            "sha256": "6cce05424fd358dbee5c8f577104375dedadab4e27ab89c6a11c8572da4f908b"
          },
          {
            "path": "package/dist/lib/tool-names.js",
            "type": "file",
            "size": 180,
            "sha256": "57422b59138db769769f92b902c854d131d0a513b4fb0cb8b7fbf5c9fd229b82"
          },
          {
            "path": "package/dist/lib/types.js",
            "type": "file",
            "size": 11,
            "sha256": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"
          },
          {
            "path": "package/dist/lib/utils.js",
            "type": "file",
            "size": 3942,
            "sha256": "edeb5a9e74a8e4c81e6072b4830c31d050c5bca2045aa6b84c140778d8c0dd77"
          },
          {
            "path": "package/dist/lib/vercelMarketplaceJwt.js",
            "type": "file",
            "size": 1925,
            "sha256": "a26a5e5e88de60ff3ac9b00c7726a4bfdb26417e89386f4968b7236998841063"
          },
          {
            "path": "package/LICENSE",
            "type": "file",
            "size": 1079,
            "sha256": "85cfb556dc2b22b55d2565674fcdaac82f3f2f6b7a928d27003132721bb6736c"
          },
          {
            "path": "package/package.json",
            "type": "file",
            "size": 2510,
            "sha256": "07853015a49256a813484f150236fa7f7fd666b1dbd92eac1a5c7c02cc807d07"
          },
          {
            "path": "package/README.md",
            "type": "file",
            "size": 55757,
            "sha256": "1000faca0e3766db8e29c27fb474f3b6a2c3ac948b5549fc12a6d42fbe01891e"
          }
        ]
      }
    },
    {
      "id": "observation:registry-metadata",
      "kind": "artifact_metadata",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "07ef07233d050f0965283e842163bbee919a5951a4e3ba2b8680d249da25b297",
          "capture_kind": "registry_metadata"
        }
      ],
      "data": {
        "metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.2.0",
        "requested_package": "@upstash/context7-mcp",
        "requested_version": "4.2.0",
        "tarball_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.2.0.tgz",
        "integrity_claim": "sha512-RWnW8YCCIdpd0fObyPxoJqULNTm06YCIMskbxbY5cb3PamC//d2z0bPXHG6AVhMCgFQeh3SxtE4TyPoN4r7U/Q==",
        "integrity_verified": true
      }
    },
    {
      "id": "observation:runtime-dependencies",
      "kind": "dependency",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "07853015a49256a813484f150236fa7f7fd666b1dbd92eac1a5c7c02cc807d07",
          "artifact_path": "package/package.json",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "dependencies": {
          "@modelcontextprotocol/node": "2.1.0",
          "@modelcontextprotocol/server": "2.2.0",
          "@opentelemetry/api": "^1.9.1",
          "@opentelemetry/exporter-prometheus": "^0.222.0",
          "@opentelemetry/instrumentation-runtime-node": "^0.35.0",
          "@opentelemetry/resources": "^2.11.0",
          "@opentelemetry/sdk-metrics": "^2.11.0",
          "@types/express": "^5.0.4",
          "commander": "^13.1.0",
          "express": "^5.1.0",
          "jose": "^6.2.12",
          "undici": "^7.30.0",
          "zod": "^4.4.3"
        }
      }
    },
    {
      "id": "observation:network-api-0896d0f8e0b75bbd",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "057392df4dcf6dc1f1b473df474f373689a79cb346f6d4d626992484d41c439f",
          "artifact_path": "package/dist/lib/api.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            5243,
            5249
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:network-api-2663cd4f43546710",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "565834f5a40612e81f8a322e850b5f35fa06246816da653ba0176f1e3ebb5a6d",
          "artifact_path": "package/dist/index.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            23739,
            23745
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:process-spawn-api-79a04819c36264a1",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "565834f5a40612e81f8a322e850b5f35fa06246816da653ba0176f1e3ebb5a6d",
          "artifact_path": "package/dist/index.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            16456,
            16461
          ]
        }
      ],
      "data": {
        "indicator": "process-spawn-api",
        "description": "Source references a process-spawning API."
      }
    },
    {
      "id": "observation:network-api-52f02cf0da4a2389",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "23c3e4aa5411992de69297068a17b1467aaaf9b5709f0661f186ce224a3bec8a",
          "artifact_path": "package/dist/lib/jwt.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            1102,
            1108
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:network-api-eb69e6be9e1d0866",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "ca2e94ee248cec99cde0b77c00ec39d9dfbec9a3714fcfd93cf2ef972c284a51",
          "artifact_path": "package/dist/lib/mcp-subscription-telemetry.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            16476,
            16482
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:network-api-b2d0e9f1c89d1918",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "0540a8dc383b4f8ed1ecb684037d1c8648f6594585716df747a518980f92be58",
          "artifact_path": "package/dist/lib/oauth-token-validation.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            2736,
            2742
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:static-tool-inventory",
      "kind": "protocol_inventory",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "e8993e3d41619858e1c0eafdf03765a6188c889aa0e80f914fbacd10416c621f",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "extraction": "static_source_analysis",
        "complete": false,
        "incompleteness": [
          "registration_name_not_static"
        ],
        "scanned_files": [
          "package/dist/index.js",
          "package/dist/lib/api.js",
          "package/dist/lib/auth-lifecycle-telemetry.js",
          "package/dist/lib/auth/auth-prompt.js",
          "package/dist/lib/constants.js",
          "package/dist/lib/encryption.js",
          "package/dist/lib/jwt.js",
          "package/dist/lib/mcp-body-error-handler.js",
          "package/dist/lib/mcp-http-auth.js",
          "package/dist/lib/mcp-operation-scope.js",
          "package/dist/lib/mcp-route.js",
          "package/dist/lib/mcp-subscription-telemetry.js",
          "package/dist/lib/mcp-telemetry.js",
          "package/dist/lib/oauth-token-validation.js",
          "package/dist/lib/process-shutdown.js",
          "package/dist/lib/telemetry-config.js",
          "package/dist/lib/telemetry-contracts.js",
          "package/dist/lib/telemetry-provider.js",
          "package/dist/lib/telemetry-runtime.js",
          "package/dist/lib/telemetry.js",
          "package/dist/lib/tool-names.js",
          "package/dist/lib/types.js",
          "package/dist/lib/utils.js",
          "package/dist/lib/vercelMarketplaceJwt.js"
        ],
        "tools": []
      }
    }
  ],
  "findings": [],
  "limitations": [
    {
      "code": "protocol_discovery_not_run",
      "summary": "M1 performs static artifact inspection only; no MCP protocol session was opened."
    },
    {
      "code": "tool_calls_not_performed",
      "summary": "No tools were invoked."
    },
    {
      "code": "semantic_analysis_not_run",
      "summary": "No semantic model analysis was run."
    },
    {
      "code": "static_tool_extraction_incomplete",
      "summary": "The declared tool surface could not be fully resolved from source (registration_name_not_static). Treat the inventory as a lower bound, not a complete list."
    }
  ]
}