DesktopCommanderMCP
CautionA swiss-army-knife that can manage/execute programs and read/write/search/edit code and text files.
Install
Claude Code
claude mcp add desktopcommandermcp -- npx -y desktop-commanderSafety Report
details
No API authentication required; relies on Claude Desktop subscription. No token or key validation for tool access.
details
Runs as a local stdio MCP server; no HTTP endpoints exposed, CORS not applicable.
details
No built-in rate limiting on terminal commands or file operations.
details
No known CVEs at time of review. Project is actively maintained with regular releases.
details
Published on npm as @wonderwhy-er/desktop-commander. Dependency audit status not publicly documented.
details
No dangerous code patterns detected
details
MIT license.
details
Open source on GitHub. Code is publicly auditable.
details
Actively maintained; regular commits and npm releases. Community-driven with telemetry and audit logging.
Compatibility
Tools Provided (25)
get_config Retrieves complete server configuration including blocked commands and allowed directories.
set_config_value Updates specific config values such as shell, allowed directories, or limits.
start_process Initiates programs or terminal commands with ready-state detection.
interact_with_process Sends input to running processes and receives responses.
read_process_output Retrieves buffered output from an active terminal session.
force_terminate Forcefully stops a running terminal session by session ID.
list_sessions Lists all currently active terminal sessions.
list_processes Displays all running OS processes with details.
kill_process Terminates a process by its PID.
read_file Reads local files, URLs, Excel files, and PDFs with optional pagination.
read_multiple_files Reads several files simultaneously.
write_file Creates or modifies files; supports Excel.
write_pdf Generates or edits PDF documents.
create_directory Creates new directories on the filesystem.
list_directory Returns recursive file and folder listings.
move_file Moves or renames files and directories.
start_search Begins a streaming file content or filename search.
get_more_search_results Paginates through results of an ongoing search.
stop_search Halts an active search session.
list_searches Shows all currently running search sessions.
get_file_info Retrieves metadata for a file or directory.
edit_block Applies targeted text replacements or Excel cell updates to a file.
get_usage_stats Returns usage statistics for the server.
get_recent_tool_calls Returns historical tool call data for debugging purposes.
give_feedback_to_desktop_commander Submits feedback about the tool.
Frequently Asked Questions
What is DesktopCommanderMCP?
A swiss-army-knife that can manage/execute programs and read/write/search/edit code and text files.
What tools does DesktopCommanderMCP provide?
DesktopCommanderMCP provides 25 tools including get_config, set_config_value, start_process, interact_with_process. Each tool can be called by AI agents to perform specific operations.
Is DesktopCommanderMCP safe to use?
DesktopCommanderMCP is rated Caution. Some security checks raised warnings. Review the safety report on this page for details before use.
What are alternatives to DesktopCommanderMCP?
Similar MCP servers include Serena, MCP Run Python, Container Use. Each serves a similar purpose but may differ in features, language, and compatibility.
Similar MCP Servers
Serena
CautionA fully-featured coding agent that relies on symbolic code operations by using language servers.
MCP Run Python
CautionRun Python code in a secure sandbox via MCP tool calls
Container Use
UntestedContainerized environments for coding agents. Multiple agents can work independently, isolated in fresh containers and git branches. No conflicts, many experiments. Full execution history, terminal access to agent environments, git workflow. Any agent/model/infra stack.