Agent Verify

Is @wonderwhy-er/desktop-commander safe?

MCP server for terminal operations and file editing

Broad accessVersion 0.3.1 · checked November 2, 2026

This server can run commands on your computer. An agent that is tricked could use it to do almost anything you can.

Why: can run shell commands on your computer.

What it can do

  • Runs shell commands
  • Writes or deletes files
  • Reads files
  • Controls a web browser
  • Calls internet services

Tools it offers your AI (25):

  • get_config
  • set_config_value
  • read_file
  • read_multiple_files
  • write_file
  • write_pdf
  • create_directory
  • list_directory
  • move_file
  • start_search
  • get_more_search_results
  • stop_search
  • list_searches
  • get_file_info
  • edit_block
  • start_process
  • read_process_output
  • interact_with_process
  • force_terminate
  • list_sessions
  • list_processes
  • kill_process
  • get_usage_stats
  • get_recent_tool_calls
  • give_feedback_to_desktop_commander

How to use it safely

  • ✓ Run it in a container or VM, and keep "approve each tool call" turned on.
  • ✓ Point it at one project folder, never your home directory or a whole drive.
  • ✓ Only give it the folders it needs; files it reads can end up in the AI’s context.
  • ✓ Use a separate browser profile without your logged-in accounts.
  • ✓ Content it fetches from the internet can carry prompt-injection instructions.
  • ✓ Pin the version (below) so an update can't change what it does without you noticing.

Code patterns worth reviewing

Automated pattern matches in the published package. Some are expected for this kind of server, and some may be false positives — they are pointers for review, not confirmed vulnerabilities.

  • Command injection risk

    The agent appears to pass input into a shell or command execution path.

    dist/setup-claude-server.js:8

  • Sensitive values written to logs

    A log or print statement includes a field named like a password, key, token, or personal identifier.

    dist/remote-device/device-authenticator.js:98

Install it pinned

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

Source · npm · MIT license · 640,833 downloads last week

Check your whole MCP setup

Agent Verify checks the servers in your Claude, Cursor and VS Code config — including whole-drive access and keys stored in plain text.

Check my setup free

Maintain @wonderwhy-er/desktop-commander?

Show users you've thought about access: add the badge below. If something here is wrong or you've released a fix, ask for a re-scan — we update pages on request.

[![Agent Verify: Broad access](https://img.shields.io/badge/Agent%20Verify-Broad%20access-red)](https://aimodularity.com/agentverify/mcp/wonderwhy-er-desktop-commander/)

Agent Verify reads the package published on npm as text — it is never installed or run. Ratings describe capability, not intent, and are an automated, evidence-based check, not a guarantee. Scanner 2.0.0.