Atlas / MCP servers / wonderwhy-er / Desktop Commander MCP

Desktop Commander MCPBLOCK

mcp/wonderwhy-er/desktopcommandermcp

This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

Verdict
BLOCK
Grade
F
Trust score
53 /100
Exposed tools
11 6r · 3w · 2d
Transport
stdio
License
MIT
Stars
10,003
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Search, update, manage files and run terminal commands with AI

[](https://www.npmjs.com/package/@wonderwhy-er/desktop-commander) [](https://agentaudit.dev/skills/desktop-commander) [](https://archestra.ai/mcp-catalog/wonderwhy-er__desktopcommandermcp) [](https://smithery.ai/server/@wonderwhy-er/desktop-commander) [](https://www.buymeacoffee.com/wonderwhyer)

[](https://discord.gg/kQ27sNnZr7)

Work with code and text, run processes, and automate tasks, going far beyond other AI editors - while using host client subscriptions instead of API token costs.

Table of Contents

  • Features
  • How to install
  • Getting Started
  • Usage
  • File Preview UI & Markdown Editor
  • Handling Long-Running Commands
  • Work in Progress and TODOs
  • Sponsors and Supporters
  • Website
  • Media
  • Testimonials
  • Frequently Asked Questions
  • Contributing
  • License

All of your AI development tools in one place. Desktop Commander puts all dev tools in one chat. Execute long-running terminal commands on your comp

Read from source at commit 1bae3949bca1OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (npm)
claude mcp add desktop-commander -- npx -y @wonderwhy-er/[email protected]
03

Exposed tools (11)

6 read · 3 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
force_terminatedestructiveForce terminate a running terminal session. ${CMD_PREFIX_DESCRIPTION}
get_more_search_resultsreadGet more results from an active search with offset-based pagination. Supports partial result reading with: -
get_usage_statsreadGet usage statistics for debugging and analysis. Returns summary of tool usage, success/failure rates, and performance metrics. ${CMD_PREFIX_DESCRIPTION}
kill_processdestructiveTerminate a running process by PID. Use with caution as this will forcefully terminate the specified process. ${CMD_PREFIX_DESCRIPTION}
list_directoryreadGet a detailed listing of all files and directories in a specified path. Use this instead of
list_processesreadList all running processes. Returns process information including PID, command name, CPU usage, and memory usage. ${CMD_PREFIX_DESCRIPTION}
read_multiple_filesreadRead the contents of multiple files simultaneously. Each file
read_process_outputreadRead output from a running process with file-like pagination support. Supports partial output reading with offset and length parameters (like read_file): -
stop_searchwriteStop an active search. Stops the background search process gracefully. Use this when you
write_filewriteWrite or append to file contents. IMPORTANT: DO NOT use this tool to create PDF files. Use
write_pdfwriteCreate a new PDF file or modify an existing one. THIS IS THE ONLY TOOL FOR CREATING AND MODIFYING PDF FILES. RULES ABOUT FILENAMES: - When creating a new PDF,
04

Trust audit

BLOCKgrade F · trust 53/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryFAIL
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (16 observation(s))
Network
declared (5 observation(s))
Shell
declared (10 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

HIGHInventory / provenance · inv.suspicious_name · CWE-1104
src/ui/file-preview/src/payload-utils.ts
payload-utils.ts
Why it matters. member named after an attack tool
Fix. remove or justify
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/publish-release.cjs:70
return exec(command, { silent: true, ...options });
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/publish-release.cjs:291
exec(command);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/publish-release.cjs:329
exec(`git tag -f ${tag}`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/publish-release.cjs:330
exec(`git push -f origin ${tag}`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/publish-release.cjs:413
exec(options.skipTests ? 'npm run build' : 'npm test');
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
scripts/count-tokens.js:104
console.log(`${colors.cyan}🔢 Desktop Commander MCP — Token Counter${colors.reset}`);
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/remote-device/diagnostics/device-log.ts:86
const LEADING = /^(?:\s|\[DEBUG\]|[-–•→✓✗]|\p{Extended_Pictographic}|️|)+/u;
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
force_terminate, kill_process
Why it matters. 2 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.codespellrc
.codespellrc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
test/test-remote-token-rotation-persisted.js:285
console.log(`\n${failures ? '🔴' : '✅'} remote token rotation persistence: ${failures} failing test(s).`);
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/remote-device/desktop-commander-integration.ts:260
const devPath = path.resolve(__dirname, '../../dist/index.js');
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/remote-device/diagnostics/device-log.ts:5
import { VERSION } from '../../version.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/remote-device/diagnostics/report.ts:11
import { parseConfig } from '../../config-manager.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/remote-device/diagnostics/report.ts:12
import { VERSION } from '../../version.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/remote-device/scripts/blocking-offline-update.js:27
const { exitProcess, EXIT_GRACE_MS } = await import('../../utils/exit-process.js')
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
plugins/claude/skills/ai-tools-setup/references/openclaw.md:26
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
plugins/cursor/skills/ai-tools-setup/references/openclaw.md:26
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
skills/ai-tools-setup/references/openclaw.md:26
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/helpers/remote-stand-in.js:366
standIn.url = `http://127.0.0.1:${server.address().port}`;
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/helpers/test-env.js:27
DC_FLAG_URL: process.env.DC_FLAG_URL ?? 'http://127.0.0.1:9/',
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
test/large_test_file.txt:1
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @opendocsg/pdf2md, @supabase/supabase-js, @tiptap/core, @tiptap/extension-image, @tiptap/extension-table, @tiptap/extension-table-cell, @tiptap/extension-table-header
Why it matters. 49 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
1080_60.mp4
1080_60.mp4
Why it matters. 52231190 bytes not read
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
plugins/claude/skills/terminal/SKILL.md:39
- `allowedDirectories` — `[]` means full access; otherwise commands/paths are

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 1bae3949bca1full audit observations/trust-audit/mcp-server/wonderwhy-er__desktopcommandermcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-121bae3949bca1BLOCKF53first audit
06

Questions

What is the @wonderwhy-er/desktop-commander MCP server?

This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

What tools does @wonderwhy-er/desktop-commander expose?

11 in total: 6 read-only, 3 that write, and 2 that can delete or overwrite (force_terminate, kill_process). Every one is listed on this page with its risk.

Is @wonderwhy-er/desktop-commander safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (53/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does @wonderwhy-er/desktop-commander need?

No credential environment variables were found in its source, so it appears to need none.

How does @wonderwhy-er/desktop-commander run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @desktop-commander/telemetry-contract at 0.1.1.

How current is this page?

The grade is for one exact copy of the source (1bae3949bca1), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement