Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ Add this to your Opencode configuration file. See [Opencode MCP docs](https://op
```

</details>

<details>
<summary><b>Install in OpenAI Codex</b></summary>

Expand All @@ -453,6 +454,40 @@ args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
command = "npx"
```

⚠️ Windows Notes

On Windows, some users may encounter request timed out errors with the default configuration.
In that case, explicitly configure the MCP server with the full path to Node.js and the installed package:

```toml
[mcp_servers.context7]
command = "C:\\Program Files\\nodejs\\node.exe"
args = [
"C:\\Users\\yourname\\AppData\\Roaming\\npm\\node_modules\\@upstash\\context7-mcp\\dist\\index.js",
"--transport",
"stdio",
"--api-key",
"YOUR_API_KEY"
]
```
Alternatively, you can use the following configuration:

```toml
[mcp_servers.context7]
command = "cmd"
args = [
"/c",
"npx",
"-y",
"@upstash/context7-mcp",
"--api-key",
"YOUR_API_KEY"
]
env = { SystemRoot="C:\\Windows" }
startup_timeout_ms = 20_000
```

This ensures Codex CLI works reliably on Windows.
</details>

<details>
Expand Down