Skip to content

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

fix: Update Context7 MCP installation instructions with specific version and node options

Jyotirmoy Das72d7e741d069
diff --git a/README.md b/README.md
index d654ed46..ac97ca60 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,11 @@ Pasting the following configuration into your Cursor `~/.cursor/mcp.json` file i
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "@upstash/context7-mcp@latest"]
+ "args": [
+ "-y",
+ "--node-options=--experimental-vm-modules",
+ "@upstash/[email protected]"
+ ]
}
}
}
@@ -107,7 +111,11 @@ Add this to your Windsurf MCP config file. See [Windsurf MCP docs](https://docs.
"mcpServers": {
"context7": {
"command": "npx",
- "args": ["-y", "@upstash/context7-mcp@latest"]
+ "args": [
+ "-y",
+ "--node-options=--experimental-vm-modules",
+ "@upstash/[email protected]"
+ ]
}
}
}
@@ -126,7 +134,11 @@ Add this to your VS Code MCP config file. See [VS Code MCP docs](https://code.vi
"Context7": {
"type": "stdio",
"command": "npx",
- "args": ["-y", "@upstash/context7-mcp@latest"]
+ "args": [
+ "-y",
+ "--node-options=--experimental-vm-modules",
+ "@upstash/[email protected]"
+ ]
}
}
}
@@ -167,7 +179,11 @@ Add this to your Claude Desktop `claude_desktop_config.json` file. See [Claude D
"mcpServers": {
"Context7": {
"command": "npx",
- "args": ["-y", "@upstash/context7-mcp@latest"]
+ "args": [
+ "-y",
+ "--node-options=--experimental-vm-modules",
+ "@upstash/[email protected]"
+]
}
}
}