Context7 Platform -- Up-to-date docs for AI agents
CTX7-3311: Update Codex, Hermes and ChatGPT setup docs (#3494)
Enes Gules0fdd0647ea57
diff --git a/docs/clients/codex.mdx b/docs/clients/codex.mdxindex 085ac5e5..0c8b2066 100644--- a/docs/clients/codex.mdx+++ b/docs/clients/codex.mdx@@ -60,7 +60,7 @@ Or add it directly to `~/.codex/config.toml` (use a project-scoped `.codex/confi[mcp_servers.context7]command = "npx"args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]-startup_timeout_ms = 20_000+startup_timeout_sec = 20```Prefer the hosted server? Use the remote connection instead:@@ -124,7 +124,7 @@ How does Supabase storage work?</Accordion><Accordion title="Startup timed out or program not found">-If you see a startup "request timed out" or "not found program" error, increase `startup_timeout_ms` to `40_000` and retry. On Windows, point `command` at the absolute `npx.cmd` path and set `SystemRoot` and `APPDATA` explicitly — `npx` requires them, but some Codex MCP clients don't set them by default.+If you see a startup "request timed out" or "not found program" error, increase `startup_timeout_sec` to `40` and retry. On Windows, point `command` at the absolute `npx.cmd` path and set `SystemRoot` and `APPDATA` explicitly — `npx` requires them, but some Codex MCP clients don't set them by default.</Accordion><Accordion title="Setup fails on an existing config.toml entry">diff --git a/docs/resources/all-clients.mdx b/docs/resources/all-clients.mdxindex 11251e9b..851bd864 100644--- a/docs/resources/all-clients.mdx+++ b/docs/resources/all-clients.mdx@@ -280,7 +280,7 @@ Add this to your Codex configuration file (`~/.codex/config.toml` or `.codex/con[mcp_servers.context7]command = "npx"args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]-startup_timeout_ms = 20_000+startup_timeout_sec = 20```#### Remote Server Connection@@ -291,7 +291,7 @@ url = "https://mcp.context7.com/mcp"http_headers = { "Authorization" = "Bearer YOUR_API_KEY" }```-<Note>If you see startup timeout errors, try increasing `startup_timeout_ms` to `40_000`.</Note>+<Note>If you see startup timeout errors, try increasing `startup_timeout_sec` to `40`.</Note></Accordion>@@ -565,67 +565,30 @@ Open Claude Desktop developer settings and edit your `claude_desktop_config.json</Accordion>-<Accordion title="ChatGPT (Web)">+<Accordion title="ChatGPT">-ChatGPT supports MCP servers through remote connectors via [Developer Mode](https://developers.openai.com/api/docs/guides/developer-mode) (beta). Available for Pro, Plus, Team, Enterprise, and Edu plans.+Add Context7 to ChatGPT on the web as a custom MCP server plugin. See [Add custom MCP server](https://developers.openai.com/api/docs/guides/custom-mcp-server) in the OpenAI docs. Workspace permissions can block custom MCP servers.-#### 1. Enable Developer Mode+#### 1. Add the MCP server-Go to: `Settings` → `Apps` → `Advanced settings` → Enable `Developer Mode`--#### 2. Create an App--Go to: `Settings` → `Apps` → `Create App`--Fill in the following:--| Field | Value |-| ------------------ | ------------------------------------------------------------------------------------------- |-| **Name** | `Context7` |-| **Description** | `Fetch up-to-date documentation and code examples for any library directly from the source` |-| **MCP Server URL** | `https://mcp.context7.com/mcp/oauth` |--> Accept the security notice and complete the one-time OAuth authorization.--#### 3. Use in a Conversation--Start a new chat → Click the plus icon → Hover over `More` → Select the `Context7` app.--Alternatively, you can say `use context7` in your prompt and ChatGPT will automatically use the `Context7` app.--See [OpenAI MCP docs](https://developers.openai.com/api/docs/mcp) for more info.--</Accordion>--<Accordion title="ChatGPT (Desktop)">--The ChatGPT desktop app shares apps configured on the web. Set up the app on [chatgpt.com](https://chatgpt.com) first.--#### 1. Enable Developer Mode (on the Web)--Go to: `Settings` → `Apps` → `Advanced settings` → Enable `Developer Mode`--#### 2. Create an App (on the Web)--Go to: `Settings` → `Apps` → `Create App`--Fill in the following:+Go to [ChatGPT Plugins](https://chatgpt.com/plugins) → select the plus button → `Add custom MCP server`, and fill in the following:| Field | Value || ------------------ | ------------------------------------------------------------------------------------------- || **Name** | `Context7` || **Description** | `Fetch up-to-date documentation and code examples for any library directly from the source` |-| **MCP Server URL** | `https://mcp.context7.com/mcp/oauth` |+| **Server URL** | `https://mcp.context7.com/mcp/oauth` |+| **Authentication** | `OAuth` |-> Accept the security notice and complete the one-time OAuth authorization.+Select `I understand and want to continue`, then `Create as a plugin`.-#### 3. Use in the Desktop App+#### 2. Install the plugin-Open the ChatGPT desktop app → Start a new chat → ChatGPT will automatically use the `Context7` app when you ask it to.+Find `Context7` in your plugins, install it, and complete the one-time OAuth authorization.-Apps configured on the web are automatically available in the desktop app.+#### 3. Use in a conversation-See [OpenAI MCP docs](https://developers.openai.com/api/docs/mcp) for more info.+Start a new chat, type `@` in the prompt box, and select `Context7`.</Accordion>@@ -777,7 +740,7 @@ mcp_servers:context7:url: "https://mcp.context7.com/mcp"headers:- CONTEXT7_API_KEY: "YOUR_API_KEY"+ Authorization: "Bearer YOUR_API_KEY"```#### Remote Server Connection (OAuth)diff --git a/packages/mcp/README.md b/packages/mcp/README.mdindex ab6e4fc8..31783518 100644--- a/packages/mcp/README.md+++ b/packages/mcp/README.md@@ -641,7 +641,7 @@ Add the following configuration to your OpenAI Codex MCP server settings:[mcp_servers.context7]args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]command = "npx"-startup_timeout_ms = 20_000+startup_timeout_sec = 20```#### Remote Server Connection@@ -654,7 +654,7 @@ http_headers = { "Authorization" = "Bearer YOUR_API_KEY" }> Optional troubleshooting — only if you see startup "request timed out" or "not found program". Most users can ignore this.>-> - First try: increase `startup_timeout_ms` to `40_000` and retry.+> - First try: increase `startup_timeout_sec` to `40` and retry.> - Windows quick fix (absolute `npx` path + explicit env):>> ```toml@@ -667,7 +667,7 @@ http_headers = { "Authorization" = "Bearer YOUR_API_KEY" }> "YOUR_API_KEY"> ]> env = { SystemRoot="C:\\Windows", APPDATA="C:\\Users\\yourname\\AppData\\Roaming" }-> startup_timeout_ms = 40_000+> startup_timeout_sec = 40> ```>> - macOS quick fix (use Node + installed package entry point):