Desktop Commander MCP
JSON →Execute terminal commands and edit local files on your desktop.
Install
npx -y @wonderwhy-er/desktop-commander@latest Tools · 25
- get_config Get the complete server configuration as JSON (includes blockedCommands, defaultShell, allowedDirectories, fileReadLineLimit, fileWriteLineLimit, telemetryEnabled)
- set_config_value Set a specific configuration value by key. Available settings: blockedCommands, defaultShell, allowedDirectories, fileReadLineLimit, fileWriteLineLimit, telemetryEnabled
- start_process Start programs with smart detection of when they're ready for input
- interact_with_process Send commands to running programs and get responses
- read_process_output Read output from running processes
- force_terminate Force terminate a running terminal session
- list_sessions List all active terminal sessions
- list_processes List all running processes with detailed information
- kill_process Terminate a running process by PID
- read_file Read contents from local filesystem, URLs, Excel files (.xlsx, .xls, .xlsm), and PDFs with line/page-based pagination
- read_multiple_files Read multiple files simultaneously
- write_file Write file contents with options for rewrite or append mode. Supports Excel files (JSON 2D array format). For PDFs, use write_pdf
- write_pdf Create new PDF files from markdown or modify existing PDFs (insert/delete pages). Supports HTML/CSS styling and SVG graphics
- create_directory Create a new directory or ensure it exists
- list_directory Get detailed recursive listing of files and directories (supports depth parameter, default depth=2)
- move_file Move or rename files and directories
- start_search Start streaming search for files by name or content patterns (searches text files and Excel content)
- get_more_search_results Get paginated results from active search with offset support
- stop_search Stop an active search gracefully
- list_searches List all active search sessions
- get_file_info Retrieve detailed metadata about a file or directory (includes sheet info for Excel files)
- edit_block Apply targeted text replacements for text files, or range-based cell updates for Excel files
- get_usage_stats Get usage statistics for your own insight
- get_recent_tool_calls Get recent tool call history with arguments and outputs for debugging and context recovery
- give_feedback_to_desktop_commander Open feedback form in browser to provide feedback to Desktop Commander Team
Links
★ 6,083 GitHub stars