Use Claude Desktop as a free coding agent without Cursor or Claude Code
When to use: You have Claude Desktop already and want it to actually edit your repo, not just paste snippets.
Prerequisites
- Claude Desktop installed — Download from claude.ai/download
- Working directory whitelisted — First run prompts for which directories Claude can touch
Flow
-
Install and lock the workspaceInstall desktop-commander. Limit it to ~/Code/myproject — nothing outside.✓ Copied→ Config shows allowed_directories restricted; tool listing appears in Claude
-
Drive a real changeOpen ~/Code/myproject. Find every TODO comment, group by file, propose fixes for the top 5.✓ Copied→ ripgrep-fast scan, prioritized list with line numbers
-
Apply with edit_blockApply the proposed fixes using edit_block. Don't rewrite whole files — just the necessary diffs.✓ Copied→ Each edit shows old_string/new_string blocks; clean git diff afterwards
Outcome: Claude Desktop now writes real code changes to your repo with the same quality as a paid IDE assistant.
Pitfalls
- Forgot to set allowed_directories — Claude scans your home folder — Edit ~/.claude-server-commander/config.json and restart Claude Desktop