Resources
Troubleshooting
Solutions for common MemNexus issues.
Authentication
"Authentication Error: Invalid or missing API key"
Cause: The API key is missing, malformed, or expired.
Fix:
# Check current auth status
mx auth status
# Re-authenticate
mx auth login --interactive
# Verify it works
mx system health
"401 Unauthorized" on API calls
Cause: The API key isn't being sent correctly.
Fix:
- Verify the key format:
cmk_live_<id>.<secret> - Check the Authorization header:
Bearer cmk_live_xxx.yyy - For SDK: ensure
apiKeyis set in the client constructor - For MCP: ensure
MEMNEXUS_API_KEYis set in the env config
Connection issues
"Connection refused" or "Network error"
Cause: Can't reach the MemNexus API.
Fix:
# Check if the API is reachable
mx system health
# Verify your configured API URL
mx config get apiUrl
# Reset to default
mx config set apiUrl https://api.memnexus.ai
"Request timeout"
Cause: Slow network or API under load.
Fix:
- Check your internet connection
- Try again in a few moments
- For GraphRAG queries, reduce the
depthparameter - For large list operations, use smaller
--limitvalues
Search issues
Search returns no results
Possible causes:
- No memories stored yet
- Query doesn't match any memories semantically
- Topic filters are too restrictive
Fix:
# Check if you have memories
mx memories list --limit 5
# Try a broader search without filters
mx memories search --query "anything"
# Remove topic filters if using them
mx memories search --query "your query"
Search results seem irrelevant
Cause: The query may be too vague or the memories too sparse.
Fix:
- Be more specific: "React state management" instead of "state"
- Add topic filters to narrow scope:
--topics "react,frontend" - Use
--timelinemode to see chronological context - Check memory content — are the stored memories detailed enough?
MCP issues
Tools don't appear in Claude Desktop
Fix:
- Verify config file location:
- macOS:
~/.config/claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Check JSON syntax — no trailing commas, proper quoting
- Ensure
npxis in your PATH:which npx - Restart Claude Desktop completely (quit and reopen)
Tools don't appear in Cursor
Fix:
- Verify
.cursor/mcp.jsonexists in your project root - Check JSON syntax
- Reload the Cursor window (Cmd/Ctrl + Shift + P → "Reload Window")
MCP tool calls fail with authentication error
Fix:
- Check that
MEMNEXUS_API_KEYis in theenvsection of your MCP config - Verify the key is valid:
mx auth login --api-key <your-key> && mx auth status - Make sure the key includes both parts:
cmk_live_<id>.<secret>
CLI issues
"command not found: mx"
Cause: The CLI isn't installed globally or not in your PATH.
Fix:
# Install globally
npm install -g @memnexus-ai/cli
# Verify installation
mx --version
# If using nvm, ensure the correct Node version is active
nvm use 18
npm install -g @memnexus-ai/cli
JSON parse errors in scripts
Cause: Table format output (the default) isn't valid JSON.
Fix:
# Always use --format json for scripting
mx memories list --format json | jq '.data'
Rate limiting
"429 Too Many Requests"
Cause: You've exceeded the API rate limit.
Fix:
- Wait for the
Retry-Afterperiod indicated in the response - Reduce request frequency
- Use pagination with smaller page sizes
- For batch operations, add delays between requests
Getting help
If these solutions don't resolve your issue:
- Check
mx system healthfor API status - Review
mx system statusfor detailed diagnostics - Open an issue on GitHub