Desktop Commander MCP is an advanced Model Context Protocol server designed to extend AI assistants with direct control over a user’s local machine, including the file system and terminal. It integrates with clients like Claude Desktop to enable AI-driven workflows such as editing files, executing commands, and automating development tasks from a single conversational interface. Desktop Commander MCP builds on top of an MCP filesystem server and enhances it with powerful search, replace, and code editing capabilities tailored for real-world development environments. It allows users to run terminal commands with streaming output, manage long-running processes, and even execute code in memory without saving files. It also supports working with structured and document formats such as Excel, PDF, and DOCX, enabling AI to read, modify, and generate these files directly.
Features
- Execute terminal commands with streaming output and process control
- Full filesystem access including read, write, search, and directory management
- Advanced code editing with pattern-based search and replacements
- Native support for Excel, PDF, and DOCX file operations
- Run code in memory using languages like Python, Node.js, and R
- Audit logging and security protections such as sandboxing and command restrictions