Catalog → Desktop Commander

Desktop Commander

by wonderwhy-er

Ready0.3.3

Give your AI shell access -- bash/zsh on macOS/Linux, PowerShell/cmd on Windows -- plus file read/edit tools, behind a command blocklist, directory allowlist, and audit log you configure below. That's a policy layer, not a sandbox: it can be bypassed via symlinks/subshells, and the AI can loosen it at runtime via set_config_value. Community MCP by wonderwhy-er (Desktop Commander); we write your config to ~/.claude-server-commander/config.json (%USERPROFILE% on Windows) -- edit it directly if it doesn't take effect.

Capabilities
executereadwrite
Categories
DevelopmentDevOps
Configuration
Desktop Commander config
JSON

Written to ~/.claude-server-commander/config.json (%USERPROFILE% on Windows) before each spawn -- once set, this field is the file's source of truth and hand-edits get overwritten on the next spawn. Pre-filled with a safer starting point below; replace the allowedDirectories placeholder with your real exposed-folder path before saving. You can also add `defaultShell` to pick a specific shell instead of the OS-detected default.

Default template
{
  "allowedDirectories": ["<path to your exposed folder>"],
  "blockedCommands": [
    "mkfs", "format", "mount", "umount", "fdisk", "dd", "parted", "diskpart",
    "sudo", "su", "passwd", "adduser", "useradd", "usermod", "groupadd", "chsh", "visudo",
    "shutdown", "reboot", "halt", "poweroff", "init",
    "iptables", "firewall", "netsh", "sfc", "bcdedit", "reg", "net", "sc", "runas", "cipher", "takeown"
  ],
  "fileReadLineLimit": 1000,
  "fileWriteLineLimit": 50,
  "telemetryEnabled": false
}

This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.

Extra environment variables
Env vars

One KEY=VALUE per line, set as extra environment variables on the spawned process. Desktop Commander reads two real ones -- a telemetry kill-switch and a performance tuning knob -- see the commented examples below.

Default template
# Confirmed against the real v0.3.3 source (src/utils/capture.ts, src/bootstrap.ts) -- these are
# the two env vars Desktop Commander actually reads.

# Hard kill-switch for telemetry, independent of the telemetryEnabled key above -- stays off
# even if the AI later flips telemetryEnabled back on via its own set_config_value tool.
# Accepts 1/true/yes/on.
# DESKTOP_COMMANDER_DISABLE_TELEMETRY=1

# libuv thread-pool size for file read/write/search ops. Desktop Commander already raises this
# to 16 itself if unset (Node's own default is 4) -- only raise further under heavy parallel
# load (many agents hitting a slow or cloud-synced filesystem at once).
# UV_THREADPOOL_SIZE=16

This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.

Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
NPX Preferred
npx -y @wonderwhy-er/[email protected]

Are you sure?

Configure connector

Fill in your settings, then Save.

Help test this connector

Record a short screen-capture that shows the connector working (or failing) end-to-end. Approved submissions earn you Pro-equivalent limits on this specific connector for as long as your account exists.

YouTube, Loom, Vimeo, or Google Drive links are accepted. Unlisted / private links are fine as long as our admin can open them.

Cookie preferences

Choose which categories of cookies we may use. You can change this any time via the footer link.

Essential

Session cookie that keeps you signed in. Required for the site to function.

Always on