
Desktop Commander MCP Server
by wonderwhy-erio.github.wonderwhy-er/desktop-commanderv0.3.0
Manage and execute programs, and read, write, search and edit code and text files.
context tax
~9,430 tok/turn25 tools
security
100/100
cold start
495 ms
freshness
Active27d ago
Our reading of Desktop Commander, from the data
Desktop Commander is a ai & llm tools MCP server from wonderwhy-er, listed in the official MCP Registry.
Its 25 tools add about 9,430 tokens to every model turn, heavier than the ai & llm tools median of 1,038 tokens across 276 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 27 days ago (2026-10-14). For comparison, 58% of ai & llm tools servers are active or maintained.
With 10,096 GitHub stars it ranks #9 of 3,169 ai & llm tools servers we index.
It runs locally on your machine over stdio.
Install Desktop Commander MCP server
Install in Claude Code
claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commanderInstall in Cursor
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"desktop-commander": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @wonderwhy-er/desktop-commander
Context tax
Connecting this server adds ~9,430 tokens of tool definitions to every model turn (heavy, 25 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $37.72 | $1.89 |
| Claude Sonnet 5.5 | $18.86 | $1.89 |
| Claude Haiku 5.5 | $0.943 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (25)
start_search1,274 tokStart a streaming search that can return results progressively. SEARCH STRATEGY GUIDE: Choose the right search type based on what the user is looking for: USE searchType="files" WHEN: - User asks for specific files: "find package.json", "locate config files" - Pattern looks like a filename: "*.js", "README.md", "test-*.tsx" - User wants to find files by name/extension: "all Typ
read_file903 tokRead contents from files and URLs. Read PDF files and extract content as markdown and images. Suitable for reading authorized local files directly without starting a shell command. Supports partial file reading with: - 'offset' (start line, default: 0) * Positive: Start from line N (0-based indexing) * Negative: Read last N lines from end (tail behavior)
write_pdf828 tokCreate a new PDF file or modify an existing one. Dedicated PDF creation and modification tool. OUTPUT FILES: - Creating a PDF requires 'outputPath' with a new filename (e.g., "result_01.pdf", "analysis_2025_01.pdf", etc.). MODES: 1. CREATE NEW PDF: - Pass a markdown string as 'content'. write_pdf(path="doc.pdf", content="# Title\n\nBody text...") 2. MODIFY EXISTING PDF:
edit_block821 tokApply surgical edits to files. Small, focused edits are easier to verify than large multi-purpose replacements. old_string can include enough surrounding context to uniquely identify the intended text. FORMAT HANDLING (by extension): EXCEL FILES (.xlsx, .xls, .xlsm) - Range Update mode: Takes: - file_path: Path to the Excel file - range uses FROM:TO format - "SheetName!A1:C10" or "SheetName!C1:C1"
start_process738 tokStart a terminal process on the authorized device with intelligent state detection. Suitable for shell commands, interactive REPL sessions, data-processing scripts, programmatic file analysis, and other long-running terminal work. Running on Linux (Docker). Default shell: /bin/sh. 🐳 DOCKER CONTAINER ENVIRONMENT DETECTED: This Desktop Commander instance is running inside a Docker container. ⚠️ WARNING: No mounted directories detected. Files creat
read_process_output496 tokRead output from a running process with file-like pagination support. Supports partial output reading with offset and length parameters (like read_file): - 'offset' (start line, default: 0) * offset=0: Read NEW output since last read (default, like old behavior) * Positive: Read from absolute line position * Negative: Read last N lines from end (tail behavior) - 'length' (max lines to read, defaul
list_directory466 tokGet a detailed listing of all files and directories in a specified path. Returns a structured directory listing without starting a shell command. Results distinguish between files and directories with [FILE] and [DIR] prefixes. Supports recursive listing with the 'depth' parameter (default: 2): - depth=1: Only direct contents of the directory - depth=2: Contents plus one level of subdirectories
write_filefile write417 tokWrite or append to file contents. PDF creation is handled by the dedicated write_pdf tool. Existing DOCX content can be edited with edit_block. New DOCX files can be created here; markdown headings (#, ##, ###) are converted to styled DOCX paragraphs. CHUNKED WRITES: - Repeated calls with mode='rewrite' followed by mode='append' are supported for longer files. - Chunks of roughly 25-30 lines minimize latency when writing long text, multiple files, d
interact_with_process412 tokSend input to an existing terminal or REPL process and return newly available output. Useful for interactive shells, Python/Node/R/Julia REPLs, database consoles, and long-running commands started with start_process(). Examples: - Interactive Python REPL sessions can be started with `python3 -i`. - Existing interactive sessions accept additional input such as imports or analysis commands.
get_more_search_results342 tokGet more results from an active search with offset-based pagination. Supports partial result reading with: - 'offset' (start result index, default: 0) * Positive: Start from result N (0-based indexing) * Negative: Read last N results from end (tail behavior) - 'length' (max results to read, default: 100) * Used with positive offsets for range reading * Ignored when offset
set_config_value290 tokSet a specific configuration value by key. Security note: configuration changes affect later file and command behavior. Isolating them from untrusted file or command content reduces the chance that external content influences configuration. Config keys include: - blockedCommands (array) - defaultShell (string) - allowedDirectories (array of paths) - fileR
get_file_info247 tokRetrieve detailed metadata about a file or directory including: - size - creation time - last modified time - permissions - type - lineCount (for text files) - lastLine (zero-indexed number of last line, for text files) - appendPosition (line number for appending, for text files) - sheets (for Excel files - array of {name, rowCount, colCount})
get_recent_tool_calls242 tokGet recent local tool call history with arguments and outputs. Returns a chronological list of recent calls loaded from the local history file. Useful for: - Onboarding new chats about work already done - Recovering context after chat history loss - Debugging tool call sequences Note: Does not track its own calls or track_ui_event. History is persisted lo
get_config232 tokGet the complete server configuration as JSON. Config includes fields for: - blockedCommands (array of blocked shell commands) - defaultShell (shell to use for commands) - allowedDirectories (paths the server can access) - fileReadLineLimit (max lines for read_file, default 1000) - fileWriteLineLimit (max lines per write_file call, default 50) - telemetryEnabled (boolean for telemetry opt-in/out) - curre
read_multiple_files226 tokRead the contents of multiple files simultaneously. Each file's content is returned with its path as a reference. Handles text files normally and renders images as viewable content. Recognized image types: PNG, JPEG, GIF, WebP. Failed reads for individual files won't stop the entire operation. Only works within allowed directories. Absolute paths are the
move_filefile write185 tokMove or rename files and directories. Can move files between directories and rename them in a single operation. Both source and destination must be within allowed directories. Absolute paths are the most reliable because they do not depend on the current working directory. Paths are automatically normalized regardless of slash direction. Relative paths depend on the current working directory, and tilde paths (~/...) may not resolve in every context.
give_feedback_to_desktop_commander175 tokOpen feedback form in browser to provide feedback about Desktop Commander. The form itself collects survey answers; this tool does not accept survey responses or pre-fill them. It automatically includes basic usage metadata: - tool_call_count: Number of commands made - days_using: Number of days Desktop Commander has been used - platform: Operating system (Mac/Windows/Linux) - client_id: Analytics ident
create_directoryfile write171 tokCreate a new directory or ensure a directory exists. Can create multiple nested directories in one operation. Only works within allowed directories. Absolute paths are the most reliable because they do not depend on the current working directory. Paths are automatically normalized regardless of slash direction. Relative paths depend on the current working directory, and tilde paths (~/...) may not resolve in every context. Absolute paths are general
list_sessions171 tokList all active terminal sessions. Shows session status including: - PID: Process identifier - Blocked: Whether session is waiting for input - Runtime: How long the session has been running DEBUGGING REPLs: - "Blocked: true" often means REPL is waiting for input - Use this to verify sessions are running before sending input - Lon
stop_search156 tokStop an active search. Stops the background search process gracefully. Use this when you've found what you need or if a search is taking too long. Similar to force_terminate for terminal processes. The search will still be available for reading final results until it's automatically cleaned up after 5 minutes. This command can be referenced as "DC: ..."
list_searches114 tokList all active searches. Shows search IDs, search types, patterns, status, and runtime. Similar to list_sessions for terminal processes. Useful for managing multiple concurrent searches. This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.
kill_process102 tokTerminate a running process by PID. Use with caution as this will forcefully terminate the specified process. This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.
get_usage_stats99 tokGet usage statistics for debugging and analysis. Returns summary of tool usage, success/failure rates, and performance metrics. This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.
list_processes97 tokList all running processes. Returns process information including PID, command name, CPU usage, and memory usage. This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.
force_terminate88 tokForce terminate a running terminal session. This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-14 · 27d ago · GitHub
Latest release
2026-10-13 · 28d ago · GitHub · v0.3.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-13 · 28d ago · official registry · v0.3.0
How it compares in AI & LLM Tools
Against the most-starred ai & llm tools servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Desktop Commander (this) | 10,096 | 25 | 9,430 | Active | local |
| Memory | 91,356 | 9 | 949 | Active | local |
| Claude Flow | 76,638 | — | not measured | Active | local |
| Next AI Draw.io | 36,318 | 16 | 4,856 | Active | local |
| Serena Agent | 30,371 | — | not measured | Active | local |
| Cua | 30,160 | — | not measured | Active | — |
FAQ
›How do I install the Desktop Commander MCP server in Claude Code?
Run: claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Desktop Commander require an API key?
No required environment variables are declared in its published metadata.
›Can I use Desktop Commander as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Desktop Commander in the official MCP registry?
Yes, as io.github.wonderwhy-er/desktop-commander.
›How many tokens does Desktop Commander add to my context?
Its tool definitions total about 9,430 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-10-13
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Desktop Commander
Other ai & llm tools MCP servers.