Agent Plugins 1.0Developer Toolsv1.0.0

Context7 Agent Plugin

Context7 gives compatible coding agents current, version-specific library documentation and code examples through a remote OAuth MCP server. Its included Skill guides agents to resolve the right library identifier, query one documentation concept at a time, and prefer official sources.

0 repository stars MIT Updated Aug 11, 2026
Current docs / 01

current

by source.

Resolve the library, query one concept, and bring version-specific documentation into the agent context.

Resolve, query, verify

Install Context7 with Codex CLI or Copilot CLI

Register Upstash's Context7 Marketplace, install context7 from context7-marketplace, and let a compatible client complete the OAuth flow when it first connects to the remote MCP server.

Installation

Install Plugin

Choose Codex or Copilot, click Copy, paste the two lines into a terminal, and press Enter.The installation commands are identical on Windows, macOS, and Linux.

codex plugin marketplace add upstash/context7
codex plugin add context7@context7-marketplace

Explainable standards check

Latest official standard could not be confirmed

Official latest version: 1.0.0 (Working Draft). The value is read from the official specification and cached for one day.

Read the official specification

This is a static package-format check, not a security audit, quality score, malware scan, or guarantee of client compatibility.

Source package available for inspection

The package could not be checked: plugin.json returned 429.

Static source inspection

Capabilities

What can you do with the Context7 Agent Plugin?

Give coding agents fresher library context.

Use Context7 when a task depends on current framework, SDK, API, CLI, or cloud-service documentation instead of relying only on model training data.

  • Resolve a library name to a Context7-compatible identifier.
  • Fetch current documentation for a single focused concept.
  • Prefer version-specific library identifiers when a version is named.
  • Retrieve source-backed code examples for third-party libraries.
  • Favor official or primary packages over community forks.
  • Connect through a remote Streamable HTTP MCP server using client-managed OAuth.

Resolve the right library

The resolve-library-id tool searches for matching libraries and returns identifiers that can be ranked by name match, documentation quality, and version relevance.

Query focused documentation

The query-docs tool retrieves documentation for one concept at a time, helping the agent avoid broad queries that dilute relevant results.

Use client-managed OAuth

The portable MCP configuration points to Context7's OAuth endpoint without embedding an API key or repository secret.

Apply version awareness

The Skill tells agents to prefer version-specific identifiers when users mention releases such as Next.js 15 or React 19.

Practical workflow

From library question to current documentation

Pass 01 / Resolve

Identify the library

Call resolve-library-id with the library name and the documentation concept, then choose the closest official match and relevant version.

Pass 02 / Query

Fetch one concept

Call query-docs with the selected library ID and a focused topic. Split unrelated concepts into separate documentation queries.

Pass 03 / Apply

Use the retrieved context

Answer or generate code from the returned documentation, preserving relevant version details and preferring primary-source guidance.

Package contents

What is included in Context7?

The portable package contains one Context7 lookup Skill, one Streamable HTTP MCP server configuration, the Agent Plugins 1.0.0 manifest, source documentation, and an MIT license.

Agent Skills

1

context7-mcp

MCP servers

1

Portable MCP configuration

Package format

Agent Plugins

Official latest 1.0.0

Synced source content

Repository README

View original README

This README snapshot is stored by Agent Plugins Hub and refreshed by the daily GitHub synchronization pipeline. Remote images and embedded content are not loaded.

Source
https://github.com/upstash/context7#readme

This repository does not currently provide a README snapshot. The plugin instructions below remain available.

Source documentation

Context7 Agent Plugin guidance

Rendered from the linked GitHub source. Raw HTML is disabled, scripts cannot execute, remote images are omitted, and external links open separately.

What this catalog entry covers

This entry documents the portable Agent Plugins 1.0.0 package stored at plugins/agent-plugins/context7 in the Upstash Context7 repository. The reviewed package contains one Skill and one MCP server configuration. The source snapshot is pinned to commit ef14a58dfedb14f2d02bf7ecd0b1654b41553520 so the manifest, paths, and installation claims can be checked against a stable revision.

Package scope

Context7 is designed for questions and code generation that depend on current library documentation. The package combines reusable lookup instructions with a remote Context7 MCP connection. It does not add client-specific commands, agents, hooks, or rules to the portable package.

Included Skill

The context7-mcp Skill instructs an agent to use Context7 for libraries, frameworks, SDKs, APIs, CLI tools, and cloud services. It is especially relevant when a user names a specific version or asks for setup, configuration, migration, or API syntax.

The Skill also defines cases where Context7 should not be used, including general programming concepts, business-logic debugging, code review, or a task for which the user has already supplied the relevant documentation.

Documentation lookup workflow

1. Resolve the library

Use resolve-library-id with the library name and the documentation topic. Select the closest official or primary match, and prefer a version-specific identifier when the user names a release.

2. Query one concept

Use query-docs with the selected library ID and one focused documentation concept. If a request covers unrelated areas such as routing, authentication, and caching, query those areas separately so each result remains relevant.

3. Apply the result

Use the retrieved documentation to answer the question or generate code. Preserve version details where they affect the API or configuration.

MCP connection and authentication

The package's mcp.json declares a Streamable HTTP server at https://mcp.context7.com/mcp/oauth. Authentication is performed by the client through OAuth; the plugin does not embed an API key or secret.

A client that cannot complete the required OAuth flow may still load the Skill but will not be able to connect to the remote Context7 MCP server. Confirm client support before relying on the MCP tools in a production workflow.

Available MCP tools

  • resolve-library-id searches for Context7-compatible library identifiers.
  • query-docs retrieves documentation for a resolved library identifier and a focused topic.

Portability notes

The Context7 repository also contains client-specific packages for Codex, Copilot, Claude, and other environments. Those packages are separate from the portable Agent Plugins 1.0.0 directory documented here. The portable source path is plugins/agent-plugins/context7.

License

The reviewed package includes an MIT license attributed to Upstash. Review the pinned source files and your client's OAuth behavior before installation.