Skip to content

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

Add troubleshooting section for ERR_MODULE_NOT_FOUND with bunx alternative

Abdusshhc1a4a1a21c45
diff --git a/README.md b/README.md
index 28cacb1f..9007660d 100644
--- a/README.md
+++ b/README.md
@@ -131,6 +131,25 @@ bun run build
npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp@latest
```
+## Troubleshooting
+
+### ERR_MODULE_NOT_FOUND
+
+If you see this error, try using `bunx` instead of `npx`.
+
+```json
+{
+ "mcpServers": {
+ "context7": {
+ "command": "bunx",
+ "args": ["-y", "@upstash/context7-mcp@latest"]
+ }
+ }
+}
+```
+
+This often resolves module resolution issues, especially in environments where `npx` does not properly install or resolve packages.
+
## License
MIT