Check Plan Limits
Free tier: 2,000 completions/month Pro tier: Unlimited View usage in Settings → Subscription
Ta treść nie jest jeszcze dostępna w Twoim języku.
This guide provides solutions to common technical issues, error messages, and configuration problems you might encounter while using Cursor IDE, 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
aggressively# 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.