mirror of
https://github.com/upstash/context7.git
synced 2025-06-26 23:50:04 +00:00
Merge pull request #98 from JyotirmoyDas05/master
This commit is contained in:
commit
a6ef9ba02a
37
README.md
37
README.md
@ -290,6 +290,43 @@ If you see this error, try using `bunx` instead of `npx`.
|
||||
|
||||
This often resolves module resolution issues, especially in environments where `npx` does not properly install or resolve packages.
|
||||
|
||||
Alternatively, you can also try the following setups depending on your editor:
|
||||
|
||||
**VS Code:**
|
||||
|
||||
```json
|
||||
{
|
||||
"servers": {
|
||||
"Context7": {
|
||||
"type": "stdio",
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"--node-options=--experimental-vm-modules",
|
||||
"@upstash/context7-mcp@1.0.6"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Cursor / Windsurf / Claude Desktop:**
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"context7": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"--node-options=--experimental-vm-modules",
|
||||
"@upstash/context7-mcp@1.0.6"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### MCP Client Errors
|
||||
|
||||
1. Try removing `@latest` from the package name.
|
||||
|
Loading…
x
Reference in New Issue
Block a user