MCP server · Upstash

Context7 MCP Server

An MCP server that retrieves current, version-specific library documentation into an agent session, reducing outdated-API hallucination.

What it is, and what it costs you

Context7 addresses a specific and very common failure: a model confidently writing code against an API that changed after its training cutoff. The server retrieves current documentation for a named library and version and places it in context, which converts a guess into a citation. For fast-moving frameworks the improvement in first-attempt correctness is easy to observe.

The security profile is comparatively benign, and it is worth saying so — not every server needs a warning. It requires no access to your code, your infrastructure, or your credentials. It reads public documentation and returns text. Compared with granting filesystem or database access, this is close to the low-risk end of the MCP spectrum.

The residual risk is the one shared by every retrieval server: the returned text enters the context window with the same apparent standing as the user's instructions. Documentation is aggregated from upstream sources, so its trustworthiness is inherited from those sources and from the aggregation pipeline rather than established independently. A poisoned upstream document, or a compromise anywhere in that pipeline, becomes injected instruction in every session that retrieves it.

There is also a quiet confidentiality consideration. The queries themselves reveal what you are building — which libraries, which versions, which problems you are currently stuck on. For most teams that is unremarkable; for some it is competitive information leaving the building.

Capability profile

What this server can reach, and why a security team cares. These are capabilities the server has by design — derived from the publisher's documentation, not from a scan.

  • documentation retrieval

    Returns third-party text into context. Trust is inherited from upstream sources and the aggregation pipeline.

  • query metadata egress

    Library and version queries reveal your technology choices and current work to the service.

  • no credential or code access

    None required — a genuinely narrow surface, and the reason this is a reasonable default connection.

Restrict this before you roll it out

  • Prefer this over unrestricted web fetch for docs

    A documentation-scoped retrieval server is a narrower surface than a general fetch tool pointed at the open internet.

  • Treat returned documentation as untrusted text

    It is third-party content in the context window. The same injection caveats apply as for any retrieval.

  • Consider query confidentiality

    If your stack is sensitive, note that queries disclose it. Self-hosting is the mitigation where one is needed.

Vincosha Assay assessment

not yet assessed

We have not published a scan verdict for Context7 MCP Server.

Everything above is a capability profile compiled by hand from the publisher's own public documentation on 2026-07-25. It describes what this artifact can reach and what to restrict before rolling it out. It is not a security verdict, and it should not be read as one.

When Vincosha Assaypublishes an assessment for this artifact it will appear here with a verdict, the findings behind it, and the date it ran. We would rather leave this space empty than fill it with a guess — inventing a security verdict about somebody else's software would be both wrong and dangerous.

What an assessment covers

  • prompt-injection patterns in descriptions and instructions
  • credential reads and outbound egress in bundled code
  • over-scoped permissions and manifest claims
  • typosquatted and impersonating names
  • tool-manifest drift since the last approval
  • content hash against the version you approved
Scan your own artifacts with Vincosha Assay

Sources

This profile was compiled from the publisher's own documentation. Products change — verify against the source before making a decision that depends on a specific detail.

Related servers

Concepts on this page

Get a real verdict on the servers you actually run

Vincosha Assay scans MCP manifests, skills, rules and hooks before they reach a laptop and quarantines what fails. Vincosha Ledger then shows which sessions used them, on which machine, at what cost.