{
  "format_version": "0.2.0",
  "report_id": "e87d55ce-c043-4eb4-ae4b-5a8512075d8f",
  "generated_at": "2026-09-04T12:17:29.059Z",
  "subject": {
    "server_name": "io.github.upstash/context7",
    "publisher_claim": "@upstash",
    "artifact": {
      "ecosystem": "npm",
      "package": "@upstash/context7-mcp",
      "version": "4.0.5",
      "sha256": "c6ed2aaac7f67cfb94eb35e72a48c4c1204a815f54e15ae6e96ed3465b9d58b4",
      "download_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.0.5.tgz",
      "registry_metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.0.5",
      "acquired_at": "2026-09-04T12:17:29.059Z",
      "registry_metadata_sha256": "9c3b944c081d6b9f99b7d249cf2d648afb470049a2159fe443f32aad69701eed",
      "integrity_claim": "sha512-PHDDdCiu/H9d37R//g/s50f5/EBvGECABExSgz0ESsdpeEoPCfWj34xd21r/3zakWTapOOwqManMwd9j9W2Xow==",
      "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": "eb755558caeefa39191601565c667d5f901ba62193b0717e5631f3767f8b793d",
          "artifact_path": "package/package.json",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "name": "@upstash/context7-mcp",
        "version": "4.0.5",
        "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": "c6ed2aaac7f67cfb94eb35e72a48c4c1204a815f54e15ae6e96ed3465b9d58b4",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "entry_count": 12,
        "regular_file_bytes": 96594,
        "entries": [
          {
            "path": "package/dist/index.js",
            "type": "file",
            "size": 24354,
            "sha256": "c6311730bf995a2c0b39b514a832f8675b584565f956fcb92630b35e27a94f79"
          },
          {
            "path": "package/dist/lib/api.js",
            "type": "file",
            "size": 6337,
            "sha256": "b40f4e35d756332fd12b930e037c20339552233fba1c12c872ecb98ac945cc74"
          },
          {
            "path": "package/dist/lib/auth/auth-prompt.js",
            "type": "file",
            "size": 4162,
            "sha256": "9d6ef90e4a7cb750b6502dba7eb1ba4bd7236379d724bbd164ef70982e696460"
          },
          {
            "path": "package/dist/lib/constants.js",
            "type": "file",
            "size": 1781,
            "sha256": "0c1db5dac21d3e4d97b6aa1c1e0e1e362575d807afd0a4b4705a4a05ddc3c384"
          },
          {
            "path": "package/dist/lib/encryption.js",
            "type": "file",
            "size": 2823,
            "sha256": "8e949eb881dbcecca19c1cf88fa18ca0d2d991823361f1471d5e9143ac4fcd10"
          },
          {
            "path": "package/dist/lib/jwt.js",
            "type": "file",
            "size": 3725,
            "sha256": "49bd29c304204f54f3cbfb31a503e1b4fc570f90d3d1c23841a593deb5d1d8f6"
          },
          {
            "path": "package/dist/lib/subscriptions.js",
            "type": "file",
            "size": 540,
            "sha256": "80940a5d024bcb1e2b936ac26c5265ba69164e73859dd2c460897968473b32ae"
          },
          {
            "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/LICENSE",
            "type": "file",
            "size": 1079,
            "sha256": "85cfb556dc2b22b55d2565674fcdaac82f3f2f6b7a928d27003132721bb6736c"
          },
          {
            "path": "package/package.json",
            "type": "file",
            "size": 2128,
            "sha256": "eb755558caeefa39191601565c667d5f901ba62193b0717e5631f3767f8b793d"
          },
          {
            "path": "package/README.md",
            "type": "file",
            "size": 45712,
            "sha256": "51aa47eba44abd6998823221f3ecb132ad8e40fc38e72a236835aea93c88c550"
          }
        ]
      }
    },
    {
      "id": "observation:registry-metadata",
      "kind": "artifact_metadata",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "9c3b944c081d6b9f99b7d249cf2d648afb470049a2159fe443f32aad69701eed",
          "capture_kind": "registry_metadata"
        }
      ],
      "data": {
        "metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.0.5",
        "requested_package": "@upstash/context7-mcp",
        "requested_version": "4.0.5",
        "tarball_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.0.5.tgz",
        "integrity_claim": "sha512-PHDDdCiu/H9d37R//g/s50f5/EBvGECABExSgz0ESsdpeEoPCfWj34xd21r/3zakWTapOOwqManMwd9j9W2Xow==",
        "integrity_verified": true
      }
    },
    {
      "id": "observation:runtime-dependencies",
      "kind": "dependency",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "eb755558caeefa39191601565c667d5f901ba62193b0717e5631f3767f8b793d",
          "artifact_path": "package/package.json",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "dependencies": {
          "@modelcontextprotocol/node": "2.0.0",
          "@modelcontextprotocol/server": "2.0.0",
          "@types/express": "^5.0.4",
          "commander": "^13.1.0",
          "express": "^5.1.0",
          "jose": "^6.2.3",
          "undici": "^7.0.0",
          "zod": "^4.4.3"
        }
      }
    },
    {
      "id": "observation:network-api-b63cd636512f0b3d",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "b40f4e35d756332fd12b930e037c20339552233fba1c12c872ecb98ac945cc74",
          "artifact_path": "package/dist/lib/api.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            4155,
            4161
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:network-api-4bf9b8b51f4de758",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "c6311730bf995a2c0b39b514a832f8675b584565f956fcb92630b35e27a94f79",
          "artifact_path": "package/dist/index.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            20746,
            20752
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:network-api-239e0ac2031c69e9",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "49bd29c304204f54f3cbfb31a503e1b4fc570f90d3d1c23841a593deb5d1d8f6",
          "artifact_path": "package/dist/lib/jwt.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            1001,
            1007
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network API."
      }
    },
    {
      "id": "observation:static-tool-inventory",
      "kind": "protocol_inventory",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "c6ed2aaac7f67cfb94eb35e72a48c4c1204a815f54e15ae6e96ed3465b9d58b4",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "extraction": "static_source_analysis",
        "complete": true,
        "incompleteness": [],
        "scanned_files": [
          "package/dist/index.js",
          "package/dist/lib/api.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/subscriptions.js",
          "package/dist/lib/types.js",
          "package/dist/lib/utils.js"
        ],
        "tools": [
          {
            "name": "query-docs",
            "discovery": "registration",
            "artifact_path": "package/dist/index.js",
            "byte_range": [
              10408,
              12776
            ],
            "description_sha256": "0ad4a5e4f24c62473be1e3dca954fbd685b3c10af757550bf525b52bf0134327",
            "description_repr": "string_literal",
            "input_schema_sha256": "e1f907f9bc34e8e5674a9cc34668ae715c784adc16498d947b02ab63d76477b6",
            "input_schema_repr": "source_text"
          },
          {
            "name": "resolve-library-id",
            "discovery": "registration",
            "artifact_path": "package/dist/index.js",
            "byte_range": [
              6312,
              10402
            ],
            "description_sha256": "6d85cad96641caacff07e8c20523a1455fa5f89f776681ca9f81dcda58b0468d",
            "description_repr": "string_literal",
            "input_schema_sha256": "bfbf196f629386c923d46f1f7929f1c29ea702c2c4c8364ece2b9998af08861a",
            "input_schema_repr": "source_text"
          }
        ]
      }
    }
  ],
  "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."
    }
  ]
}