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-extensions
Reset user data (backup first!)
%APPDATA%\Cursor
~/Library/Application Support/Cursor
~/.config/Cursor
Check for conflicting software
Solution: Ensure VS Code is closed during import. If that fails:
Code > Preferences > Profiles > Export
File > Preferences > Profiles > Import
Check 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 filename
Git locks
# Remove git index lockrm .git/index.lock
Read-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 class
Enable 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 Mode
Claude 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"' >> ~/.bashrc
Claude Code requires Git for Windows:
git --version
Verify key format
sk-ant-
Check key permissions
Set correctly
# Option 1: Environment variableexport CLAUDE_API_KEY="sk-ant-..."
# Option 2: During setupclaude login
Test connection
claude "hello"
For enterprise SSO:
claude login --sso --verbose
Understanding 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
/status
Use 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 true
Skip all permissions (use cautiously):
claude --dangerously-skip-permissions
Or in container for safety:
docker run -it claude-safe claude --dangerously-skip-permissions
Check working directory
pwd # Ensure you're in right location
Verify file paths
Git status
git status # See what changedgit diff # Review changes
Check installation
npm list -g @modelcontextprotocol/server-name
Verify configuration
// ~/.claude/mcp.json or .mcp.json{ "servers": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/github"] } }}
Debug mode
claude --mcp-debug
Check 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 version
Documentation
Community
Official Support
Regular updates
# Cursor: Check for updates in-app# Claude Code:npm update -g @anthropic-ai/claude-code
Backup configurations
# Backup Cursor settingscp -r ~/.cursor ~/.cursor.backup
# Backup Claude Code configcp ~/.claude.json ~/.claude.json.backup
Monitor usage
Use version control
Remember: Most issues have simple solutions. Start with the basics (restart, update, check permissions) before trying complex fixes.