UNPKG is an MCP server published by io.github.unpkg, hosted at mcp.unpkg.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 14 tools, including resolve_package, list_files, build_file_url, audit_dependencies, verify_url.
Live npm and UNPKG data for AI agents: resolution, audits, import maps, malware/CVE checks.
Nothing else in the archive shares these values.
Resolve a package name plus exact version, dist-tag, or semver range to the version that exists on npm today, with its browser entry points. Use this instead of recalling versions from memory.
| Parameter | Type | Description |
|---|---|---|
| package * | string | npm package name, e.g. react or @scope/name |
| version | string | Exact version, dist-tag, or semver range. Defaults to latest. |
{
"name": "resolve_package",
"title": "Resolve an npm package version",
"description": "Resolve a package name plus exact version, dist-tag, or semver range to the version that exists on npm today, with its browser entry points. Use this instead of recalling versions from memory.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"package"
],
"properties": {
"package": {
"type": "string",
"description": "npm package name, e.g. react or @scope/name"
},
"version": {
"type": "string",
"description": "Exact version, dist-tag, or semver range. Defaults to latest."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"requested",
"resolvedVersion",
"distTags",
"entryPoints",
"peerDependencies"
],
"properties": {
"name": {
"type": "string"
},
"distTags": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"requested": {
"type": "string"
},
"entryPoints": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"resolvedVersion": {
"type": "string"
},
"peerDependencies": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the real files inside an exact or resolvable package version via UNPKG ?meta. Use this before choosing a file path; never guess paths.
| Parameter | Type | Description |
|---|---|---|
| path | string | Directory prefix inside the package, e.g. /dist/. Defaults to /. |
| limit | integer | Max files to return. Defaults to 200. |
| package * | string | |
| version | string | Defaults to latest; resolved before listing. |
{
"name": "list_files",
"title": "List files in a package version",
"description": "List the real files inside an exact or resolvable package version via UNPKG ?meta. Use this before choosing a file path; never guess paths.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"package"
],
"properties": {
"path": {
"type": "string",
"description": "Directory prefix inside the package, e.g. /dist/. Defaults to /."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max files to return. Defaults to 200."
},
"package": {
"type": "string"
},
"version": {
"type": "string",
"description": "Defaults to latest; resolved before listing."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"package",
"version",
"prefix",
"totalFiles",
"truncated",
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"prefix": {
"type": "string"
},
"package": {
"type": "string"
},
"version": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"totalFiles": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Build a direct UNPKG file URL (the original file lookup) with a deliberate version policy, verifying the file exists when a path is given.
| Parameter | Type | Description |
|---|---|---|
| file | string | File path inside the package. Defaults to the resolved entry point. |
| policy | string | preserve: keep the given spec (default). exact: resolved version. patch: major.minor (bug fixes flow). range: ^major.minor.patch. |
| package * | string | |
| subpath | string | Package subpath import, e.g. hooks for preact/hooks. Resolved through the exports map, then file discovery. Ignored when file is given. |
| version | string | Exact version, dist-tag, or range to resolve. Defaults to latest. |
{
"name": "build_file_url",
"title": "Build a canonical UNPKG file URL",
"description": "Build a direct UNPKG file URL (the original file lookup) with a deliberate version policy, verifying the file exists when a path is given.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"package"
],
"properties": {
"file": {
"type": "string",
"description": "File path inside the package. Defaults to the resolved entry point."
},
"policy": {
"enum": [
"preserve",
"exact",
"patch",
"range"
],
"type": "string",
"description": "preserve: keep the given spec (default). exact: resolved version. patch: major.minor (bug fixes flow). range: ^major.minor.patch."
},
"package": {
"type": "string"
},
"subpath": {
"type": "string",
"description": "Package subpath import, e.g. hooks for preact/hooks. Resolved through the exports map, then file discovery. Ignored when file is given."
},
"version": {
"type": "string",
"description": "Exact version, dist-tag, or range to resolve. Defaults to latest."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url",
"package",
"specUsed",
"resolvedVersion",
"file",
"verifiedFileExists"
],
"properties": {
"url": {
"type": "string"
},
"file": {
"type": "string"
},
"package": {
"type": "string"
},
"specUsed": {
"type": "string"
},
"resolvedVersion": {
"type": "string"
},
"verifiedFileExists": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Classify a project's runtime dependencies for conversion to direct UNPKG file lookups, in framework context when given. Read the project's package.json yourself and pass its dependencies map; this tool checks each package against live npm/UNPKG data and returns convert_now / convert_carefully / keep_bundled / needs_review with suggested URLs and an import map for the safe conversions. IMPORTANT: suitability is not usage. Before calling, scan the project's HTML/files for an existing import map and CDN URLs and pass them as existingImports; entries already on UNPKG come back as already_on_unpkg, not conversion candidates. If you did not scan, say so — currentUsage will be absent rather than falsely 'not detected'. Only pass runtime dependencies, never devDependencies.
| Parameter | Type | Description |
|---|---|---|
| framework | string | The project's framework, if any. Framework-managed packages (react/react-dom in Next, vue in Nuxt, ...) are classified keep_bundled in context. Auto-detected from the dependency map when omitted. |
| dependencies * | object | Map of package name to the version spec from package.json, e.g. { "preact": "^10.25.4" } |
| existingImports | object | Existing imports found in the project: bare specifier to current URL, typically an import map extracted from HTML (include subpath keys like preact/hooks). Pass {} if you scanned and found none. Omit only if you did not scan; the result then reports current usage as unknown instead of not detected. |
{
"name": "audit_dependencies",
"title": "Audit dependencies for UNPKG conversion",
"description": "Classify a project's runtime dependencies for conversion to direct UNPKG file lookups, in framework context when given. Read the project's package.json yourself and pass its dependencies map; this tool checks each package against live npm/UNPKG data and returns convert_now / convert_carefully / keep_bundled / needs_review with suggested URLs and an import map for the safe conversions. IMPORTANT: suitability is not usage. Before calling, scan the project's HTML/files for an existing import map and CDN URLs and pass them as existingImports; entries already on UNPKG come back as already_on_unpkg, not conversion candidates. If you did not scan, say so — currentUsage will be absent rather than falsely 'not detected'. Only pass runtime dependencies, never devDependencies.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dependencies"
],
"properties": {
"framework": {
"enum": [
"next",
"nuxt",
"sveltekit",
"remix",
"astro",
"gatsby"
],
"type": "string",
"description": "The project's framework, if any. Framework-managed packages (react/react-dom in Next, vue in Nuxt, ...) are classified keep_bundled in context. Auto-detected from the dependency map when omitted."
},
"dependencies": {
"type": "object",
"description": "Map of package name to the version spec from package.json, e.g. { \"preact\": \"^10.25.4\" }",
"additionalProperties": {
"type": "string"
}
},
"existingImports": {
"type": "object",
"description": "Existing imports found in the project: bare specifier to current URL, typically an import map extracted from HTML (include subpath keys like preact/hooks). Pass {} if you scanned and found none. Omit only if you did not scan; the result then reports current usage as unknown instead of not detected.",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"framework",
"frameworkNote",
"scopeNote",
"currentStateSummary",
"shieldVerdicts",
"shieldNote",
"summary",
"dependencies",
"importmap",
"importmapScope",
"peerImportsAdded",
"peerNotes",
"mapValidation",
"impact",
"nextSteps"
],
"properties": {
"impact": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"summary": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"framework": {
"type": [
"string",
"null"
]
},
"importmap": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"nextSteps": {
"type": "string"
},
"peerNotes": {
"type": "array",
"items": {
"type": "string"
}
},
"scopeNote": {
"type": "string"
},
"shieldNote": {
"type": [
"string",
"null"
]
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"frameworkNote": {
"type": [
"string",
"null"
]
},
"mapValidation": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"importmapScope": {
"type": "string"
},
"shieldVerdicts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"peerImportsAdded": {
"type": "array",
"items": {
"type": "string"
}
},
"currentStateSummary": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check that a UNPKG file URL actually resolves (follows redirects) before you put it in a project.
| Parameter | Type | Description |
|---|---|---|
| url * | string | A full https://unpkg.com/... file URL. |
{
"name": "verify_url",
"title": "Verify a UNPKG URL resolves",
"description": "Check that a UNPKG file URL actually resolves (follows redirects) before you put it in a project.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "A full https://unpkg.com/... file URL."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"status",
"finalUrl",
"contentType"
],
"properties": {
"ok": {
"type": "boolean"
},
"status": {
"type": "number"
},
"finalUrl": {
"type": "string"
},
"contentType": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Resolve a set of bare specifiers to UNPKG file URLs and return a ready-to-paste import map. Entry files are resolved live from each package.
| Parameter | Type | Description |
|---|---|---|
| entries * | array |
{
"name": "generate_importmap",
"title": "Generate an import map for UNPKG packages",
"description": "Resolve a set of bare specifiers to UNPKG file URLs and return a ready-to-paste import map. Entry files are resolved live from each package.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"entries"
],
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"specifier",
"package"
],
"properties": {
"file": {
"type": "string",
"description": "Explicit file; defaults to the package entry point."
},
"package": {
"type": "string"
},
"version": {
"type": "string"
},
"specifier": {
"type": "string",
"description": "Bare specifier used in imports, e.g. preact or preact/hooks"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"importmap",
"resolved"
],
"properties": {
"resolved": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"importmap": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Validate an existing or proposed import map: every UNPKG URL resolves, files exist, versions are mutually consistent (including react/react-dom pairing and duplicate-version skew), loose specs are flagged, and framework-managed packages are errors when a framework is given or detected. Run this after generate_importmap or an audit, before committing to a conversion.
| Parameter | Type | Description |
|---|---|---|
| imports * | object | The import map's imports object: bare specifier to URL. |
| framework | string | one of ["next","nuxt","sveltekit","remix","astro","gatsby"] |
{
"name": "check_importmap",
"title": "Validate an import map as a system",
"description": "Validate an existing or proposed import map: every UNPKG URL resolves, files exist, versions are mutually consistent (including react/react-dom pairing and duplicate-version skew), loose specs are flagged, and framework-managed packages are errors when a framework is given or detected. Run this after generate_importmap or an audit, before committing to a conversion.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"imports"
],
"properties": {
"imports": {
"type": "object",
"description": "The import map's imports object: bare specifier to URL.",
"additionalProperties": {
"type": "string"
}
},
"framework": {
"enum": [
"next",
"nuxt",
"sveltekit",
"remix",
"astro",
"gatsby"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"framework",
"entries",
"globalIssues"
],
"properties": {
"ok": {
"type": "boolean"
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"framework": {
"type": [
"string",
"null"
]
},
"globalIssues": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Search npm for a need (e.g. 'date picker', 'markdown parser') and annotate each result with browser readiness for direct UNPKG file lookup: browser-ready ESM, CommonJS-only, or unclear, with the entry file and size when known. Ranking is npm's relevance order; readiness is annotated, never hidden, so a CJS-only result is visible as such rather than silently dropped.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results to annotate. Defaults to 5. |
| query * | string | What the package should do, e.g. 'confetti', 'sanitize html', 'date picker'. |
{
"name": "search_packages",
"title": "Search npm for browser-suitable packages",
"description": "Search npm for a need (e.g. 'date picker', 'markdown parser') and annotate each result with browser readiness for direct UNPKG file lookup: browser-ready ESM, CommonJS-only, or unclear, with the entry file and size when known. Ranking is npm's relevance order; readiness is annotated, never hidden, so a CJS-only result is visible as such rather than silently dropped.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Results to annotate. Defaults to 5."
},
"query": {
"type": "string",
"description": "What the package should do, e.g. 'confetti', 'sanitize html', 'date picker'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"results",
"note"
],
"properties": {
"note": {
"type": "string"
},
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Order-of-magnitude estimate of bandwidth offloaded (and hosting dollars, if a $/GB is given) when bytes move from first-party hosting to UNPKG. Range-based with explicit assumptions and caveats; it cannot forecast latency or Core Web Vitals. Get unpkgBytesPerPageLoad from audit_dependencies' impact.convertNowEntryBytes plus any transitive files the caller chooses to include.
| Parameter | Type | Description |
|---|---|---|
| browserCacheRate | number | Share of loads served from browser cache. Default 0.5. |
| monthlyPageViews * | number | |
| bandwidthCostPerGbUsd | number | Current hosting $/GB, if known. Omit to skip dollars. |
| unpkgBytesPerPageLoad * | number | Raw bytes per page load moving to UNPKG. |
{
"name": "estimate_migration_impact",
"title": "Rough bandwidth/cost impact of a conversion",
"description": "Order-of-magnitude estimate of bandwidth offloaded (and hosting dollars, if a $/GB is given) when bytes move from first-party hosting to UNPKG. Range-based with explicit assumptions and caveats; it cannot forecast latency or Core Web Vitals. Get unpkgBytesPerPageLoad from audit_dependencies' impact.convertNowEntryBytes plus any transitive files the caller chooses to include.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"monthlyPageViews",
"unpkgBytesPerPageLoad"
],
"properties": {
"browserCacheRate": {
"type": "number",
"maximum": 0.95,
"minimum": 0,
"description": "Share of loads served from browser cache. Default 0.5."
},
"monthlyPageViews": {
"type": "number",
"exclusiveMinimum": 0
},
"bandwidthCostPerGbUsd": {
"type": "number",
"description": "Current hosting $/GB, if known. Omit to skip dollars.",
"exclusiveMinimum": 0
},
"unpkgBytesPerPageLoad": {
"type": "number",
"description": "Raw bytes per page load moving to UNPKG.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"monthlyGbOffloaded",
"monthlySavingsUsd",
"perLoadWireBytes",
"transferTimeEquivalentMs",
"assumptions",
"caveats",
"betterMetrics"
],
"properties": {
"caveats": {
"type": "array",
"items": {
"type": "string"
}
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
}
},
"betterMetrics": {
"type": "array",
"items": {
"type": "string"
}
},
"perLoadWireBytes": {
"$ref": "#/properties/monthlyGbOffloaded"
},
"monthlySavingsUsd": {
"anyOf": [
{
"$ref": "#/properties/monthlyGbOffloaded"
},
{
"type": "null"
}
]
},
"monthlyGbOffloaded": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number"
},
"high": {
"type": "number"
}
},
"additionalProperties": false
},
"transferTimeEquivalentMs": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return the Shield account, organization, and entitlements for the OAuth login on this connection. Requires an approved Shield account; anonymous connections get an authorization_required error with reconnect instructions.
No parameters.
{
"name": "shield_whoami",
"title": "Shield account for the logged-in user",
"description": "Return the Shield account, organization, and entitlements for the OAuth login on this connection. Requires an approved Shield account; anonymous connections get an authorization_required error with reconnect instructions.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Preview what Shield would do for one package@version request (optionally with referer/origin) under the logged-in user's effective pin/block rules, using the same rule-matching semantics as the edge.
| Parameter | Type | Description |
|---|---|---|
| path | string | |
| origin | string | |
| package * | string | |
| referer | string | |
| version * | string |
{
"name": "shield_simulate_request",
"title": "Simulate a Shield edge decision",
"description": "Preview what Shield would do for one package@version request (optionally with referer/origin) under the logged-in user's effective pin/block rules, using the same rule-matching semantics as the edge.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"package",
"version"
],
"properties": {
"path": {
"type": "string"
},
"origin": {
"type": "string"
},
"package": {
"type": "string"
},
"referer": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check exact package@version pairs against Shield intel: malware verdict (with review state) and CVEs affecting that version, including the first patched version. Works anonymously for packages you name (25 per call); Shield login raises the cap to 200. Domain data still requires login. Missing pairs were not scanned yet — absence is not a clean verdict.
| Parameter | Type | Description |
|---|---|---|
| packages * | array |
{
"name": "shield_check_packages",
"title": "Malware verdicts and CVEs for package versions",
"description": "Check exact package@version pairs against Shield intel: malware verdict (with review state) and CVEs affecting that version, including the first patched version. Works anonymously for packages you name (25 per call); Shield login raises the cap to 200. Domain data still requires login. Missing pairs were not scanned yet — absence is not a clean verdict.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"packages"
],
"properties": {
"packages": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the caller's verified domains with package counts, or the packages Shield has observed on one domain. With includeThreats, one domain's packages come back annotated with malware verdicts and CVEs, ranked by the domain's own traffic. Requires Shield login.
| Parameter | Type | Description |
|---|---|---|
| days | integer | Lookback window for threats mode. Default 30; 0 = all-time. |
| domain | string | One verified domain. Omit to list domains with package counts. |
| includeThreats | boolean | Annotate one domain's packages with verdicts and CVEs. Requires domain. |
{
"name": "shield_domain_packages",
"title": "Shield-observed packages on your domains",
"description": "List the caller's verified domains with package counts, or the packages Shield has observed on one domain. With includeThreats, one domain's packages come back annotated with malware verdicts and CVEs, ranked by the domain's own traffic. Requires Shield login.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"days": {
"type": "integer",
"maximum": 365,
"minimum": 0,
"description": "Lookback window for threats mode. Default 30; 0 = all-time."
},
"domain": {
"type": "string",
"description": "One verified domain. Omit to list domains with package counts."
},
"includeThreats": {
"type": "boolean",
"description": "Annotate one domain's packages with verdicts and CVEs. Requires domain."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return the logged-in org's monitored packages, blocklist entries, and pin policies as Shield currently holds them. Requires Shield login.
No parameters.
{
"name": "shield_watchlist_status",
"title": "Your Shield watchlist, pins, and blocks",
"description": "Return the logged-in org's monitored packages, blocklist entries, and pin policies as Shield currently holds them. Requires Shield login.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Live npm and UNPKG data for direct file lookups (https://unpkg.com/<package>@<version>/<file>) — the original UNPKG file serving. Do not suggest esm.unpkg.com by default: it is a beta transform service, appropriate only when a package has no browser-ready file and the user opts in. Use resolve_package/list_files instead of guessing versions or paths, build_file_url for canonical URLs, Before an audit, scan the project's HTML for existing import maps and CDN URLs (unpkg.com, cdn.jsdelivr.net, esm.sh, plain script tags) and pass them as existingImports — suitability is not usage, and a project may already be converted. Lead audit summaries with current state. shield_check_packages works anonymously for package@versions the user names (malware verdicts and CVEs); only domain, watchlist, and simulation tools need Shield login. If a shield_* tool returns authorization_required, walk the user through connecting: MCP server must be https://mcp.unpkg.com/mcp, then Authenticate from the client's MCP server panel, sign in at shield.unpkg.com in the browser, Approve, retry. Never present the oauth-protected-resource URL as something the user should open. audit_dependencies and check_importmap before converting a project, and estimate_migration_impact for rough bandwidth ranges (never exact savings promises). Recommend against UNPKG when a bundler or framework already owns the dependency. Framework apps (Next, Nuxt, ...) keep framework-managed packages bundled; only standalone browser surfaces convert. Read the conversion playbook resource before a project audit.
Names, descriptions and schemas were written by the server and are shown as data.