Skip to main content

Desktop Commander

⚙️ Developer Tools

Terminal control, file system operations, and diff-based file editing for AI agents. Process management, Excel/PDF/DOCX file handling, code execution in memory, and configurable access controls with blocked commands and allowed directories.

Tags

terminalfilesdiff editing

Tools (21)

start_processinteract_with_processread_process_outputforce_terminatelist_sessionslist_processeskill_processread_fileread_multiple_fileswrite_filewrite_pdfcreate_directorylist_directorymove_filestart_searchget_more_search_resultsstop_searchget_file_infoedit_blockget_configset_config_value

Client configuration

Cursor (.cursor/mcp.json)

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

VS Code (.vscode/mcp.json)

{ "servers": { "desktop-commander": { "command": "npx", "args": [ "-y", "@wonderwhy-er/desktop-commander@0.2.47" ], "type": "stdio" } } }

Replace the placeholders before connecting. Authorize in your client when prompted.

The Cursor JSON also works in Claude Desktop's local MCP configuration. Install the required runtime and local software first.

Documentation →