Check Plan Limits
Free tier: 2,000 completions/month Pro tier: Unlimited View usage in Settings → Subscription
This guide provides solutions to common technical issues, error messages, and configuration problems you might encounter while using Cursor, Claude Code, and MCP servers.
Check system requirements
Try safe mode
cursor --disable-extensionsReset user data (backup first!)
%APPDATA%\Cursor~/Library/Application Support/Cursor~/.config/CursorCheck for conflicting software
Solution: Ensure VS Code is closed during import. If that fails:
Code > Preferences > Profiles > ExportFile > Preferences > Profiles > ImportCheck Plan Limits
Free tier: 2,000 completions/month Pro tier: Unlimited View usage in Settings → Subscription
Verify Indexing
Settings → Features → Codebase Indexing Should show “Indexed” status Click “Reindex” if needed
Model Status
Check status.cursor.sh Tab model might be experiencing issues Try switching to backup model
File Support
Some file types have limited support Check if your language is supported Try in a standard .js/.py file
Common causes and solutions:
Wrong mode selected
File permissions
# Check file permissionsls -la filename# Fix if neededchmod 644 filenameGit locks
# Remove git index lockrm .git/index.lockRead-only files
@file.js:10-50// Instead of including entire file@large-file.ts
// Include specific sections@large-file.ts:100-200 // Just the relevant function@large-file.ts:exported // Just exports@large-file.ts:UserClass // Just a specific classEnable Max Mode for 200k context (costs more):
Your fast requests are exhausted. Options:
Disable unused extensions
Reduce indexing scope
node_modules/dist/*.logcoverage/Clear cache
Check system resources
Common with large codebases. Solutions:
.cursorignore aggressivelyFollow this checklist to identify and fix common AI performance issues:
❌ Model Doesn't Understand Your App
Symptom: AI suggests patterns that don’t match your codebase
Fix for Cursor:
/Generate Cursor Rules command in CursorFix for Claude Code:
> /init# Updates CLAUDE.md with current context❌ AI Reimplements Existing Features
Symptom: Creates duplicate functionality
Solution: Use explicit file references
@auth.ts extend the existing login@components/Modal.tsx use this pattern@api/* follow these conventions❌ Consistently Poor Responses
Symptom: Low-quality or incorrect suggestions
Check:
❌ AI Forgets Important Details
Symptom: Loses track of requirements mid-task
Cursor Solution: Enable MAX mode
Cmd/Ctrl + Shift + P → Toggle MAX ModeClaude Code Solution:
> ultrathink about this complex problem❌ Library/Framework Confusion
Symptom: Wrong API usage or outdated patterns
Solution: Use Context7 MCP or web search
# Option 1: Install Context7 MCPclaude mcp install @context7/context7-mcp# In prompts: "Use Context7 MCP for React documentation"
# Option 2: Use web search (no setup needed)# In prompts: "Search the web for React hooks documentation"❌ Unexpected Implementations
Symptom: AI takes wrong approach
Solution: End prompts with clarification request
"Build user authentication...Ask me about everything you need toimplement this in the best way possible."Initialize Proper Context
/Generate Cursor Rules and maintain regularly/init and update CLAUDE.md regularlyUse Maximum Model Capabilities
ultrathink for architectural decisionsProvide Explicit References
Request Clarification
Configure Documentation Access
If you’ve followed all these steps and still experience problems:
Remember: These models are incredibly powerful when configured correctly. Investment in proper setup pays dividends in productivity.
# Reinstall globallynpm uninstall -g @anthropic-ai/claude-codenpm install -g @anthropic-ai/claude-code
# Check installationnpm list -g @anthropic-ai/claude-code# Add npm global to PATHexport PATH="$PATH:$(npm config get prefix)/bin"
# Make permanent (add to ~/.bashrc or ~/.zshrc)echo 'export PATH="$PATH:$(npm config get prefix)/bin"' >> ~/.bashrcClaude Code requires Git for Windows:
git --versionVerify key format
sk-ant-Check key permissions
Set correctly
# Option 1: Environment variableexport CLAUDE_API_KEY="sk-ant-..."
# Option 2: During setupclaude loginTest connection
claude "hello"For enterprise SSO:
claude login --sso --verboseUnderstanding limits:
Solutions:
Optimize usage
# Clear between tasks/clear
# Batch related questionsclaude "1. Fix bug X 2. Add feature Y 3. Write tests"Check remaining quota
/statusUse API for heavy workloads
Configure allowed commands:
# Allow specific commandsclaude config set allowed_commands "git,npm,ls"
# Allow file editingclaude config set auto_approve_file_edits trueSkip all permissions (use cautiously):
claude --dangerously-skip-permissionsOr in container for safety:
docker run -it claude-safe claude --dangerously-skip-permissionsCheck working directory
pwd # Ensure you're in right locationVerify file paths
Git status
git status # See what changedgit diff # Review changesCheck installation
npm list -g @modelcontextprotocol/server-nameVerify configuration
// ~/.claude/mcp.json or .mcp.json{ "servers": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/github"] } }}Debug mode
claude --mcp-debugCheck logs
GitHub MCP:
# Set PAT tokenexport GITHUB_TOKEN="ghp_..."Database MCP:
# Check connection stringexport DATABASE_URL="postgresql://user:pass@localhost:5432/db"Increase timeout
{ "servers": { "slow-server": { "command": "...", "timeout": 30000 // 30 seconds } }}Check server resources
Meaning: The AI model servers are at capacity
Solutions:
Check:
Solutions:
Common causes:
Export current chat (if possible)
Clear problematic data
~/.cursor/chats/Restore from export
Prevention:
# Always use gitgit add -A && git commit -m "WIP: Before AI changes"Recovery:
.swp or backup filesgit reflog if committedCursor:
Claude Code:
/doctor # Run diagnostics/help # Show available commandsclaude --version # Check versionDocumentation
Community
Official Support
Regular updates
# Cursor: Check for updates in-app# Claude Code:npm update -g @anthropic-ai/claude-codeBackup configurations
# Backup Cursor settingscp -r ~/.cursor ~/.cursor.backup
# Backup Claude Code configcp ~/.claude.json ~/.claude.json.backupMonitor usage
Use version control
Remember: Most issues have simple solutions. Start with the basics (restart, update, check permissions) before trying complex fixes.