Skip to content
Merged
Changes from 2 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
21 changes: 21 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,26 @@ 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"
]

[mcp_servers.context7.env]
CONTEXT7_MCP_URL = "https://mcp.context7.com/mcp"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't how we setup the the mcp url or the api key in our server, you should just add the api key as an argument and remove the mcp url

CONTEXT7_API_KEY = "your-api-key"
```

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

<details>
Expand Down