Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)

December 12, 2025
Written By Richard Baxter

I work on the messy middle between data, content, and automation - pipelines, APIs, retrieval systems, and building workflows for task efficiency. 

When I discovered Desktop Commander, it quickly become the everything of how I work with Claude. Put simply, this MCP solves a specific, annoying problem: Claude can tell you what to do, but without access to your filesystem, that’s all it can do.

Desktop Commander opens up an entire universe to aspiring AI tool users. It’s an MCP (Model Context Protocol) extension that gives Claude direct access to your filesystem and (very helpfully) terminal. In practice: Claude can read your files, write new ones, run commands, and interact with your computer the way you would.

The official tagline is “One Chat, Full Stack” and it’s spot on.

The Core Problem Desktop Commander Solves

Before Desktop Commander, my Claude conversations went like this:

  1. Me: “How do I extract this JSON field?”
  2. Claude: “Here’s the jq command: jq '.data.items[]'
  3. Me: copies command, switches to terminal, pastes, runs
  4. Me: “That gave an error”
  5. Claude: “Ah, try adding -r flag…”
  6. repeat

With Desktop Commander, that becomes:

  1. Me: “Extract the items array from response.json”
  2. Claude: reads file, writes extracted data, tells me it’s done

Context-switching and messing around with the disconnect between Claude’s internal environment and the real world kills productivity and just creates confusion. Every time I copy-paste between windows, I lose a few seconds and a bit of mental state. Multiply that across hundreds of interactions per day, and it adds up.

How I Use It

Content Updates and Creation

One of my projects is called Content Machine – a multi-phase workflow that updates articles with research, voice calibration, and WordPress deployment. Every step is executed through Desktop Commander, triggered via a multi-phase prompt file (sort of like an agent that advises you to switch to a new session, generates a handover prompt ready for you to continue).

While I don’t want to give this tool away just yet, here’s basically what it does:

Phase 1: Claude downloads the article via WordPress REST API, analyses the existing structure, catalogues shortcodes, html embeds and images.

Phase 2: Claude fetches YouTube transcripts (using Supadata MCP), runs Gemini market research, gathers Amazon product data (with my Amazon Product Advertising API MCP)

Phase 3: Claude extracts technical insights, voice-calibrates content to match my writing patterns.

Phase 4: Claude drafts in Gutenberg HTML, validates, uploads to WordPress as a new draft.

All through natural conversation. No manual file copying. No switching between terminals. The whole thing runs in Claude Desktop with Desktop Commander handling the filesystem operations. For technical writing, documenters and dare I say it, editorial staff – ideas like this will be gamechanging.

Git Operations

I can say “commit these changes with message ‘Phase 2 research complete'” and Claude:

  1. Checks what files changed
  2. Stages them appropriately
  3. Writes the commit
  4. Pushes if I ask

On Windows, this requires batch file workarounds (CMD quote escaping seems problematic), but once configured it works reliably. The cd /d command is essential for changing drives properly. You need github installed – if you’re not in that place yet, read this beginner’s guide and this setup

@echo off
cd /d C:\dev\content-machine
git add articles\research
git commit -m "Phase 2 complete"

Surgical Code Edits

Most AI coding tools rewrite entire files. Desktop Commander has edit_block – find a specific chunk of code and replace just that section.

Rewriting a 500-line file to change 3 lines is wasteful, error-prone, and often breaks things. Especially in Claude Desktop where you’re working in a 200k context window (128k on Sonnet, 200k on Opus). Finding and replacing the exact section preserves everything else.

One of the testimonials I read on the DC site captures this well: “It gives Claude ability to do surgical edits, making it more like a human developer.” That’s exactly right.

The Self-Improving Pattern

There’s a YouTube video going around showing what the creator calls “self-improving AI dev.” The core insight: tell Claude to build something, then run the build process, fix errors from the output, and repeat until everything works.

The key prompt addition:

Make the project but change two things. Firstly, you must deliver a perfect project. Launch the project and self-improve both the style and look as well as ensuring everything is implemented properly. Secondly, ensure there are no errors. Fix the errors you find using the terminal logs.

This works because Desktop Commander can read terminal output properly. Claude sees the error, understands the context, makes the fix, runs the build again. The creator reported building a 107-page production-ready Next.js site in one shot.

I’ve found similar patterns work for PHP and Python scripts. The key is giving Claude access to both the code AND the execution output. npm run build fails with an error? Claude reads it, fixes it, runs again. Loop until clean.

What’s New in 2026

Desktop Commander has had a ridiculous amount of development since I first wrote about it. The tool count alone went from a handful to 22 across five categories – and some of the additions genuinely changed how I work with it.

Desktop Commander Tools by Category v0.2.38 – 22 tools across 5 categories Terminal 7 start_process, interact, read_output, kill, list… Filesystem 8 read, write, search, move, list_dir… Editing 1 edit_block (text + Excel cells) Config 2 get_config, set_config_value Analytics 3 usage_stats, recent_tool_calls, feedback 22 tools total Source: GitHub repo, April 2026

Remote MCP is probably the biggest deal. You can now run Desktop Commander from ChatGPT, Claude on the web, or basically any AI service – not just Claude Desktop. Run npx @wonderwhy-er/desktop-commander@latest remote, authenticate with OAuth, and your browser-based AI can control your local machine. I haven’t used this much myself but the implications are massive.

Office document support crept in across several releases – Excel files (.xlsx, .xls), PDFs, and Word documents (.docx) all work through the existing read/write/edit tools. So when I said “read this CSV” in my examples above, you can now say “read this spreadsheet” and it just works. Claude can even do surgical XML editing inside .docx files, which sounds niche until you need it.

Docker isolation is the one I’d recommend for anyone nervous about giving an AI write access to their filesystem. Run the whole thing in a container – zero risk to your host system. I still run it natively because I’m reckless (and I trust Git), but the option’s there.

Settings Panel and File Preview landed in v0.2.36 and v0.2.38. The settings panel means you don’t need to hand-edit JSON config files any more – there’s a visual editor right in Claude Desktop. And the file preview widget renders markdown, images, and content inline instead of dumping raw text.

Eduard also launched a standalone Desktop Commander App – separate from the MCP, $7/month, works with GPT-4.5 and Gemini as well as Claude. I haven’t tried it and probably won’t; the free open-source MCP server does everything I need and I’m not about to add another subscription.

Setup & Download

Requirements:

  • Node.js v18 or higher (we’re all running v24+ by now)
  • Claude Desktop (the app, not claude.ai)


On Windows:

npx @wonderwhy-er/desktop-commander@latest setup

On macOS:

curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash

Restart Claude Desktop. That’s it.

No API keys. No complex configuration. First thing to try: type “What can I do with Desktop Commander?” and Claude walks you through capabilities.

you can run it as an MCP from the NPM repo with:

    "desktop-commander": {
      "command": "npx",
      "args": [
        "-y",
        "@wonderwhy-er/desktop-commander@latest"
      ]
    }

Or run it in Docker if you want full isolation from your host system:

docker run -d --name desktop-commander mcp/desktop-commander

And now Desktop Commander is a Claude Extension – by far the easiest way to get started:

DC vs Cursor vs Claude Code

This question’s changed since I first wrote this article. Back then it was just Cursor. Now there’s Claude Code – Anthropic’s own CLI agent that runs in your terminal with full filesystem access, no MCP setup required.

Desktop Commander vs Claude Code vs Cursor As of April 2026 DC + Claude Desktop Claude Code Cursor Free / open source MCP server ecosystem GUI interface Terminal / shell access Office docs (Excel, PDF, DOCX) Non-developer friendly Works with non-Claude models No setup / install required ✓ = yes ● = partial — = no

Cursor is a code editor with AI baked in. It’s excellent for sitting in a codebase writing features all day.

Claude Code runs in your terminal – no GUI, no MCP config, just npm install -g @anthropic-ai/claude-code and you’re in. It’s brilliant for developers who live in the terminal already. But it’s Claude-only and it’s a developer tool through and through.

Claude Desktop + Desktop Commander is the generalist setup. It’s what I use because I’m not just coding – I’m researching with Gemini MCP, pulling product data from Amazon, managing WordPress content, and occasionally writing actual code. The MCP ecosystem means I can bolt on whatever capability I need. Claude Code can do MCP too, but Desktop Commander’s office document handling and visual file previews don’t exist there.

With Cursor, you’re thinking “help me code.” With Claude Code, you’re thinking “do this coding task, autonomously.” With Desktop Commander, you’re asking “do this task” – and code might be part of it. If it is (it often is) Claude will just write the script and execute it.

The stats: 26k+ weekly NPM downloads, 5.9k GitHub stars, 9.52/10 user rating. Bravo!

Examples From This Week

WordPress article extraction: “Download article 2264 from (my website) and save the raw JSON to the research folder.”

Data filtering: “Read this CSV of products, find all items under £500 with rating above 4.0, export to a new file.”

Git housekeeping: “Show me all uncommitted changes, then commit the research files with message ‘Phase 2 research complete’.”

File audit: “List all .php files in the scripts folder that haven’t been modified in 30 days.”

None of these are impressive individually. Strung together across a full workflow, the productivity gain compounds.

Where It Breaks Down

Desktop Commander isn’t magic. Some honest caveats:

Long-running processes need care. If you start something that takes five minutes, you need to manage timeouts explicitly, and you have to keep a close eye on what’s going on. It’s OK to stop a Claude thread to check it’s on the right track.

Windows has quirks. Git commits in particular require batch file workarounds. Quote escaping in CMD is painful. The cd /d command is essential. I haven’t solved this problem yet; other than to establishe a template for these things for Claude to follow along with. Minimising mistakes takes a massive amount of pre-preparation and template files seems to be a wise workaround.

Context limits still apply. Claude’s context window is large but finite. Complex multi-phase workflows need thread management – I run each phase in a new conversation as I’ve mentioned before.

It can break things. You’re giving an AI write access to your filesystem. This is powerful but requires trust. I keep important work in Git for a reason. By “it” of course I mean Claude, not DC!

Security

I’d be dishonest if I didn’t mention this. In February 2026, security firm LayerX disclosed a vulnerability they called “Ace of Aces” – a zero-click remote code execution flaw scored CVSS 10 out of 10. The attack vector: a malicious calendar invite could theoretically trigger terminal commands through Claude Desktop’s extension routing, and Desktop Commander’s terminal privileges made it the obvious target.

Anthropic’s take? “Users grant permission when they install extensions with terminal access.” Technically true. Not exactly reassuring. The DC team has since added command blocklist bypass protection, symlink traversal prevention, and audit logging for all tool calls. And there’s the Docker isolation option I mentioned – if this stuff worries you, run DC in a container and sleep better at night.

I’ve been running DC with full filesystem access for months now and honestly, it doesn’t keep me up at night. I keep everything in Git, I don’t run it on machines with production credentials, and I check what Claude’s doing before I let it push anything. That said – know what you’re opting into. This is real filesystem access, not a sandbox.

The Prompt Library

Desktop Commander has a prompt library at desktopcommander.app/library with 72+ curated use cases:

  • Organise Downloads folder
  • Explain Codebase or Repository
  • Extract Data from PDFs
  • Set Up Local Development Environment
  • Generate Docker Configuration
  • Manage WordPress site in natural language
  • Clean Up Unused Code

Most of these are instant (quick tasks) or step-by-step (complex workflows). Worth browsing to see what’s possible.

How Important is This?

Here’s my prediction: within two years, everyone working at a desk will have Claude Desktop and Desktop Commander (or equivalent) as core operating software.

Or something similar – there’s a productivity surface application opportunity here that I don’t think anyone has mastered just yet.

The shift feels inevitable once you’ve experienced it. Why would I manually navigate folders when I can describe what I want? Why would I copy-paste code when Claude writes it directly? Why would I context-switch between terminal and browser when one interface handles both?

The best prompts aren’t in the library anyway. They’re the ones you’ll discover yourself, five minutes in, when you realise you can just ask Claude to do the task you were about to do manually.

That moment – “wait, I could just ask it to do this” – is when the tool clicks.

Useful links

Related Posts

Claude Desktop System Requirements: Windows & macOS

Have you found yourself becoming a heavy AI user? For Claude Desktop, what hardware matters, what doesn’t, and where do Anthropic’s official specs look a bit optimistic? In this article:  Official Requirements | Windows vs macOS | What Actually Matters | RAM | MCP Servers | Minimum vs Comfortable | Mistakes Official Requirements Anthropic doesn’t … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

Best GPUs for Running Local LLMs: Buyer’s Guide 2026

I’ve been running various LLMs on my own hardware for a while now and, without fail, the question I see asked the most (especially on Reddit) is “what GPU should I buy?” The rules for buying a GPU for AI are nothing like the rules for buying one for gaming – CUDA cores barely matter, … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

A Beginner’s Guide to Claude Computer Use

I’ve been letting Claude control my mouse and keyboard on and off to test this feature for a little while, and the honest answer is that it’s simultaneously the most impressive and most frustrating AI feature I’ve used. It can navigate software it’s never seen before just by looking at the screen – but it … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

A Beginner’s Guide to AI Mini PCs – Do You Need a DGX Spark?

I’ve been running a local LLM on a variety of bootstrapped bit of hardward, water-cooled 3090’s and an LLM server I call hopper full of older Ada spec GPUs. When NVIDIA, Corsair, et al. all started shipping these tiny purpose-built AI boxes – the DGX Spark, the AI Workstation 300, the Framework Desktop – I … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

Content Marketing Ideas: What It Is, How I Built It, and Why I Use It Every Day

Content Marketing Ideas is the tool I’ve built to relcaim the massive amount of time I have to spend monitoring my sources for announcementsm ,ew products, release – whatever. The Problem with Content Research in 2026 Most front line content marketing workflow follows the same loop. You read a lot, you notice patterns, you get … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

Are Claude Skills Just an Alternative to Reading a Book or is there more than that?

I’ve too long treating skills like magic incantations of a topic that really, I don’t fully understand. I strated out not really thinking about skills or embracing them. I still don’t, fully, becuase most of what I do is command line, terminal, etc etc – I’m on top of computer use! BUT – I have … <a title="Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)" class="read-more" href="https://houtini.com/desktop-commander/" aria-label="Read more about Desktop Commander: Give Claude Full Control of Your Computer (Setup Guide)">Read more</a>

Receive the latest articles in your inbox

Join the Houtini Newsletter

Practical AI tools, local LLM updates, and MCP workflows straight to your inbox.