{
  "format_version": "0.2.0",
  "report_id": "f92d95b9-5601-4374-9462-f5fdfe15729d",
  "generated_at": "2026-09-09T18:17:55.209Z",
  "subject": {
    "server_name": "io.github.upstash/context7",
    "publisher_claim": "@upstash",
    "artifact": {
      "ecosystem": "npm",
      "package": "@upstash/context7-mcp",
      "version": "4.0.7",
      "sha256": "64cf502b48e2f6b882dcc868bb163c77fff1068fea07722c37093f2a90608c1c",
      "download_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.0.7.tgz",
      "registry_metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.0.7",
      "acquired_at": "2026-09-09T18:17:55.209Z",
      "registry_metadata_sha256": "bfaedddea4841598e6184eff8b027951b5d5897ebe3423cd5f485a50909d2c4b",
      "integrity_claim": "sha512-56+UVpy1Mwe7IE5ehRuvuqAdyCBRHEAOHh/ztFnlH1ZYkVVrp7ptWMAVhbdSZplD0rKC7byYsBYXyrqbMJHWmA==",
      "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": "8392f929262a6114377c17c9cf197f067ba1f5570139f0974b47e3825181a999",
          "artifact_path": "package/package.json",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "name": "@upstash/context7-mcp",
        "version": "4.0.7",
        "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": "64cf502b48e2f6b882dcc868bb163c77fff1068fea07722c37093f2a90608c1c",
          "capture_kind": "artifact_file"
        }
      ],
      "data": {
        "entry_count": 14,
        "regular_file_bytes": 102122,
        "entries": [
          {
            "path": "package/dist/index.js",
            "type": "file",
            "size": 25296,
            "sha256": "9e4ac23556626313d2e1772c3edfafbdfe8f4e0c5c7aba3ad4713597e72cafbf"
          },
          {
            "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": 3943,
            "sha256": "23c3e4aa5411992de69297068a17b1467aaaf9b5709f0661f186ce224a3bec8a"
          },
          {
            "path": "package/dist/lib/mcp-body-error-handler.js",
            "type": "file",
            "size": 1276,
            "sha256": "c7f9fdea91bbab6c88789de35a34a962b3d4e8bd914f7719e64cbcc1bbbad7d0"
          },
          {
            "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/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": 2128,
            "sha256": "8392f929262a6114377c17c9cf197f067ba1f5570139f0974b47e3825181a999"
          },
          {
            "path": "package/README.md",
            "type": "file",
            "size": 46879,
            "sha256": "fd6f51ffee488bf88860660e1f697e71ffece081d0aedb7f2f6a9278f4d3a56a"
          }
        ]
      }
    },
    {
      "id": "observation:registry-metadata",
      "kind": "artifact_metadata",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "bfaedddea4841598e6184eff8b027951b5d5897ebe3423cd5f485a50909d2c4b",
          "capture_kind": "registry_metadata"
        }
      ],
      "data": {
        "metadata_url": "https://registry.npmjs.org/%40upstash%2Fcontext7-mcp/4.0.7",
        "requested_package": "@upstash/context7-mcp",
        "requested_version": "4.0.7",
        "tarball_url": "https://registry.npmjs.org/@upstash/context7-mcp/-/context7-mcp-4.0.7.tgz",
        "integrity_claim": "sha512-56+UVpy1Mwe7IE5ehRuvuqAdyCBRHEAOHh/ztFnlH1ZYkVVrp7ptWMAVhbdSZplD0rKC7byYsBYXyrqbMJHWmA==",
        "integrity_verified": true
      }
    },
    {
      "id": "observation:runtime-dependencies",
      "kind": "dependency",
      "coverage": "declared",
      "evidence": [
        {
          "sha256": "8392f929262a6114377c17c9cf197f067ba1f5570139f0974b47e3825181a999",
          "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-b0db8b883af45d03",
      "kind": "code_indicator",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "9e4ac23556626313d2e1772c3edfafbdfe8f4e0c5c7aba3ad4713597e72cafbf",
          "artifact_path": "package/dist/index.js",
          "capture_kind": "artifact_file",
          "byte_range": [
            21688,
            21694
          ]
        }
      ],
      "data": {
        "indicator": "network-api",
        "description": "Source references a network 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:static-tool-inventory",
      "kind": "protocol_inventory",
      "coverage": "inferred",
      "evidence": [
        {
          "sha256": "64cf502b48e2f6b882dcc868bb163c77fff1068fea07722c37093f2a90608c1c",
          "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/mcp-body-error-handler.js",
          "package/dist/lib/subscriptions.js",
          "package/dist/lib/types.js",
          "package/dist/lib/utils.js",
          "package/dist/lib/vercelMarketplaceJwt.js"
        ],
        "tools": [
          {
            "name": "query-docs",
            "discovery": "registration",
            "artifact_path": "package/dist/index.js",
            "byte_range": [
              10858,
              13226
            ],
            "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": [
              6762,
              10852
            ],
            "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."
    }
  ]
}