Skip to content

What Is Desktop Commander MCP? Letting Your Assistant Use the Files and Terminal on Your Computer: Setup, Telemetry and Pricing

An assistant normally only chats; it can't touch the files on your computer or run commands. Desktop Commander gives it permission to use your computer's terminal and file system: it runs commands, watches long-running jobs, searches and edits files, and reads and writes Excel, PDF and Word files. You say "sort my Downloads folder by type and set the duplicates aside"; the assistant lists the folder, runs the commands and moves the files. Its access is wide: give it only the folders you are working in.

What it does
Lets the assistant use your computer's terminal and files
Type
MCP server (runs on your computer; a remote route too)
Made by
Desktop Commander (community; MIT)
Where
Claude Desktop, Claude Code, Codex, Cursor, VS Code; ChatGPT and claude.ai through the remote route
Access
File system and terminal (wide access)
Telemetry
On by default; can be turned off
Cost
The local server is free; the remote route has Free and Pro plans

What Is Desktop Commander For?

When you tell an AI assistant "sort the invoices in this folder", it normally can't see the folder; you upload files to the chat and apply the answer by hand. Desktop Commander removes that go-between: the assistant lists the folder itself, reads the files itself, runs the command itself and carries on after seeing the result. MCP is the standard for connecting AI programs to external tools; Desktop Commander opens your computer's terminal and file system to the assistant this way.

Who it helps: office staff and agency teams who want to get file and folder jobs (bulk renaming, sorting, reading documents) done by chatting; developers who hand long jobs such as running tests or watching a server in the terminal to the assistant. The tool is built on top of Filesystem MCP and adds search, editing, terminal and document abilities.

How Does It Work? A Bridge Between the Assistant and Your Computer

The server is a program that starts on your computer when you open the assistant. The assistant makes tool calls such as "list the folder", "run the command", "read the file"; the program carries them out on your computer with your user permissions and hands the output back. Long-running commands continue in the background; the assistant comes back later to read the output.

You"Sort the folder by type"
AssistantClaude Desktop, Claude Code, Cursor…
Desktop CommanderRuns on your computer
Files and terminalYour real files, real commands

The commands the assistant asks for run on your computer with your permissions; this is not a sandbox. If the assistant uses a cloud model, the file contents it reads and the command output go to that model.

The README lists 25 tools:

AreaToolsWhat they do
Terminalstart_process, interact_with_process, read_process_output, force_terminate, list_sessions, list_processes, kill_processStarts commands and programs, types into a running program, reads its output, lists and ends processes (SSH, databases and development servers included).
File systemread_file, read_multiple_files, write_file, write_pdf, create_directory, list_directory, move_file, get_file_infoReads and writes text, Excel (.xlsx, .xls, .xlsm), PDF and Word files; creates, lists and moves folders.
Searchstart_search, get_more_search_results, stop_search, list_searchesRuns a streaming search by file name or content (Excel content included).
Text editingedit_blockMakes small, targeted find-and-replace edits; if there is no exact match, it shows the closest match.
Configuration and analyticsget_config, set_config_value, get_usage_stats, get_recent_tool_calls, give_feedback_to_desktop_commanderReads and changes settings; shows your own usage statistics and recent tool calls; opens a feedback form.

There are two routes. On the local route the server runs on your computer and connects to clients such as Claude Desktop, Claude Code, Codex and Cursor. On the remote route (for ChatGPT and claude.ai), a "device" program runs on your computer, you sign in from the browser, and ChatGPT or Claude web sends commands to this device through Desktop Commander's remote address; the commands still run on your computer with your permissions. The device program accepts no commands while it is closed.

How Do You Use Desktop Commander? What You Type and What You Get

After installing, write the request in a natural sentence. The README also shows sample prompts for new users (such as "Help me get started with Desktop Commander"). The prompts below are derived from the kinds of use in the README and the project site; their outputs are described only as far as the docs describe them.

Tidying a folder"Sort my Downloads folder into subfolders by type (images, documents, installers, archives, other). Move identical files into a _duplicates folder. Delete nothing. First list what you will do; move the files once I approve."

What you get: the assistant lists the folder, finds duplicates with a command and moves the files. In the sample session on the project site a folder of 412 files is sorted into 6 subfolders and 38 duplicates are set aside in a separate folder; that is the maker's example, and the numbers will differ in your folder. Saying "list first" lets you see the plan before any file moves.

An Excel table from PDF invoices"Read the PDF files in the Invoices folder. Pull the date, the company name and the total amount from each one; write them to invoices.xlsx in date order. List the files that couldn't be read separately."

What you get: the README says PDFs are read with text extraction and that Excel files can be written; the result is a new .xlsx file in the folder. Extracting text from scanned (image-only) PDFs isn't described in the docs, so adding "list the ones that couldn't be read" to the prompt is useful.

Analyzing a data file"Analyze sales.csv: show the 10 customers who bought the most and the monthly sales totals."

What you get: the README describes the assistant analyzing the data by running Python, Node.js or R code in memory, without saving a file, and bringing the result into the chat ("Analyze sales.csv and show top customers"). Whether the code it runs depends on that language being installed on your computer isn't separately written in the docs.

For developers: run the tests and fix them"Run the project's tests, find the failing one and fix it. Make each change in small steps and run the tests again at the end."

What you get: the assistant runs the test command in the terminal, reads the output, makes targeted edits with edit_block and runs the test again. The project site shows this job with its "Fix failing tests" example. Commit your project with git before the fix; the changes happen in real files.

The README explains that each file write is limited to 50 lines by default (fileWriteLineLimit) and that this pushes the assistant to work in small pieces; if you want a large file written in one go, you can raise this setting.

How Do You Install Desktop Commander?

The local install needs Node.js 22.12 or later (the package's engines field; the older "Node.js 18" note in the README's FAQ is out of date). The commands are taken from the README. The README's lines use @latest: the newest version arrives when Claude restarts. To pin a version, write the version in place of @latest (current: 0.3.4).

One command (in the terminal)› npx @wonderwhy-er/desktop-commander@latest setup

The command adds a desktop-commander entry to Claude Desktop's configuration; then restart Claude. To uninstall, write remove instead of setup in the same command: it backs up the configuration.

To install by hand, add an entry under mcpServers with command: npx and args: -y @wonderwhy-er/desktop-commander@latest to the claude_desktop_config.json file (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\). The README also describes an install script for macOS, Smithery and Docker routes.

After installing, tell the assistant "what can I do with Desktop Commander, show me examples"; the README says new users are offered starter examples on their own (until their first 10 successful commands). If you don't want that, add --no-onboarding to the setup.

Set These Before You Start: Allowed Folders and the Block List

The settings live in the configuration file; you change them by telling the assistant (get_config, set_config_value) or by editing the file by hand. The project's security document counts these settings as accident guards, not as a security boundary. The README tells you to change settings in a separate chat from the one you work in: when the assistant hits an access block, it can try to change allowedDirectories itself.

SettingDefaultWhat it does
allowedDirectoriesEmpty (the whole file system)Folders the file tools may access. It doesn't limit terminal commands; an empty array opens the whole file system.
blockedCommandsA list including sudo, dd, format, shutdown, reg, net…Commands that won't be run. The docs say it can be bypassed through shell substitution, absolute paths or another interpreter.
telemetryEnabledtrue (on)Telemetry; you turn it off by setting false (see "What does it access").
fileReadLineLimit / fileWriteLineLimit1000 / 50The most lines read and written at once.
defaultShellThe system's shellThe shell used for commands (bash, zsh, powershell…).

The README recommends giving specific folders instead of the whole file system (for example your project folder). For real isolation, SECURITY.md recommends Docker or a virtual machine.

Which Programs Does Desktop Commander Work With?

Claude DesktopYesThe README's main target; a setup command, manual configuration and a file preview panel.
Claude CodeYesThe claude mcp add command and a plugin in the official plugin marketplace.
CodexYesThe codex mcp add command or config.toml.
Cursor, VS Code (GitHub Copilot), Windsurf, Gemini CLIYesThe standard mcpServers setting; the README gives the file path for each.
ChatGPT and claude.ai (web)YesOnly through the remote route (the device program + mcp.desktopcommander.app); needs an account.
Windows, macOS, LinuxYesThe README gives paths and commands for all three; the FAQ says Windows support is still being improved. The docs have no separate statement for Turkish file names or a Turkish interface.

"Not in the docs" doesn't mean it doesn't work. The list was compiled from the client sections in the README.

Is Desktop Commander Free? Local Server and Remote Route Plans

The local server is free, open source and needs no account; there is no monthly limit. The plan distinction exists only on the remote route set up for ChatGPT and claude.ai. Prices are published only in dollars, and VAT is added on top for Pro; there is no Turkish lira price. The README says the tool works with Claude's subscription plan and needs no separate API charges; the assistant's own plan is a separate cost.

Local server$0
  • MIT open source, no account, no monthly limit
  • Claude Desktop, Claude Code, Codex, Cursor, VS Code and other MCP clients
  • A direct connection for ChatGPT and claude.ai
Remote route · Free$0 /month
  • 10,000 tool calls per month
  • ChatGPT, Claude and any MCP client; connecting devices
  • Community support
  • Unlimited calls
Remote route · Pro$20 /month + VAT
  • Unlimited tool calls
  • Everything in Free, priority support
Allowed
  • The MIT license: using, modifying and distributing are allowed; you can use it in commercial work too
Not allowed
  • The software is provided "as is"; there is no warranty and the security of your machines and accounts is your responsibility (SECURITY.md)

Source: desktopcommander.app/pricing and the README (November 22, 2026). Read the remote service's terms yourself before commercial use; this isn't legal advice.

Official pricing page last checked on .

What Does Desktop Commander Access, and What Data Leaves?

Does it access your files

Yes: it reads, writes, edits and moves files; it also reads PDF, Excel and Word contents and URLs (with read_file). If the allowed-folders setting is empty, the file tools see the whole file system; even when it is set, terminal commands can reach outside the folder.

Terminal

It runs any command the assistant asks for with your user permissions; the block list is an accident guard, not a security boundary (SECURITY.md: only Docker or a virtual machine is a boundary).

Telemetry

On by default (PRIVACY.md: "opt-out"). Collected: a random ID, event name, operating system, app and client versions, Node and npm versions, install method, file extension and size, command name (without arguments), error type. It states that file paths, file contents, command arguments and usernames aren't collected. The data goes to Google Analytics 4 and is kept for 14 months. To turn it off, set telemetryEnabled to false in the configuration or ask the assistant to turn it off. When it is installed through npm, an install event (package name, operating system, versions, ID) is also sent; because the install script sends it without checking the telemetryEnabled setting, it can't be turned off before installing.

Logs on your computer

Every tool call is written to the claude_tool_call.log file with the tool name and its arguments; the arguments are recorded unredacted (they can contain command text, file paths or secret values) and the file rotates at 10 MB. Recent calls and their results (up to 4 KiB) also sit in tool-history.jsonl. Location: ~/.claude-server-commander/ (%USERPROFILE%\.claude-server-commander\ on Windows).

Remote route

Commands still run on your computer, but the remote service temporarily stores tool arguments and results to route the calls (terminal rows become eligible for deletion one minute after completion and are cleaned up within an hour at most).

Because this tool lets the assistant run any command in the terminal, text from a file or web page you don't trust can steer it into running commands; give it only the folders you are working in and review the commands on important jobs.

This isn't a security certification. Sources: the README, PRIVACY.md, SECURITY.md and the configuration and install source code (November 22, 2026).

Common Problems and Fixes

What's happeningWhat to do
The tools don't show in Claude after installFully close and restart Claude (the README says to restart after install). If the setup went wrong, npx @wonderwhy-er/desktop-commander@latest remove backs up the configuration and removes the entry.
The install fails on the Node.js versionThe package needs Node.js 22.12 or later; check the version with node -v.
The assistant tries to reach outside the allowed folder and wants to change the settingThe README tells you to change settings in a separate chat from your work chat; don't let the assistant change allowedDirectories on its own.
Reported by users A "fetch failed" error on the remote route, or a tool result not returning to the client (issues #1060, #1056, #1054; open)The items are open. The docs give no separate solution; trying the local route (the setup command for Claude Desktop) takes the connection broker out of the path.
Reported by users Command checking times out at 5 seconds on a long PowerShell script (issue #1061, open)The item is open. The docs give no separate solution.
Reported by users An open item reports that the file preview panel shows a notice text from the content without escaping, which could reach the terminal tool (issue #1075, November 21, 2026)The item is open and unanswered; the docs give no separate solution.

How Do You Uninstall Desktop Commander?

  1. In Claude Desktop: npx @wonderwhy-er/desktop-commander@latest remove. The command backs up Claude's configuration and removes the entry; then restart Claude. By hand: delete the desktop-commander entry from claude_desktop_config.json.
  2. In Claude Code: claude mcp remove desktop-commander.
  3. In other clients: Delete the desktop-commander entry from the configuration file and restart the client.
  4. Remote route: Stop the device program with Ctrl+C in the terminal; to revoke the device's access from your account, see the logout and revocation section in src/remote-device/README.
  5. Logs: Uninstalling doesn't delete the log files; claude_tool_call.log and tool-history.jsonl in the ~/.claude-server-commander/ folder may contain command arguments, and you can delete them by hand.

How Is It Different from Filesystem MCP?

According to the README, Desktop Commander is built on top of the Filesystem MCP server and adds search, find-and-replace editing, terminal commands, process management and Excel, PDF and Word support to it. If you only want to read and write files, the narrower-access Filesystem MCP may be enough; if you want to run commands and process documents, you need Desktop Commander's access, and the risks grow accordingly. There is no ranking of which is better; choose the narrowest access that gets your job done.

Filesystem MCP: gives the assistant only file read and write access

Frequently asked questions

What is Desktop Commander and what is it for?

An open-source MCP server that gives the assistant permission to use your computer's terminal and file system: running commands, process management, searching and editing files, and reading and writing Excel, PDF and Word files.

How do I install Desktop Commander in Claude Desktop?

Run npx @wonderwhy-er/desktop-commander@latest setup in the terminal and restart Claude. Node.js 22.12 or later is required. To uninstall, write remove instead of setup in the same command.

Is Desktop Commander free?

The local server is free, MIT-licensed and needs no account; there is no monthly limit. On the remote route set up for ChatGPT and claude.ai, the Free plan gives 10,000 tool calls a month, and Pro is $20 a month plus VAT and unlimited.

Is Desktop Commander safe?

It gives the assistant permission to run any command in the terminal; the project's security document counts the allowed folders and block list as accident guards and recommends Docker or a virtual machine for real isolation.

Does Desktop Commander collect telemetry, and how do I turn it off?

Yes, on by default. It states that file paths, contents and command arguments aren't collected. Set telemetryEnabled to false in the configuration or ask the assistant to turn it off. The arguments of tool calls are also written, unredacted, to a log file on your computer.

Does Desktop Commander work with ChatGPT and claude.ai?

Yes, through the remote route: you start the device program on your computer with npx @wonderwhy-er/desktop-commander@latest remote, sign in from the browser and connect through mcp.desktopcommander.app. It needs an account; the Free plan has 10,000 calls a month.

Does Desktop Commander work on Windows?

The README gives the configuration path for Windows (%APPDATA%\Claude) and an install script; the FAQ says Windows support is still being improved. The docs have no separate statement for Turkish file names.

Related guides

Sources

Not clear in the official sources: Behavior with Turkish file names and a Turkish interface · text extraction from scanned PDFs · whether running code depends on the language being installed on your computer · Turkish lira pricing. Each is covered in the relevant section along with what you can do.