Skip to content

Context7 Platform -- Up-to-date docs for AI agents

CTX7-3133: docs: update stale examples (#3389)

Enes Gules615e72b018f2
diff --git a/.changeset/refresh-prompt-examples.md b/.changeset/refresh-prompt-examples.md
new file mode 100644
index 00000000..ca478459
--- /dev/null
+++ b/.changeset/refresh-prompt-examples.md
@@ -0,0 +1,9 @@
+---
+"@upstash/context7-mcp": patch
+"@upstash/context7-tools-ai-sdk": patch
+"@upstash/context7-pi": patch
+"@upstash/context7-opencode": patch
+"ctx7": patch
+---
+
+Update the Next.js examples in the tool descriptions, the CLI rule and the bundled skill: the version example is now `/vercel/next.js/v16.2.9`, and the prompts use Next.js 16.
diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.json
index 7342e159..f1a72723 100644
--- a/.github/plugin/marketplace.json
+++ b/.github/plugin/marketplace.json
@@ -12,7 +12,7 @@
"name": "context7",
"source": "./plugins/copilot/context7",
"description": "Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
- "version": "1.0.2"
+ "version": "1.0.3"
}
]
}
diff --git a/README.md b/README.md
index e7cec6a0..f5176624 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ LLMs rely on outdated or generic information about the libraries you use. You ge
Context7 pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.
```txt
-Create a Next.js middleware that checks for a valid JWT in cookies
+Create a Next.js proxy that checks for a valid JWT in cookies
and redirects unauthenticated users to `/login`. use context7
```
@@ -46,7 +46,7 @@ Works in two modes:
> [!NOTE]
> **API Key Recommended**: Get a free API key at [context7.com/dashboard](https://context7.com/dashboard) for higher rate limits.
-Set up Context7 for your coding agents with a single command. The `ctx7` CLI requires Node.js 18 or newer.
+Set up Context7 for your coding agents with a single command. The `ctx7` CLI requires Node.js 22.13 or newer.
```bash
npx ctx7 setup
@@ -77,7 +77,7 @@ The slash syntax tells Context7 exactly which library to load docs for.
To get documentation for a specific library version, just mention the version in your prompt:
```txt
-How do I set up Next.js 14 middleware? use context7
+How do I set up a Next.js 16 proxy? use context7
```
Context7 will automatically match the appropriate version.
diff --git a/docs/agentic-tools.mdx b/docs/agentic-tools.mdx
index 9a5b1288..bf5ec8ba 100644
--- a/docs/agentic-tools.mdx
+++ b/docs/agentic-tools.mdx
@@ -66,8 +66,8 @@ sequenceDiagram
import { resolveLibraryId, queryDocs } from "@upstash/context7-tools-ai-sdk";
const { text } = await generateText({
- model: openai("gpt-5.2"),
- prompt: "How do I set up authentication in Next.js 15?",
+ model: openai("gpt-6-astra"),
+ prompt: "How do I set up authentication in Next.js 16?",
tools: {
resolveLibraryId: resolveLibraryId(),
queryDocs: queryDocs(),
@@ -86,7 +86,7 @@ sequenceDiagram
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { text } = await agent.generate({
@@ -113,7 +113,7 @@ sequenceDiagram
`;
const { text } = await generateText({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
prompt: `Review this Supabase code for correctness and best practices:
${codeToReview}
diff --git a/docs/agentic-tools/ai-sdk/agents/context7-agent.mdx b/docs/agentic-tools/ai-sdk/agents/context7-agent.mdx
index 7af48abd..3f22e9c5 100644
--- a/docs/agentic-tools/ai-sdk/agents/context7-agent.mdx
+++ b/docs/agentic-tools/ai-sdk/agents/context7-agent.mdx
@@ -13,7 +13,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { text } = await agent.generate({
@@ -39,9 +39,9 @@ new Context7Agent(config?: Context7AgentConfig)
Language model to use. Must be a LanguageModel instance from an AI SDK provider.
Examples:
- - `anthropic('claude-sonnet-4-20250514')`
- - `openai('gpt-5.2')`
- - `google('gemini-1.5-pro')`
+ - `anthropic('claude-sonnet-5-5')`
+ - `openai('gpt-6-astra')`
+ - `google('gemini-3.8-flash')`
</ParamField>
<ParamField path="apiKey" type="string" optional>
Context7 API key. If not provided, uses the `CONTEXT7_API_KEY` environment variable.
@@ -58,7 +58,7 @@ new Context7Agent(config?: Context7AgentConfig)
### Returns
-`Context7Agent` extends the AI SDK `Agent` class and provides `generate()` and `stream()` methods.
+`Context7Agent` extends the AI SDK `ToolLoopAgent` class and provides `generate()` and `stream()` methods.
## Agent Workflow
@@ -97,7 +97,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { text } = await agent.generate({
@@ -114,7 +114,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { openai } from "@ai-sdk/openai";
const agent = new Context7Agent({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
});
const { text } = await agent.generate({
@@ -129,7 +129,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { textStream } = await agent.stream({
@@ -149,7 +149,7 @@ import { anthropic } from "@ai-sdk/anthropic";
import { stepCountIs } from "ai";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
apiKey: process.env.CONTEXT7_API_KEY,
stopWhen: stepCountIs(8), // Allow more steps for complex queries
});
@@ -162,7 +162,7 @@ import { Context7Agent, AGENT_PROMPT } from "@upstash/context7-tools-ai-sdk";
import { openai } from "@ai-sdk/openai";
const agent = new Context7Agent({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
system: `${AGENT_PROMPT}
Additional instructions:
diff --git a/docs/agentic-tools/ai-sdk/getting-started.mdx b/docs/agentic-tools/ai-sdk/getting-started.mdx
index dc9c57fe..9e372b5e 100644
--- a/docs/agentic-tools/ai-sdk/getting-started.mdx
+++ b/docs/agentic-tools/ai-sdk/getting-started.mdx
@@ -4,7 +4,7 @@ sidebarTitle: "Getting Started"
description: "Add Context7 documentation tools to your Vercel AI SDK applications"
---
-`@upstash/context7-tools-ai-sdk` provides [Vercel AI SDK](https://sdk.vercel.ai/) compatible tools and agents that give your AI applications access to up-to-date library documentation.
+`@upstash/context7-tools-ai-sdk` provides [Vercel AI SDK](https://ai-sdk.dev/) compatible tools and agents that give your AI applications access to up-to-date library documentation.
When building AI-powered applications with the Vercel AI SDK, your models often need accurate information about libraries and frameworks. Instead of relying on potentially outdated training data, Context7 tools let your AI fetch current documentation on-demand, ensuring responses include correct API usage, current best practices, and working code examples.
@@ -65,7 +65,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "How do I create a server action in Next.js?",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -86,7 +86,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { text } = await agent.generate({
@@ -106,7 +106,7 @@ import { streamText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { textStream } = streamText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "Explain how to use Tanstack Query for data fetching",
tools: {
resolveLibraryId: resolveLibraryId(),
diff --git a/docs/agentic-tools/ai-sdk/tools/query-docs.mdx b/docs/agentic-tools/ai-sdk/tools/query-docs.mdx
index 046315ee..9ce0db56 100644
--- a/docs/agentic-tools/ai-sdk/tools/query-docs.mdx
+++ b/docs/agentic-tools/ai-sdk/tools/query-docs.mdx
@@ -14,7 +14,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "How do I use React Server Components?",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -107,7 +107,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "Show me how to set up routing in Next.js App Router",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -142,8 +142,8 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-5.2"),
- prompt: "Using /vercel/next.js, explain middleware",
+ model: openai("gpt-6-astra"),
+ prompt: "Using /vercel/next.js, explain proxy",
tools: {
queryDocs: queryDocs(),
},
@@ -163,7 +163,7 @@ import { generateText, stepCountIs } from "ai";
import { anthropic } from "@ai-sdk/anthropic";
const { text } = await generateText({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
prompt: "Give me a comprehensive guide to Supabase authentication",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -185,7 +185,7 @@ Library IDs can include version specifiers:
"/vercel/next.js";
// Specific version
-"/vercel/next.js/v14.3.0-canary.87";
+"/vercel/next.js/v16.2.9";
```
The model can request documentation for specific versions when the user asks about a particular version.
diff --git a/docs/agentic-tools/ai-sdk/tools/resolve-library-id.mdx b/docs/agentic-tools/ai-sdk/tools/resolve-library-id.mdx
index 6f3492f3..18d071a9 100644
--- a/docs/agentic-tools/ai-sdk/tools/resolve-library-id.mdx
+++ b/docs/agentic-tools/ai-sdk/tools/resolve-library-id.mdx
@@ -14,7 +14,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "Find documentation for React hooks",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -108,7 +108,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text, toolCalls } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "What libraries are available for React?",
tools: {
resolveLibraryId: resolveLibraryId(),
@@ -139,7 +139,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { toolCalls, toolResults } = await generateText({
- model: openai("gpt-5.2"),
+ model: openai("gpt-6-astra"),
prompt: "Find the official Next.js documentation",
tools: {
resolveLibraryId: resolveLibraryId(),
diff --git a/docs/api-guide.mdx b/docs/api-guide.mdx
index 4c436246..740cb8f2 100644
--- a/docs/api-guide.mdx
+++ b/docs/api-guide.mdx
@@ -54,8 +54,8 @@ Use `/owner/repo` for GitHub repositories, or `/<source>/<id>` for other sources
You can pin a specific version with either `/owner/repo/<version>` or `/owner/repo@<version>`:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
```
<Tip>
@@ -180,7 +180,7 @@ Use detailed, natural language queries for better results:
```bash
# Good - specific question
-curl "https://context7.com/api/v2/context?libraryId=/vercel/next.js&query=How%20to%20implement%20authentication%20with%20middleware" \
+curl "https://context7.com/api/v2/context?libraryId=/vercel/next.js&query=How%20to%20implement%20authentication%20with%20a%20proxy" \
-H "Authorization: Bearer CONTEXT7_API_KEY"
# Less optimal - vague query
@@ -236,10 +236,10 @@ def fetch_with_retry(url, headers, max_retries=3):
Pin to a specific version for consistent results. Both `/` and `@` syntax are supported:
```bash
-curl "https://context7.com/api/v2/context?libraryId=/vercel/next.js/v15.1.8&query=app%20router" \
+curl "https://context7.com/api/v2/context?libraryId=/vercel/next.js/v16.2.9&query=app%20router" \
-H "Authorization: Bearer CONTEXT7_API_KEY"
-curl "https://context7.com/api/v2/context?libraryId=/vercel/[email protected]&query=app%20router" \
+curl "https://context7.com/api/v2/context?libraryId=/vercel/[email protected]&query=app%20router" \
-H "Authorization: Bearer CONTEXT7_API_KEY"
```
diff --git a/docs/clients/claude-code.mdx b/docs/clients/claude-code.mdx
index 32b9b403..70dd7f70 100644
--- a/docs/clients/claude-code.mdx
+++ b/docs/clients/claude-code.mdx
@@ -24,7 +24,7 @@ Create or manage API keys in the [Context7 dashboard](https://context7.com/dashb
With `ctx7 setup`, a skill is installed that triggers automatically when you ask about libraries — no need to say "use context7". You can also invoke it explicitly:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
diff --git a/docs/clients/cli.mdx b/docs/clients/cli.mdx
index f4a2b8c4..179da4db 100644
--- a/docs/clients/cli.mdx
+++ b/docs/clients/cli.mdx
@@ -12,7 +12,7 @@ The CLI is useful both as a standalone tool (fetching docs while you code) and a
## Installation
-Requires Node.js 18 or later.
+Requires Node.js 22.13 or later.
<Tabs>
<Tab title="npx (no install)">
@@ -49,7 +49,7 @@ Searches the Context7 index by name and returns matching libraries. Pass a `quer
```bash
ctx7 library react "How to clean up useEffect with async operations"
-ctx7 library nextjs "How to set up app router with middleware"
+ctx7 library nextjs "How to set up app router with a proxy"
ctx7 library prisma "How to define one-to-many relations with cascade delete"
```
@@ -67,7 +67,7 @@ When multiple results come back, the best match is usually the one with the clos
```bash
# Fetch docs for a specific version
-ctx7 docs /vercel/next.js/v14.3.0-canary.87 "How to set up app router"
+ctx7 docs /vercel/next.js/v16.2.9 "How to set up app router"
# Output as JSON for scripting
ctx7 library react "How to use hooks for state management" --json | jq '.[0].id'
@@ -79,7 +79,7 @@ Takes a library ID and a natural-language question, and returns relevant code sn
```bash
ctx7 docs /facebook/react "How to clean up useEffect with async operations"
-ctx7 docs /vercel/next.js "How to add middleware that redirects unauthenticated users"
+ctx7 docs /vercel/next.js "How to add a proxy that redirects unauthenticated users"
ctx7 docs /prisma/prisma "How to define one-to-many relations with cascade delete"
```
@@ -101,7 +101,7 @@ ctx7 docs /facebook/react "How to use hooks for state management" --json
# Pipe to other tools — output is clean when not in a TTY (no spinners or colors)
ctx7 docs /facebook/react "How to use hooks for state management" | head -50
-ctx7 docs /vercel/next.js "How to add middleware for route protection" | grep -A 10 "middleware"
+ctx7 docs /vercel/next.js "How to add a proxy for route protection" | grep -A 10 "proxy"
```
---
diff --git a/docs/clients/codex.mdx b/docs/clients/codex.mdx
index a71050ec..8b5a8eff 100644
--- a/docs/clients/codex.mdx
+++ b/docs/clients/codex.mdx
@@ -86,7 +86,7 @@ Codex Cloud delegates tasks to OpenAI's agent in managed cloud environments, so
With `ctx7 setup` or the plugin, a skill triggers automatically when you ask about libraries. You can also invoke it explicitly:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
diff --git a/docs/clients/copilot-cli.mdx b/docs/clients/copilot-cli.mdx
index e58c5bc5..b647e0eb 100644
--- a/docs/clients/copilot-cli.mdx
+++ b/docs/clients/copilot-cli.mdx
@@ -44,7 +44,7 @@ A `docs-researcher` agent for focused lookups that keep context lean
The bundled skill triggers automatically when you ask about libraries — no need to say "use context7". You can also invoke it explicitly:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
@@ -62,7 +62,7 @@ The documentation lookup skill recognizes when documentation would help and fetc
<AccordionGroup>
<Accordion title="What triggers the skill">
-- Setup questions: "How do I configure Next.js middleware?"
+- Setup questions: "How do I configure a Next.js proxy?"
- Code generation: "Write a Prisma query for user relations"
- API references: "What are the Supabase auth methods?"
- Framework mentions: React, Vue, Svelte, Express, Tailwind, etc.
diff --git a/docs/clients/cursor.mdx b/docs/clients/cursor.mdx
index 03398ec1..cbe18616 100644
--- a/docs/clients/cursor.mdx
+++ b/docs/clients/cursor.mdx
@@ -68,7 +68,7 @@ This makes Context7 part of your project's standard workflow and can be version-
Add "use context7" to your prompts to fetch current documentation:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
@@ -179,7 +179,7 @@ Start a new Cloud Agent run and test both tools:
```text
Use Context7 to resolve the library ID for Next.js, then query its documentation
-for middleware. Tell me which Context7 tools you called.
+for the proxy file. Tell me which Context7 tools you called.
```
To verify authentication conclusively, query a private library that belongs to the Context7 account associated with the API key:
diff --git a/docs/clients/opencode.mdx b/docs/clients/opencode.mdx
index 10a38a1d..127f7f12 100644
--- a/docs/clients/opencode.mdx
+++ b/docs/clients/opencode.mdx
@@ -125,7 +125,7 @@ Everything the plugin adds is additive, and your own configuration always wins.
With `ctx7 setup` or the plugin, a skill is installed that triggers automatically when you ask about libraries. You can also invoke it explicitly:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
diff --git a/docs/clients/vscode.mdx b/docs/clients/vscode.mdx
index 387e7d63..ca2bfc58 100644
--- a/docs/clients/vscode.mdx
+++ b/docs/clients/vscode.mdx
@@ -52,7 +52,7 @@ Keep the API key in your user settings rather than workspace settings if you com
Add "use context7" to your prompts in Copilot Chat:
```
-use context7 to show me how to set up middleware in Next.js 15
+use context7 to show me how to set up a proxy in Next.js 16
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
diff --git a/docs/enterprise/on-premise.mdx b/docs/enterprise/on-premise.mdx
index 3a40ab51..05af67dd 100644
--- a/docs/enterprise/on-premise.mdx
+++ b/docs/enterprise/on-premise.mdx
@@ -202,7 +202,7 @@ Configured via the **Settings** page in the web UI.
```
Provider: custom
Base URL: https://openrouter.ai/api/v1
- Model: openai/gpt-4o
+ Model: openai/gpt-6-astra
API Key: sk-or-v1-...
```
</Tab>
diff --git a/docs/howto/oauth.mdx b/docs/howto/oauth.mdx
index 1fa6ce55..6cfb48a4 100644
--- a/docs/howto/oauth.mdx
+++ b/docs/howto/oauth.mdx
@@ -8,7 +8,7 @@ description: Authenticate with Context7 MCP server using OAuth 2.0
transport, use [API key authentication](/howto/api-keys) instead.
</Note>
-Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization).
+Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/latest/basic/authorization).
## Why Use OAuth?
@@ -40,4 +40,4 @@ To use OAuth, change the endpoint from `/mcp` to `/mcp/oauth` in your client con
## Client Support
-OAuth authentication requires your MCP client to support the [MCP OAuth specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization). If your client doesn't support OAuth, use [API key authentication](/howto/api-keys) instead.
+OAuth authentication requires your MCP client to support the [MCP OAuth specification](https://modelcontextprotocol.io/specification/latest/basic/authorization). If your client doesn't support OAuth, use [API key authentication](/howto/api-keys) instead.
diff --git a/docs/integrations/mastra.mdx b/docs/integrations/mastra.mdx
index f6138a97..7d6b8909 100644
--- a/docs/integrations/mastra.mdx
+++ b/docs/integrations/mastra.mdx
@@ -51,7 +51,7 @@ For more details on how Mastra handles MCP, see the [Mastra MCP documentation](h
id: "coding-assistant",
name: "Coding Assistant",
instructions: "You are a helpful coding assistant with access to up-to-date library documentation via Context7.",
- model: "anthropic/claude-sonnet-4-6",
+ model: "anthropic/claude-sonnet-5-5",
tools: await context7.listTools(),
});
```
diff --git a/docs/overview.mdx b/docs/overview.mdx
index 970cfc1e..d2c507ea 100644
--- a/docs/overview.mdx
+++ b/docs/overview.mdx
@@ -21,7 +21,7 @@ Context7 MCP pulls up-to-date, version-specific documentation and code examples
Add `use context7` to your prompt in your AI coding assistant:
```txt
-Create a Next.js middleware that checks for a valid JWT in cookies and redirects unauthenticated users to `/login`. use context7
+Create a Next.js proxy that checks for a valid JWT in cookies and redirects unauthenticated users to `/login`. use context7
```
```txt
diff --git a/docs/resources/all-clients.mdx b/docs/resources/all-clients.mdx
index c02f5994..11251e9b 100644
--- a/docs/resources/all-clients.mdx
+++ b/docs/resources/all-clients.mdx
@@ -19,7 +19,7 @@ Context7 supports all MCP clients. Below are configuration examples for popular
## OAuth Authentication
-Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization).
+Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/latest/basic/authorization).
To use OAuth, change the endpoint from `/mcp` to `/mcp/oauth` in your client configuration:
@@ -56,7 +56,7 @@ Fetch documentation context for a library and a specific question.
| Parameter | Type | Description |
|-----------|------|-------------|
-| `libraryId` | string, required | Exact Context7-compatible library ID, e.g., `/vercel/next.js` or `/vercel/next.js/v15.1.8` |
+| `libraryId` | string, required | Exact Context7-compatible library ID, e.g., `/vercel/next.js` or `/vercel/next.js/v16.2.9` |
| `query` | string, required | What to look up, scoped to a single concept |
| `language` | string, optional | Programming language you write in, e.g., `Python` or `Go`. Code examples in that language rank first |
@@ -1459,7 +1459,7 @@ See the [Emdash repository](https://github.com/generalaction/emdash) for more in
<Accordion title="Desktop Extension">
-Install the [context7.mcpb](https://github.com/upstash/context7/releases/download/mcpb-v4.1.1/context7.mcpb) file and add it to your client. See [MCP bundles docs](https://github.com/modelcontextprotocol/mcpb#mcp-bundles-mcpb) for more info.
+Install the [context7.mcpb](https://github.com/upstash/context7/releases/download/mcpb-v4.3.0/context7.mcpb) file and add it to your client. See [MCP bundles docs](https://github.com/modelcontextprotocol/mcpb#mcp-bundles-mcpb) for more info.
</Accordion>
diff --git a/docs/resources/troubleshooting.mdx b/docs/resources/troubleshooting.mdx
index c50db28b..9bad8e9c 100644
--- a/docs/resources/troubleshooting.mdx
+++ b/docs/resources/troubleshooting.mdx
@@ -69,7 +69,7 @@ For `Error: Cannot find module 'uriTemplate.js'`, use the `--experimental-vm-mod
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
diff --git a/docs/tips.mdx b/docs/tips.mdx
index ad881cf7..c94072ad 100644
--- a/docs/tips.mdx
+++ b/docs/tips.mdx
@@ -32,7 +32,7 @@ The slash syntax tells the MCP tool exactly which library to load docs for.
To get documentation for a specific library version, just mention the version in your prompt:
```txt
-How do I set up Next.js 14 middleware? use context7
+How do I set up a Next.js 16 proxy? use context7
```
Context7 will automatically match the appropriate version.
diff --git a/i18n/README.ar.md b/i18n/README.ar.md
index f751f7f4..d48e08d1 100644
--- a/i18n/README.ar.md
+++ b/i18n/README.ar.md
@@ -283,7 +283,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp@latest
```json
{
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
```
@@ -292,7 +292,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp@latest
1. أزل `@latest`
2. جرّب `bunx`
3. جرّب `deno`
-4. تأكد أنك تستخدم Node v18 أو أحدث
+4. تأكد أنك تستخدم Node v20 أو أحدث
## إخلاء مسؤولية
diff --git a/i18n/README.de.md b/i18n/README.de.md
index 4f97a06c..33b88155 100644
--- a/i18n/README.de.md
+++ b/i18n/README.de.md
@@ -34,7 +34,7 @@ Context7 holt aktuelle Codebeispiele und Dokumentationen direkt in den Kontext d
### Anforderungen
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop oder ein anderer MCP-Client
### Installation über Smithery
@@ -300,7 +300,7 @@ Wenn du einen Fehler wie `Error: Cannot find module 'uriTemplate.js'` bekommst,
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -310,7 +310,7 @@ Wenn du einen Fehler wie `Error: Cannot find module 'uriTemplate.js'` bekommst,
1. Versuche, `@latest` aus dem Paketnamen zu entfernen.
2. Versuche, `bunx` als Alternative zu verwenden.
3. Versuche, `deno` als Alternative zu verwenden.
-4. Stelle sicher, dass du Node v18 oder höher verwendest, um native Fetch-Unterstützung mit `npx` zu haben.
+4. Stelle sicher, dass du Node v20 oder höher verwendest, um native Fetch-Unterstützung mit `npx` zu haben.
## Haftungsausschluss
Context7-Projekte werden von der Community beigetragen, und obwohl wir uns bemühen, eine hohe Qualität aufrechtzuerhalten, können wir die Genauigkeit, Vollständigkeit oder Sicherheit aller Bibliotheksdokumentationen nicht garantieren. Die in Context7 aufgeführten Projekte werden von ihren jeweiligen Eigentümern entwickelt und gepflegt, nicht von Context7. Wenn du auf verdächtige, unangemessene oder potenziell schädliche Inhalte stößt, verwende bitte die Schaltfläche "Melden" auf der Projektseite, um uns sofort zu benachrichtigen. Wir nehmen alle Berichte ernst und werden gemeldete Inhalte umgehend überprüfen, um die Integrität und Sicherheit unserer Plattform zu gewährleisten. Durch die Nutzung von Context7 erkennst du an, dass du dies nach eigenem Ermessen und auf eigenes Risiko tust.
diff --git a/i18n/README.es.md b/i18n/README.es.md
index 5fed31e3..5133aa30 100644
--- a/i18n/README.es.md
+++ b/i18n/README.es.md
@@ -34,7 +34,7 @@ Context7 obtiene ejemplos de código y documentación actualizados directamente
### Requisitos
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop u otro Cliente MCP
### Instalando vía Smithery
diff --git a/i18n/README.fr.md b/i18n/README.fr.md
index 1f9dbf54..ced86b20 100644
--- a/i18n/README.fr.md
+++ b/i18n/README.fr.md
@@ -34,7 +34,7 @@ Context7 apporte des exemples de code et de la documentation à jour directement
### Prérequis
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop ou un autre client MCP
### Installation via Smithery
@@ -327,7 +327,7 @@ Si vous rencontrez une erreur comme : `Error: Cannot find module 'uriTemplate.js
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -337,7 +337,7 @@ Si vous rencontrez une erreur comme : `Error: Cannot find module 'uriTemplate.js
1. Essayez de retirer `@latest` du nom du package.
2. Essayez d'utiliser `bunx` comme alternative.
3. Essayez d'utiliser `deno` comme alternative.
-4. Assurez-vous d'utiliser Node v18 ou supérieur pour avoir le support natif de fetch avec `npx`.
+4. Assurez-vous d'utiliser Node v20 ou supérieur pour avoir le support natif de fetch avec `npx`.
## Clause de non-responsabilité
Les projets Context7 sont des contributions de la communauté, et bien que nous nous efforcions de maintenir une haute qualité, nous ne pouvons garantir l'exactitude, l'exhaustivité ou la sécurité de toute la documentation des bibliothèques. Les projets listés dans Context7 sont développés et maintenus par leurs propriétaires respectifs, et non par Context7. Si vous rencontrez un contenu suspect, inapproprié ou potentiellement nuisible, veuillez utiliser le bouton "Signaler" sur la page du projet pour nous le faire savoir immédiatement. Nous prenons tous les signalements au sérieux et examinerons rapidement les contenus signalés pour maintenir l'intégrité et la sécurité de notre plateforme. En utilisant Context7, vous reconnaissez que vous le faites à votre propre discrétion et à vos risques et périls.
diff --git a/i18n/README.id-ID.md b/i18n/README.id-ID.md
index bb7c7525..01a60c95 100644
--- a/i18n/README.id-ID.md
+++ b/i18n/README.id-ID.md
@@ -17,7 +17,7 @@ Context7 MCP mengambil dokumentasi dan contoh kode terkini yang spesifik versi l
Tambahkan `use context7` ke prompt Anda di Cursor:
```txt
-Buat middleware Next.js yang memeriksa JWT valid di cookie dan mengarahkan pengguna yang tidak terautentikasi ke `/login`. use context7
+Buat proxy Next.js yang memeriksa JWT valid di cookie dan mengarahkan pengguna yang tidak terautentikasi ke `/login`. use context7
```
```txt
@@ -39,7 +39,7 @@ Kunjungi [panduan penambahan proyek](https://context7.com/docs/adding-libraries)
### Persyaratan
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop, atau klien MCP lainnya
<details>
<summary><b>Menginstal melalui Smithery</b></summary>
@@ -860,7 +860,7 @@ Untuk kesalahan seperti `Error: Cannot find module 'uriTemplate.js'`, coba gunak
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -889,7 +889,7 @@ Gunakan bendera `--experimental-fetch` untuk melewati masalah terkait TLS:
1. Coba tambahkan `@latest` ke nama paket
2. Gunakan `bunx` sebagai alternatif `npx`
3. Pertimbangkan menggunakan `deno` sebagai alternatif lain
-4. Pastikan Anda menggunakan Node.js v18 atau lebih tinggi untuk dukungan fetch native
+4. Pastikan Anda menggunakan Node.js v20 atau lebih tinggi untuk dukungan fetch native
</details>
## ⚠️ Penafian
diff --git a/i18n/README.it.md b/i18n/README.it.md
index 4002c8a3..03587ea0 100644
--- a/i18n/README.it.md
+++ b/i18n/README.it.md
@@ -35,7 +35,7 @@ Context7 recupera esempi di codice e documentazione aggiornati direttamente nel
### Requisiti
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop o un altro client MCP
### Installazione tramite Smithery
@@ -301,7 +301,7 @@ Se riscontri un errore come: `Error: Cannot find module 'uriTemplate.js'` prova
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -311,7 +311,7 @@ Se riscontri un errore come: `Error: Cannot find module 'uriTemplate.js'` prova
1. Prova a rimuovere `@latest` dal nome del pacchetto.
2. Prova a usare `bunx` come alternativa.
3. Prova a usare `deno` come alternativa.
-4. Assicurati di utilizzare Node v18 o superiore per avere il supporto nativo di fetch con `npx`.
+4. Assicurati di utilizzare Node v20 o superiore per avere il supporto nativo di fetch con `npx`.
## Dichiarazione di non responsabilità
I progetti Context7 sono contributi della comunità e, sebbene ci impegniamo a mantenere un'alta qualità, non possiamo garantire l'accuratezza, la completezza o la sicurezza di tutta la documentazione delle librerie. I progetti elencati in Context7 sono sviluppati e gestiti dai rispettivi proprietari, non da Context7. Se riscontri contenuti sospetti, inappropriati o potenzialmente dannosi, utilizza il pulsante "Segnala" sulla pagina del progetto per informarci immediatamente. Prendiamo sul serio tutte le segnalazioni e esamineremo prontamente i contenuti segnalati per mantenere l'integrità e la sicurezza della nostra piattaforma. Utilizzando Context7, riconosci di farlo a tua discrezione e a tuo rischio.
diff --git a/i18n/README.ja.md b/i18n/README.ja.md
index 66436b0c..0eb3ebac 100644
--- a/i18n/README.ja.md
+++ b/i18n/README.ja.md
@@ -39,7 +39,7 @@ Context7 は最新のコード例とドキュメントを直接 LLM のコンテ
### 必須要件
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor、Devin Desktop、Claude Desktop またはその他の MCP クライアント
<details>
<summary><b>Smithery 経由でのインストール</b></summary>
@@ -615,7 +615,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -644,7 +644,7 @@ TLS 関連の問題を回避するには、`--experimental-fetch` フラグを
1. パッケージ名に `@latest` を追加してみる
2. `npx` の代替として `bunx` を使用する
3. 別の代替方法として `deno` の使用を検討する
-4. ネイティブ fetch サポートのために Node.js v18 以上を使用していることを確認する
+4. ネイティブ fetch サポートのために Node.js v20 以上を使用していることを確認する
</details>
## ⚠️ 免責事項
diff --git a/i18n/README.ko.md b/i18n/README.ko.md
index 0e44064e..fe0a5ff3 100644
--- a/i18n/README.ko.md
+++ b/i18n/README.ko.md
@@ -23,7 +23,7 @@ Context7 MCP는 소스에서 직접 최신 버전별 문서와 코드 예제를
프롬프트에 `use context7`을 추가하세요(또는 자동으로 호출되도록 [규칙을 설정](#규칙-추가)하세요):
```txt
-쿠키에서 유효한 JWT를 확인하고 인증되지 않은 사용자를 '/login'으로 리디렉션하는 Next.js 미들웨어를 만들어주세요. use context7
+쿠키에서 유효한 JWT를 확인하고 인증되지 않은 사용자를 '/login'으로 리디렉션하는 Next.js 프록시를 만들어주세요. use context7
```
```txt
@@ -168,7 +168,7 @@ Supabase로 기본 인증을 구현해줘. API와 문서는 use library /supabas
특정 라이브러리 버전에 대한 문서를 얻으려면 프롬프트에 버전을 언급하면 됩니다:
```txt
-Next.js 14 미들웨어는 어떻게 설정하나요? use context7
+Next.js 16 프록시는 어떻게 설정하나요? use context7
```
Context7은 적절한 버전을 자동으로 매칭합니다.
diff --git a/i18n/README.pt-BR.md b/i18n/README.pt-BR.md
index 30198777..aba55d1a 100644
--- a/i18n/README.pt-BR.md
+++ b/i18n/README.pt-BR.md
@@ -40,7 +40,7 @@ Confira nosso [guia de adição de projetos](https://context7.com/docs/adding-li
### Requisitos
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Claude Code, VSCode, Devin Desktop ou outro Cliente MCP
<details>
<summary><b>Instalando via Smithery</b></summary>
@@ -974,7 +974,7 @@ Para erros como `Error: Cannot find module 'uriTemplate.js'`, tente a flag `--ex
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -1003,7 +1003,7 @@ Use a flag `--experimental-fetch` para contornar problemas relacionados a TLS:
1. Tente adicionar `@latest` ao nome do pacote
2. Use `bunx` como alternativa ao `npx`
3. Considere usar `deno` como outra alternativa
-4. Certifique-se de estar usando Node.js v18 ou superior para suporte nativo a fetch
+4. Certifique-se de estar usando Node.js v20 ou superior para suporte nativo a fetch
</details>
## ⚠️ Aviso
diff --git a/i18n/README.ru.md b/i18n/README.ru.md
index 8a717925..d124d39e 100644
--- a/i18n/README.ru.md
+++ b/i18n/README.ru.md
@@ -34,7 +34,7 @@ Context7 MCP подгружает свежие примеры кода и док
### Требования
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop или другой MCP клиент
### Установка через Smithery
@@ -351,7 +351,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp
1. Попробуйте добавить тег `@latest` в имя пакета.
2. Попробуйте использовать `bunx` как альтернативу `npx`.
3. Попробуйте использовать `deno` как замену `npx` или `bunx`.
-4. Убедитесь, что используете версию Node v18 или выше, чтобы `npx` поддерживал встроенный `fetch`.
+4. Убедитесь, что используете версию Node v20 или выше, чтобы `npx` поддерживал встроенный `fetch`.
## Отказ от ответственности
Проекты Context7 создаются сообществом. Мы стремимся поддерживать высокое качество, однако не можем гарантировать точность, полноту или безопасность всей документации по библиотекам. Проекты, представленные в Context7, разрабатываются и поддерживаются их авторами, а не командой Context7.
diff --git a/i18n/README.tr.md b/i18n/README.tr.md
index 2c91c81f..577b3cad 100644
--- a/i18n/README.tr.md
+++ b/i18n/README.tr.md
@@ -35,7 +35,7 @@ Context7, güncel kod örneklerini ve belgelerini doğrudan LLM'inizin içeriği
### Gereksinimler
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop veya başka bir MCP İstemcisi
### Smithery aracılığıyla kurulum
@@ -269,7 +269,7 @@ Bu, özellikle `npx`'in paketleri düzgün şekilde yüklemediği veya çözemed
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -279,7 +279,7 @@ Bu, özellikle `npx`'in paketleri düzgün şekilde yüklemediği veya çözemed
1. Paket adından `@latest` ifadesini kaldırmayı deneyin.
2. Alternatif olarak `bunx` kullanmayı deneyin.
3. Alternatif olarak `deno` kullanmayı deneyin.
-4. `npx` ile yerel fetch desteğine sahip olmak için Node v18 veya daha yüksek bir sürüm kullandığınızdan emin olun.
+4. `npx` ile yerel fetch desteğine sahip olmak için Node v20 veya daha yüksek bir sürüm kullandığınızdan emin olun.
## Sorumluluk Reddi
Context7 projeleri topluluk katkılıdır ve yüksek kaliteyi korumaya çalışsak da, tüm kütüphane belgelerinin doğruluğunu, eksiksizliğini veya güvenliğini garanti edemeyiz. Context7'de listelenen projeler, Context7 tarafından değil, ilgili sahipleri tarafından geliştirilmekte ve sürdürülmektedir. Şüpheli, uygunsuz veya potansiyel olarak zararlı içerikle karşılaşırsanız, lütfen bizi hemen bilgilendirmek için proje sayfasındaki "Bildir" düğmesini kullanın. Tüm bildirimleri ciddiye alıyoruz ve platformumuzun bütünlüğünü ve güvenliğini korumak için işaretlenen içeriği hızla inceleyeceğiz. Context7'yi kullanarak, bunu kendi takdirinizle ve riskinizle yaptığınızı kabul etmiş olursunuz.
diff --git a/i18n/README.uk.md b/i18n/README.uk.md
index 9075d5f3..62edb160 100644
--- a/i18n/README.uk.md
+++ b/i18n/README.uk.md
@@ -17,7 +17,7 @@ Context7 MCP отримує актуальну, специфічну для ве
Додайте `use context7` до вашого запиту в Cursor:
```txt
-Create a Next.js middleware that checks for a valid JWT in cookies and redirects unauthenticated users to `/login`. use context7
+Create a Next.js proxy that checks for a valid JWT in cookies and redirects unauthenticated users to `/login`. use context7
```
```txt
@@ -39,7 +39,7 @@ Context7 завантажує свіжі приклади коду й докум
### Системні вимоги
-- Node.js ≥ v18.0.0
+- Node.js ≥ v20.18.1
- Cursor, Devin Desktop, Claude Desktop або інший MCP-клієнт
<details>
<summary><b>Встановлення через Smithery</b></summary>
@@ -767,7 +767,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -796,7 +796,7 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp
1. Спробуйте додати `@latest` до назви пакунка
2. Використовуйте `bunx` як альтернативу до `npx`
3. Розгляньте використання `deno` як іншу альтернативу
-4. Переконайтеся, що ви використовуєте Node.js v18 або вище для підтримки нативного fetch
+4. Переконайтеся, що ви використовуєте Node.js v20 або вище для підтримки нативного fetch
</details>
## ⚠️ Застереження
diff --git a/i18n/README.vi.md b/i18n/README.vi.md
index 5dc69182..60f77a2d 100644
--- a/i18n/README.vi.md
+++ b/i18n/README.vi.md
@@ -17,7 +17,7 @@ Context7 MCP lấy tài liệu và ví dụ code cập nhật, dành cho phiên
Thêm `use context7` vào prompt của bạn trong Cursor:
```txt
-Tạo một Next.js middleware kiểm tra JWT hợp lệ trong cookies và chuyển hướng người dùng chưa xác thực đến `/login`. use context7
+Tạo một Next.js proxy kiểm tra JWT hợp lệ trong cookies và chuyển hướng người dùng chưa xác thực đến `/login`. use context7
```
```txt
@@ -39,7 +39,7 @@ Xem [hướng dẫn thêm dự án](https://context7.com/docs/adding-libraries)
### Yêu Cầu
-- Node.js >= v18.0.0
+- Node.js >= v20.18.1
- Cursor, Devin Desktop, Claude Desktop hoặc MCP Client khác
<details>
<summary><b>Cài đặt qua Smithery</b></summary>
@@ -851,7 +851,7 @@ Nếu bạn gặp `ERR_MODULE_NOT_FOUND`, thử sử dụng `bunx` thay vì `npx
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
@@ -880,7 +880,7 @@ Sử dụng flag `--experimental-fetch` để vượt qua các vấn đề liên
1. Thử thêm `@latest` vào tên package
2. Sử dụng `bunx` như một thay thế cho `npx`
3. Cân nhắc sử dụng `deno` như một thay thế khác
-4. Đảm bảo bạn đang sử dụng Node.js v18 trở lên để hỗ trợ native fetch
+4. Đảm bảo bạn đang sử dụng Node.js v20 trở lên để hỗ trợ native fetch
</details>
## ⚠️ Tuyên Bố Miễn Trừ Trách Nhiệm
diff --git a/i18n/README.zh-CN.md b/i18n/README.zh-CN.md
index 0904c15e..f9938d56 100644
--- a/i18n/README.zh-CN.md
+++ b/i18n/README.zh-CN.md
@@ -21,7 +21,7 @@
Context7直接从源头获取最新的、特定版本的文档和代码示例——并将它们直接放入你的提示词中。
```txt
-创建一个Next.js中间件,检查cookies中的有效JWT,
+创建一个Next.js proxy,检查cookies中的有效JWT,
并将未认证用户重定向到 `/login`。use context7
```
@@ -77,7 +77,7 @@ npx ctx7 setup
要获取特定库版本的文档,只需在提示词中提及版本:
```txt
-如何设置Next.js 14中间件?use context7
+如何设置Next.js 16 proxy?use context7
```
Context7 将自动匹配适当的版本。
diff --git a/i18n/README.zh-TW.md b/i18n/README.zh-TW.md
index d2d82882..4425a837 100644
--- a/i18n/README.zh-TW.md
+++ b/i18n/README.zh-TW.md
@@ -23,7 +23,7 @@ Context7 MCP 直接從來源取得最新的、特定版本的文件與程式碼
在你的提示中加入 `use context7`(或[設定規則](#新增規則)自動調用):
```txt
-建立一個 Next.js 中介軟體,檢查 cookies 中的有效 JWT,
+建立一個 Next.js proxy,檢查 cookies 中的有效 JWT,
並將未認證使用者重新導向至 `/login`。use context7
```
@@ -142,7 +142,7 @@ claude mcp add --scope user --header "Authorization: Bearer YOUR_API_KEY" --tran
<details>
<summary><b>OAuth 認證</b></summary>
-Context7 MCP 伺服器支援 OAuth 2.0 認證,適用於實作了 [MCP OAuth 規範](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization)的 MCP 客戶端。
+Context7 MCP 伺服器支援 OAuth 2.0 認證,適用於實作了 [MCP OAuth 規範](https://modelcontextprotocol.io/specification/latest/basic/authorization)的 MCP 客戶端。
要使用 OAuth,請在客戶端設定中將端點從 `/mcp` 更改為 `/mcp/oauth`:
@@ -186,7 +186,7 @@ OAuth 僅適用於遠端 HTTP 連線。對於使用 stdio 傳輸的本地 MCP
要取得特定函式庫版本的文件,只需在提示中提及版本:
```txt
-如何設定 Next.js 14 中介軟體?use context7
+如何設定 Next.js 16 proxy?use context7
```
Context7 將自動匹配適當的版本。
diff --git a/packages/cli/README.md b/packages/cli/README.md
index 61661f4d..4a652c9e 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -39,7 +39,7 @@ ctx7 library nextjs "app router"
# Get documentation
ctx7 docs /facebook/react "useEffect cleanup"
-ctx7 docs /vercel/next.js "middleware"
+ctx7 docs /vercel/next.js "proxy"
```
## Usage
@@ -63,7 +63,7 @@ Fetch documentation for a specific library using its Context7 ID.
```bash
ctx7 docs /facebook/react "useEffect cleanup"
-ctx7 docs /vercel/next.js "middleware authentication"
+ctx7 docs /vercel/next.js "proxy authentication"
ctx7 docs /prisma/prisma "one-to-many relations"
# Output as JSON
diff --git a/packages/cli/src/setup/templates.ts b/packages/cli/src/setup/templates.ts
index 00e1e789..01e9f4fd 100644
--- a/packages/cli/src/setup/templates.ts
+++ b/packages/cli/src/setup/templates.ts
@@ -30,7 +30,7 @@ Do not use for: refactoring, writing scripts from scratch, debugging business lo
You MUST call \`library\` first to get a valid ID (format: \`/org/project\`) unless the user provides one directly. Be specific about what to look up in the library's documentation — specific and detailed queries return better results than vague single words, but keep each query to a single concept unless the question is about how concepts interact; combined multi-topic queries dilute ranking and return shallow results for each topic. Do not run more than 3 commands per question. Do not include sensitive information (API keys, passwords, credentials) in queries.
-For version-specific docs, use \`/org/project/version\` from the \`library\` output (e.g., \`/vercel/next.js/v14.3.0\`).
+For version-specific docs, use \`/org/project/version\` from the \`library\` output (e.g., \`/vercel/next.js/v16.2.9\`).
If a command fails with a quota error, inform the user and suggest \`npx ctx7@latest login\` or setting \`CONTEXT7_API_KEY\` env var for higher limits. Do not silently fall back to training data.
`;
diff --git a/packages/mcp/README.md b/packages/mcp/README.md
index 1be482de..75d583f0 100644
--- a/packages/mcp/README.md
+++ b/packages/mcp/README.md
@@ -23,7 +23,7 @@ Context7 MCP pulls up-to-date, version-specific documentation and code examples
Add `use context7` to your prompt (or [set up a rule](#️-installation) to auto-invoke):
```txt
-Create a Next.js middleware that checks for a valid JWT in cookies
+Create a Next.js proxy that checks for a valid JWT in cookies
and redirects unauthenticated users to `/login`. use context7
```
@@ -1642,7 +1642,7 @@ Prometheus Operator instead, configure the equivalent per-pod endpoint with a `P
### OAuth Authentication
-Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization).
+Context7 MCP server supports OAuth 2.0 authentication for MCP clients that implement the [MCP OAuth specification](https://modelcontextprotocol.io/specification/latest/basic/authorization).
To use OAuth, change the endpoint from `/mcp` to `/mcp/oauth` in your client configuration:
@@ -1694,7 +1694,7 @@ For errors like `Error: Cannot find module 'uriTemplate.js'`, try the `--experim
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/[email protected]"]
+ "args": ["-y", "--node-options=--experimental-vm-modules", "@upstash/context7-mcp"]
}
}
}
diff --git a/packages/mcp/src/index.ts b/packages/mcp/src/index.ts
index 0393f6f5..02a4fc19 100644
--- a/packages/mcp/src/index.ts
+++ b/packages/mcp/src/index.ts
@@ -323,7 +323,7 @@ If you know the programming language the user is working in, pass it as \`langua
libraryId: z
.string()
.describe(
- "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v14.3.0-canary.87') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'."
+ "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v16.2.9') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'."
),
query: z
.string()
diff --git a/packages/opencode/README.md b/packages/opencode/README.md
index 73ca617f..c4d9d613 100644
--- a/packages/opencode/README.md
+++ b/packages/opencode/README.md
@@ -78,7 +78,7 @@ Both entries are additive, and an entry you configure yourself always wins. If y
The skill triggers on its own when you ask about a library:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
@@ -90,7 +90,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### context7_query-docs
@@ -98,7 +98,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -107,7 +107,7 @@ Output: Relevant documentation snippets with code examples
To get documentation for a specific version, include the version in the library ID:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/packages/opencode/skills/context7-mcp/SKILL.md b/packages/opencode/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/packages/opencode/skills/context7-mcp/SKILL.md
+++ b/packages/opencode/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/packages/pi/lib/prompts.ts b/packages/pi/lib/prompts.ts
index 56d7663d..7b561c16 100644
--- a/packages/pi/lib/prompts.ts
+++ b/packages/pi/lib/prompts.ts
@@ -54,7 +54,7 @@ You must call 'Resolve Context7 Library ID' tool first to obtain the exact Conte
Do not call this tool more than 3 times per question.`;
export const QUERY_DOCS_LIBRARY_ID_DESCRIPTION =
- "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v14.3.0-canary.87') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'.";
+ "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v16.2.9') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'.";
export const QUERY_DOCS_QUERY_DESCRIPTION =
"What to look up in the library's documentation, scoped to a single concept. Be specific and include relevant details, but keep each query to one topic — if the user's question spans multiple distinct concepts, make a separate call per concept instead of combining them, unless the question is about how the concepts interact. Good: 'How to set up authentication with JWT in Express.js' or 'React useEffect cleanup function examples'. Bad (too vague): 'auth' or 'hooks'. Bad (too broad): 'routing and auth and caching in Next.js'. The query is sent to the Context7 API for processing. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query.";
diff --git a/packages/tools-ai-sdk/README.md b/packages/tools-ai-sdk/README.md
index 6afb130e..0c644c4b 100644
--- a/packages/tools-ai-sdk/README.md
+++ b/packages/tools-ai-sdk/README.md
@@ -35,7 +35,7 @@ import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
const { text } = await generateText({
- model: openai("gpt-4o"),
+ model: openai("gpt-6-astra"),
prompt: "How do I use React Server Components?",
tools: {
resolveLibrary: resolveLibrary(),
@@ -56,7 +56,7 @@ import { Context7Agent } from "@upstash/context7-tools-ai-sdk";
import { anthropic } from "@ai-sdk/anthropic";
const agent = new Context7Agent({
- model: anthropic("claude-sonnet-4-20250514"),
+ model: anthropic("claude-sonnet-5-5"),
});
const { text } = await agent.generate({
diff --git a/packages/tools-ai-sdk/src/agents/context7.ts b/packages/tools-ai-sdk/src/agents/context7.ts
index 4957d831..0f3fb1d0 100644
--- a/packages/tools-ai-sdk/src/agents/context7.ts
+++ b/packages/tools-ai-sdk/src/agents/context7.ts
@@ -26,7 +26,7 @@ export interface Context7AgentConfig extends ToolLoopAgentSettings<never, ToolSe
* import { anthropic } from '@ai-sdk/anthropic';
*
* const agent = new Context7Agent({
- * model: anthropic('claude-sonnet-4-20250514'),
+ * model: anthropic('claude-sonnet-5-5'),
* apiKey: 'your-context7-api-key',
* });
*
diff --git a/packages/tools-ai-sdk/src/tools/query-docs.ts b/packages/tools-ai-sdk/src/tools/query-docs.ts
index 8a5afe34..e00383a2 100644
--- a/packages/tools-ai-sdk/src/tools/query-docs.ts
+++ b/packages/tools-ai-sdk/src/tools/query-docs.ts
@@ -20,7 +20,7 @@ import { QUERY_DOCS_DESCRIPTION } from "@prompts";
* import { openai } from '@ai-sdk/openai';
*
* const { text } = await generateText({
- * model: openai('gpt-4o'),
+ * model: openai('gpt-6-astra'),
* prompt: 'Find React documentation about hooks',
* tools: {
* resolveLibraryId: resolveLibraryId(),
@@ -40,7 +40,7 @@ export function queryDocs(config: Context7ToolsConfig = {}) {
libraryId: z
.string()
.describe(
- "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v14.3.0-canary.87') retrieved from 'resolveLibraryId' or directly from user query in the format '/org/project' or '/org/project/version'."
+ "Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v16.2.9') retrieved from 'resolveLibraryId' or directly from user query in the format '/org/project' or '/org/project/version'."
),
query: z
.string()
diff --git a/packages/tools-ai-sdk/src/tools/resolve-library-id.ts b/packages/tools-ai-sdk/src/tools/resolve-library-id.ts
index 7f3edb7c..a33c6c1b 100644
--- a/packages/tools-ai-sdk/src/tools/resolve-library-id.ts
+++ b/packages/tools-ai-sdk/src/tools/resolve-library-id.ts
@@ -20,7 +20,7 @@ import type { Context7ToolsConfig } from "./types";
* import { openai } from '@ai-sdk/openai';
*
* const { text } = await generateText({
- * model: openai('gpt-4o'),
+ * model: openai('gpt-6-astra'),
* prompt: 'Find React documentation about hooks',
* tools: {
* resolveLibraryId: resolveLibraryId(),
diff --git a/plugins/agent-plugins/context7/plugin.json b/plugins/agent-plugins/context7/plugin.json
index 8a4650e2..674cc1f6 100644
--- a/plugins/agent-plugins/context7/plugin.json
+++ b/plugins/agent-plugins/context7/plugin.json
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "context7",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
"author": {
"name": "Upstash",
diff --git a/plugins/agent-plugins/context7/skills/context7-mcp/SKILL.md b/plugins/agent-plugins/context7/skills/context7-mcp/SKILL.md
index 42b09813..f82f638b 100644
--- a/plugins/agent-plugins/context7/skills/context7-mcp/SKILL.md
+++ b/plugins/agent-plugins/context7/skills/context7-mcp/SKILL.md
@@ -1,6 +1,6 @@
---
name: context7-mcp
-description: Fetches current, version-specific library documentation and code examples through the Context7 MCP server. Use whenever the user asks about a library, framework, SDK, API, CLI tool, or cloud service, including API syntax, configuration, setup instructions, version migration, CLI usage, and library-specific debugging. Use when generating code that calls a third-party library, and when the user names a version such as Next.js 15 or React 19. Use even for well-known libraries like React, Vue, Next.js, Prisma, Supabase, Express, Tailwind, Django, and Spring Boot, because training data may not reflect recent changes. Prefer this over web search for library documentation. Do not use it for refactoring, writing scripts from scratch, debugging business logic, code review, or general programming concepts, or when the user has already supplied the relevant documentation.
+description: Fetches current, version-specific library documentation and code examples through the Context7 MCP server. Use whenever the user asks about a library, framework, SDK, API, CLI tool, or cloud service, including API syntax, configuration, setup instructions, version migration, CLI usage, and library-specific debugging. Use when generating code that calls a third-party library, and when the user names a version such as Next.js 16 or React 19. Use even for well-known libraries like React, Vue, Next.js, Prisma, Supabase, Express, Tailwind, Django, and Spring Boot, because training data may not reflect recent changes. Prefer this over web search for library documentation. Do not use it for refactoring, writing scripts from scratch, debugging business logic, code review, or general programming concepts, or when the user has already supplied the relevant documentation.
---
When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls. Resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/plugins/antigravity/context7/README.md b/plugins/antigravity/context7/README.md
index 1f400e09..3024b723 100644
--- a/plugins/antigravity/context7/README.md
+++ b/plugins/antigravity/context7/README.md
@@ -19,7 +19,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### query-docs
@@ -27,7 +27,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -35,7 +35,7 @@ Output: Relevant documentation snippets with code examples
The plugin works automatically when you ask about libraries:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
@@ -44,7 +44,7 @@ The plugin works automatically when you ask about libraries:
To get documentation for a specific version, include the version in the library ID:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/plugins/antigravity/context7/plugin.json b/plugins/antigravity/context7/plugin.json
index ea420a99..718073e6 100644
--- a/plugins/antigravity/context7/plugin.json
+++ b/plugins/antigravity/context7/plugin.json
@@ -1,11 +1,11 @@
{
"name": "context7",
"displayName": "Context7",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
"logo": "assets/logo.svg",
"suggestedPrompts": [
- "How do I set up middleware in the latest Next.js?",
+ "How do I set up a proxy in the latest Next.js?",
"Show me how to define relations in Prisma",
"What are the Supabase auth methods?"
],
diff --git a/plugins/antigravity/context7/skills/context7-mcp/SKILL.md b/plugins/antigravity/context7/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/plugins/antigravity/context7/skills/context7-mcp/SKILL.md
+++ b/plugins/antigravity/context7/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/plugins/claude/context7/README.md b/plugins/claude/context7/README.md
index 2d81ba2a..c9714ca6 100644
--- a/plugins/claude/context7/README.md
+++ b/plugins/claude/context7/README.md
@@ -39,7 +39,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### query-docs
@@ -47,7 +47,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -55,7 +55,7 @@ Output: Relevant documentation snippets with code examples
The plugin works automatically when you ask about libraries:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
@@ -64,7 +64,7 @@ The plugin works automatically when you ask about libraries:
To get documentation for a specific version, include the version in the library ID:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/plugins/codex/context7/.codex-plugin/plugin.json b/plugins/codex/context7/.codex-plugin/plugin.json
index f4c63bef..f8d53cde 100644
--- a/plugins/codex/context7/.codex-plugin/plugin.json
+++ b/plugins/codex/context7/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "context7",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
"author": {
"name": "Upstash",
@@ -24,7 +24,7 @@
"privacyPolicyURL": "https://upstash.com/privacy",
"termsOfServiceURL": "https://upstash.com/terms",
"defaultPrompt": [
- "Use Context7 for Next.js middleware docs.",
+ "Use Context7 for Next.js proxy docs.",
"Find current Prisma relation query examples."
],
"brandColor": "#059669"
diff --git a/plugins/codex/context7/README.md b/plugins/codex/context7/README.md
index 0eaa4123..fd0af5c3 100644
--- a/plugins/codex/context7/README.md
+++ b/plugins/codex/context7/README.md
@@ -41,7 +41,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```text
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### query-docs
@@ -49,7 +49,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```text
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -57,14 +57,14 @@ Output: Relevant documentation snippets with code examples
The bundled skill works automatically when you ask about libraries:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
You can also invoke it explicitly:
```text
-use context7 for Next.js middleware docs
+use context7 for Next.js proxy docs
use context7 for Prisma query examples with relations
use context7 for the Supabase syntax for row-level security
```
@@ -72,6 +72,6 @@ use context7 for the Supabase syntax for row-level security
To get documentation for a specific version, include the version in the library ID:
```text
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/plugins/codex/context7/skills/context7-mcp/SKILL.md b/plugins/codex/context7/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/plugins/codex/context7/skills/context7-mcp/SKILL.md
+++ b/plugins/codex/context7/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/plugins/context7-power/POWER.md b/plugins/context7-power/POWER.md
index 13740fb9..09f9274e 100644
--- a/plugins/context7-power/POWER.md
+++ b/plugins/context7-power/POWER.md
@@ -65,7 +65,7 @@ Incorporate the fetched documentation into your response:
- Describe what to look up in the library's documentation, but keep each query to a single concept
- Keep each query to one topic; split multi-topic questions into separate `query-docs` calls, unless the question is about how the concepts interact
-- When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- When multiple matches exist, prefer official/primary packages over community forks
- Use this Power for API syntax, configuration, setup instructions, version migration, library-specific debugging, and CLI tool usage
- Use Context7 even when you think you know the answer — your training data may not reflect recent changes. Prefer this over web search for library docs.
diff --git a/plugins/copilot/context7/README.md b/plugins/copilot/context7/README.md
index 064c4175..a73e53a0 100644
--- a/plugins/copilot/context7/README.md
+++ b/plugins/copilot/context7/README.md
@@ -39,7 +39,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### query-docs
@@ -47,7 +47,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -55,7 +55,7 @@ Output: Relevant documentation snippets with code examples
The plugin works automatically when you ask about libraries:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
@@ -63,7 +63,7 @@ For manual lookups, use the command:
```
/context7:docs next.js app router
-/context7:docs /vercel/next.js/v15.1.8 middleware
+/context7:docs /vercel/next.js/v16.2.9 proxy
```
Or use the docs-researcher agent when you want to keep your main context clean:
@@ -77,7 +77,7 @@ copilot --agent docs-researcher -p "look up Supabase auth methods"
To get documentation for a specific version, include the version in the library ID:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/plugins/copilot/context7/agents/docs-researcher.agent.md b/plugins/copilot/context7/agents/docs-researcher.agent.md
index 90433d49..b4bf1e29 100644
--- a/plugins/copilot/context7/agents/docs-researcher.agent.md
+++ b/plugins/copilot/context7/agents/docs-researcher.agent.md
@@ -35,6 +35,6 @@ When given a question about a library or framework, fetch the relevant documenta
- Describe what to look up in the library's documentation in the query parameter, but keep each query to a single concept
- If the question spans multiple distinct concepts (e.g. routing and auth and caching), make a separate `query-docs` call per concept with the same library ID, unless the question is about how the concepts interact — combined queries dilute ranking and return shallow results for each topic
-- When the user mentions a version (e.g., "Next.js 15"), use version-specific library IDs if available
+- When the user mentions a version (e.g., "Next.js 16"), use version-specific library IDs if available
- If `resolve-library-id` returns multiple matches, prefer official/primary packages over community forks
- Keep responses concise - the goal is to answer the question, not dump entire documentation
diff --git a/plugins/copilot/context7/commands/docs.md b/plugins/copilot/context7/commands/docs.md
index e3494ddf..d03caefa 100644
--- a/plugins/copilot/context7/commands/docs.md
+++ b/plugins/copilot/context7/commands/docs.md
@@ -21,7 +21,7 @@ Fetches up-to-date documentation and code examples for a library.
/context7:docs react hooks
/context7:docs next.js authentication
/context7:docs prisma relations
-/context7:docs /vercel/next.js/v15.1.8 app router
+/context7:docs /vercel/next.js/v16.2.9 app router
/context7:docs /supabase/supabase row level security
```
@@ -37,7 +37,7 @@ Fetches up-to-date documentation and code examples for a library.
Include the version in the library ID for pinned documentation:
```
-/context7:docs /vercel/next.js/v15.1.8 middleware
+/context7:docs /vercel/next.js/v16.2.9 proxy
/context7:docs /facebook/react/v19.0.0 use hook
```
diff --git a/plugins/copilot/context7/plugin.json b/plugins/copilot/context7/plugin.json
index 191088de..794cb002 100644
--- a/plugins/copilot/context7/plugin.json
+++ b/plugins/copilot/context7/plugin.json
@@ -1,7 +1,7 @@
{
"name": "context7",
"description": "Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
- "version": "1.0.2",
+ "version": "1.0.3",
"author": {
"name": "Upstash"
},
diff --git a/plugins/copilot/context7/skills/context7-mcp/SKILL.md b/plugins/copilot/context7/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/plugins/copilot/context7/skills/context7-mcp/SKILL.md
+++ b/plugins/copilot/context7/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/plugins/cursor/context7/.cursor-plugin/plugin.json b/plugins/cursor/context7/.cursor-plugin/plugin.json
index bd08dcb4..9fe19ec9 100644
--- a/plugins/cursor/context7/.cursor-plugin/plugin.json
+++ b/plugins/cursor/context7/.cursor-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "context7",
"displayName": "Context7",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",
"author": {
"name": "Upstash",
diff --git a/plugins/cursor/context7/README.md b/plugins/cursor/context7/README.md
index 067b3d31..f10e32cd 100644
--- a/plugins/cursor/context7/README.md
+++ b/plugins/cursor/context7/README.md
@@ -46,7 +46,7 @@ Searches for libraries and returns Context7-compatible identifiers.
```
Input: "next.js"
-Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }
+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v16.2.9", "v15.1.8", ...] }
```
### query-docs
@@ -54,7 +54,7 @@ Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0
Fetches documentation for a specific library, ranked by relevance to your question.
```
-Input: { libraryId: "/vercel/next.js", query: "app router middleware" }
+Input: { libraryId: "/vercel/next.js", query: "app router proxy" }
Output: Relevant documentation snippets with code examples
```
@@ -62,7 +62,7 @@ Output: Relevant documentation snippets with code examples
The plugin works automatically when you ask about libraries:
-- "How do I set up authentication in Next.js 15?"
+- "How do I set up authentication in Next.js 16?"
- "Show me React Server Components examples"
- "What's the Prisma syntax for relations?"
@@ -73,7 +73,7 @@ Or use the docs-researcher agent when you want to keep your main context clean.
To get documentation for a specific version, include the version in the library ID:
```
-/vercel/next.js/v15.1.8
+/vercel/next.js/v16.2.9
/supabase/supabase/v2.45.0
```
diff --git a/plugins/cursor/context7/agents/docs-researcher.md b/plugins/cursor/context7/agents/docs-researcher.md
index 90433d49..b4bf1e29 100644
--- a/plugins/cursor/context7/agents/docs-researcher.md
+++ b/plugins/cursor/context7/agents/docs-researcher.md
@@ -35,6 +35,6 @@ When given a question about a library or framework, fetch the relevant documenta
- Describe what to look up in the library's documentation in the query parameter, but keep each query to a single concept
- If the question spans multiple distinct concepts (e.g. routing and auth and caching), make a separate `query-docs` call per concept with the same library ID, unless the question is about how the concepts interact — combined queries dilute ranking and return shallow results for each topic
-- When the user mentions a version (e.g., "Next.js 15"), use version-specific library IDs if available
+- When the user mentions a version (e.g., "Next.js 16"), use version-specific library IDs if available
- If `resolve-library-id` returns multiple matches, prefer official/primary packages over community forks
- Keep responses concise - the goal is to answer the question, not dump entire documentation
diff --git a/plugins/cursor/context7/rules/use-context7.mdc b/plugins/cursor/context7/rules/use-context7.mdc
index 500c660a..723a9797 100644
--- a/plugins/cursor/context7/rules/use-context7.mdc
+++ b/plugins/cursor/context7/rules/use-context7.mdc
@@ -7,7 +7,7 @@ When you're unsure about a library's API, syntax, configuration, or behavior, us
Use Context7 when:
- You're not confident about the exact API or syntax for a library
-- The user asks about a specific version (e.g., "Next.js 15", "React 19")
+- The user asks about a specific version (e.g., "Next.js 16", "React 19")
- The library or framework has had recent major changes
- You need accurate code examples for a specific use case
diff --git a/plugins/cursor/context7/skills/context7-mcp/SKILL.md b/plugins/cursor/context7/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/plugins/cursor/context7/skills/context7-mcp/SKILL.md
+++ b/plugins/cursor/context7/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/rules/context7-cli.md b/rules/context7-cli.md
index d0f72ae3..2f36e3dd 100644
--- a/rules/context7-cli.md
+++ b/rules/context7-cli.md
@@ -11,6 +11,6 @@ Do not use for: refactoring, writing scripts from scratch, debugging business lo
You MUST call `library` first to get a valid ID unless the user provides one directly in `/org/project` format. Be specific about what to look up in the library's documentation — specific and detailed queries return better results than vague single words, but keep each query to a single concept unless the question is about how concepts interact; combined multi-topic queries dilute ranking and return shallow results for each topic. Do not run more than 3 commands per question. Do not include sensitive information (API keys, passwords, credentials) in queries.
-For version-specific docs, use `/org/project/version` from the `library` output (e.g., `/vercel/next.js/v14.3.0`).
+For version-specific docs, use `/org/project/version` from the `library` output (e.g., `/vercel/next.js/v16.2.9`).
If a command fails with a quota error, inform the user and suggest `npx ctx7@latest login` or setting `CONTEXT7_API_KEY` env var for higher limits. Do not silently fall back to training data.
diff --git a/skills/context7-cli/references/docs.md b/skills/context7-cli/references/docs.md
index 4f36b837..62a4251e 100644
--- a/skills/context7-cli/references/docs.md
+++ b/skills/context7-cli/references/docs.md
@@ -10,7 +10,7 @@ Resolves a package/product name to a Context7-compatible library ID and returns
```bash
ctx7 library react "How to clean up useEffect with async operations"
-ctx7 library nextjs "How to set up app router with middleware"
+ctx7 library nextjs "How to set up app router with a proxy"
ctx7 library prisma "How to define one-to-many relations with cascade delete"
```
@@ -52,7 +52,7 @@ If the user mentions a specific version, use a version-specific library ID:
ctx7 docs /vercel/next.js "How to set up app router"
# Version-specific
-ctx7 docs /vercel/next.js/v14.3.0-canary.87 "How to set up app router"
+ctx7 docs /vercel/next.js/v16.2.9 "How to set up app router"
```
The available versions are listed in the `ctx7 library` output. Use the closest match to what the user specified.
@@ -70,7 +70,7 @@ You must call `ctx7 library` first to obtain the exact Context7-compatible libra
```bash
ctx7 docs /facebook/react "How to clean up useEffect with async operations"
-ctx7 docs /vercel/next.js "How to add authentication middleware to app router"
+ctx7 docs /vercel/next.js "How to add an authentication proxy to app router"
ctx7 docs /prisma/prisma "How to define one-to-many relations with cascade delete"
```
@@ -80,13 +80,13 @@ IMPORTANT: Do not call `ctx7 docs` more than 3 times per question. If you cannot
The query directly affects the quality of results. Be specific and include relevant details, but keep each query to one topic — if the question spans multiple distinct concepts, run a separate `ctx7 docs` command per concept instead of combining them, unless the question is about how the concepts interact. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query.
-| Quality | Example |
-|---------|---------|
-| Good | `"How to set up authentication with JWT in Express.js"` |
-| Good | `"React useEffect cleanup function with async operations"` |
-| Bad (too vague) | `"auth"` |
-| Bad (too vague) | `"hooks"` |
-| Bad (too broad) | `"routing and auth and caching in Next.js"` |
+| Quality | Example |
+| --------------- | ---------------------------------------------------------- |
+| Good | `"How to set up authentication with JWT in Express.js"` |
+| Good | `"React useEffect cleanup function with async operations"` |
+| Bad (too vague) | `"auth"` |
+| Bad (too vague) | `"hooks"` |
+| Bad (too broad) | `"routing and auth and caching in Next.js"` |
Describe what to look up in the library's documentation in the query when possible — vague one-word queries return generic results, and multi-topic queries dilute ranking and return shallow results for each topic.
@@ -101,7 +101,7 @@ ctx7 docs /facebook/react "How to use hooks for state management" --json
# Pipe to other tools — output is clean when not in a TTY (no spinners or colors)
ctx7 docs /facebook/react "How to use hooks for state management" | head -50
-ctx7 docs /vercel/next.js "How to add middleware for route protection" | grep -A5 "middleware"
+ctx7 docs /vercel/next.js "How to add a proxy for route protection" | grep -A5 "proxy"
```
## Authentication
diff --git a/skills/context7-mcp/SKILL.md b/skills/context7-mcp/SKILL.md
index 90542d4e..b5caf859 100644
--- a/skills/context7-mcp/SKILL.md
+++ b/skills/context7-mcp/SKILL.md
@@ -9,7 +9,7 @@ When the user asks about libraries, frameworks, or needs code examples, use Cont
Activate this skill when the user:
-- Asks setup or configuration questions ("How do I configure Next.js middleware?")
+- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
@@ -52,5 +52,5 @@ Incorporate the fetched documentation into your response:
- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept
- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
-- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
+- **Version awareness**: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
diff --git a/skills/find-docs/SKILL.md b/skills/find-docs/SKILL.md
index d751069c..b2c6151c 100644
--- a/skills/find-docs/SKILL.md
+++ b/skills/find-docs/SKILL.md
@@ -56,7 +56,7 @@ Resolves a package/product name to a Context7-compatible library ID and returns
```bash
npx ctx7@latest library React "How to clean up useEffect with async operations"
-npx ctx7@latest library "Next.js" "How to set up app router with middleware"
+npx ctx7@latest library "Next.js" "How to set up app router with a proxy"
npx ctx7@latest library Prisma "How to define one-to-many relations with cascade delete"
```
@@ -98,7 +98,7 @@ If the user mentions a specific version, use a version-specific library ID:
npx ctx7@latest docs /vercel/next.js "How to set up app router"
# Version-specific
-npx ctx7@latest docs /vercel/next.js/v14.3.0-canary.87 "How to set up app router"
+npx ctx7@latest docs /vercel/next.js/v16.2.9 "How to set up app router"
```
The available versions are listed in the `library` command output. Use the closest match to what the user specified.
@@ -109,7 +109,7 @@ Retrieves up-to-date documentation and code examples for the resolved library.
```bash
npx ctx7@latest docs /facebook/react "How to clean up useEffect with async operations"
-npx ctx7@latest docs /vercel/next.js "How to add authentication middleware to app router"
+npx ctx7@latest docs /vercel/next.js "How to add an authentication proxy to app router"
npx ctx7@latest docs /prisma/prisma "How to define one-to-many relations with cascade delete"
```
@@ -123,13 +123,13 @@ npx ctx7@latest docs /websites/twilio "How to send an SMS" --language Ruby
The query directly affects the quality of results. Be specific and include relevant details, but keep each query to one topic — if the question spans multiple distinct concepts, run a separate `docs` command per concept instead of combining them, unless the question is about how the concepts interact. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query.
-| Quality | Example |
-|---------|---------|
-| Good | `"How to set up authentication with JWT in Express.js"` |
-| Good | `"React useEffect cleanup function with async operations"` |
-| Bad (too vague) | `"auth"` |
-| Bad (too vague) | `"hooks"` |
-| Bad (too broad) | `"routing and auth and caching in Next.js"` |
+| Quality | Example |
+| --------------- | ---------------------------------------------------------- |
+| Good | `"How to set up authentication with JWT in Express.js"` |
+| Good | `"React useEffect cleanup function with async operations"` |
+| Bad (too vague) | `"auth"` |
+| Bad (too vague) | `"hooks"` |
+| Bad (too broad) | `"routing and auth and caching in Next.js"` |
Describe what to look up in the library's documentation, rather than the task to complete — vague one-word queries return generic results, and multi-topic queries dilute ranking and return shallow results for each topic.
@@ -150,6 +150,7 @@ npx ctx7@latest login
## Error Handling
If a command fails with a quota error ("Monthly quota reached" or "quota exceeded"):
+
1. Inform the user their Context7 quota is exhausted
2. Suggest they authenticate for higher limits: `npx ctx7@latest login`
3. If they cannot or choose not to authenticate, answer from training knowledge and clearly note it may be outdated