Context7 Platform -- Up-to-date docs for AI agents
Implement code changes to enhance functionality and improve performance
Jyotirmoy Das0843523f606f
diff --git a/README.md b/README.mdindex ac97ca60..e39d97f9 100644--- a/README.md+++ b/README.md@@ -60,11 +60,7 @@ Pasting the following configuration into your Cursor `~/.cursor/mcp.json` file i"mcpServers": {"context7": {"command": "npx",- "args": [- "-y",- "--node-options=--experimental-vm-modules",- "@upstash/[email protected]"- ]+ "args": ["-y", "@upstash/context7-mcp@latest"]}}}@@ -111,11 +107,7 @@ Add this to your Windsurf MCP config file. See [Windsurf MCP docs](https://docs."mcpServers": {"context7": {"command": "npx",- "args": [- "-y",- "--node-options=--experimental-vm-modules",- "@upstash/[email protected]"- ]+ "args": ["-y", "@upstash/context7-mcp@latest"]}}}@@ -134,11 +126,7 @@ Add this to your VS Code MCP config file. See [VS Code MCP docs](https://code.vi"Context7": {"type": "stdio","command": "npx",- "args": [- "-y",- "--node-options=--experimental-vm-modules",- "@upstash/[email protected]"- ]+ "args": ["-y", "@upstash/context7-mcp@latest"]}}}@@ -179,11 +167,7 @@ Add this to your Claude Desktop `claude_desktop_config.json` file. See [Claude D"mcpServers": {"Context7": {"command": "npx",- "args": [- "-y",- "--node-options=--experimental-vm-modules",- "@upstash/[email protected]"-]+ "args": ["-y", "@upstash/context7-mcp@latest"]}}}@@ -306,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/[email protected]"+ ]+ }+ }+}+```++**Cursor / Windsurf / Claude Desktop:**++```json+{+ "mcpServers": {+ "context7": {+ "command": "npx",+ "args": [+ "-y",+ "--node-options=--experimental-vm-modules",+ "@upstash/[email protected]"+ ]+ }+ }+}+```+### MCP Client Errors1. Try removing `@latest` from the package name.@@ -314,6 +335,7 @@ This often resolves module resolution issues, especially in environments where `3. Try using `deno` as an alternative.+## Context7 In Media- [Better Stack: "Free Tool Makes Cursor 10x Smarter"](https://youtu.be/52FC3qObp9E)