Skills/npm/context7-mcp

context7-mcp@4.8.0

VERIFIED

Publisher claims: "MCP server for Context7" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher upstash · publishing for 678 daysInstalls 4.1MLast detonated 17 min ago
$claude mcp add context7-mcp -- npx -y @upstash/context7-mcp
WatchReport an issue

Coverage

Server started and answered tools/list.
Tested
MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
Not tested
what the tools do when called with real credentials

Before you give it your token

It will ask for
AUTH_CHECK_PATHAUTH_SERVER_URLCONTEXT7_API_KEYMCP_AUTH_ENFORCEMENTMCP_OAUTH_ALLOWED_AUDIENCESMCP_OAUTH_AUDIENCE_ENFORCEMENTMCP_OAUTH_TOKEN_VALIDATIONOAUTH_AUTH_SERVER_URLOAUTH_JWKS_URLOPENAI_APPS_CHALLENGE_TOKENConfiguration, not credentials: CONTEXT7_API_URL, CONTEXT7_EXPERIMENTAL, CONTEXT7_RESEARCH_PREVIEW, EMA_ISSUER, EMA_JWKS_URL, MCP_CLIENT_IP_ASSERTION_KEY, NODE_EXTRA_CA_CERTS, RESOURCE_URL, SNAPSHOT_PATH, VERCEL_MARKETPLACE_OIDC_AUDIENCE, VERCEL_MARKETPLACE_OIDC_ISSUER
Where it talks to
no vendor host named in the codeAlso context7.com, microsoftonline.com, x.example, vercel.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names context7.com, microsoftonline.com, x.example, vercel.com as well as its own vendor. The guard injects AUTH_CHECK_PATH, AUTH_SERVER_URL, CONTEXT7_API_KEY, MCP_AUTH_ENFORCEMENT, MCP_OAUTH_ALLOWED_AUDIENCES, MCP_OAUTH_AUDIENCE_ENFORCEMENT, MCP_OAUTH_TOKEN_VALIDATION, OAUTH_AUTH_SERVER_URL, OAUTH_JWKS_URL, OPENAI_APPS_CHALLENGE_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- npx -y @upstash/context7-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 4.7.3

vet-skills diff context7-mcp 4.7.3 4.8.0

This version reaches for something 4.7.3 did not: 2 rewritten tool descriptors (query-docs, resolve-library-id). Compared from the two recorded runs, not from source.

Rewritten tool descriptors
query-docs, resolve-library-id

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-24 and scored it 85/100 (Verified). It did what it claims and nothing else we could detect: no undeclared network egress, no credential reads, no persistent instruction writes. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 55 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
35sprocessdependency install exit 0
55sclaimed2 tools: resolve-library-id, query-docs
55stools15e9e00da2a29d9a
55stools96f92fbd8342de3c
55sprocessscript backend runs setup only
55sprocessno install scripts to re-run

Static findings

MEDIUM
npx invocation of non-well-known packagedist/lib/auth/auth-prompt.js:21 · npx invocation of non-well-known package — may execute untrusted code? `npx ctx7 setup ${flag} --mcp${transportFlag} -y`Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Collapsed <details> block carrying instructionsREADME.md:134 · Collapsed <details> block carrying instructions<summary><b>Install in Claude Code</b></summary> Run this command. See [Claude Code MCP docs](https://docs.anthropic.com/en/docs/claude-code/mcp) for more info.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
File permission modification commandpackage.json:64 · File permission modification command — agent changes file ownership/permissions"build": "tsc && chmod 755 dist/index.js",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Collapsed <details> block carrying instructionsREADME.md:155 · Collapsed <details> block carrying instructions<summary><b>Install in Amp</b></summary> Run this command in your terminal. See [Amp MCP docs](https://ampcode.com/manual#mcp) for more info. #### With OAuth ``Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
npx invocation of non-well-known packagedist/lib/auth/auth-prompt.js:22 · npx invocation of non-well-known package — may execute untrusted code: `npx ctx7 setup --mcp${transportFlag}`;Fix: Pin versions and sources; vendor anything fetched at install time.
AST06

Cost to the agent

Instructions loaded
≈44 tok
1 file · 36 in bundle
Tool list per prompt
≈1,312 tok
2 tools · 656 per tool
Handshake
2334 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 1312

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.