About Desktop Commander MCP Server
The Desktop Commander MCP Server is an open-source utility server that integrates with the Claude desktop application, enabling it to execute terminal commands, manage processes, and perform file system operations through the Model Context Protocol (MCP). This integration allows AI assistants to interact seamlessly with the local machine's environment, facilitating tasks such as code editing, file management, and process automation. Key features include:
- Terminal Command Execution: Supports running terminal commands with output streaming, configurable timeouts, and background execution capabilities.
- Process Management: Enables listing and termination of active processes, providing control over system operations.
- File System Operations: Offers comprehensive file and directory management, including reading, writing, moving, and deleting files, as well as creating and listing directories.
- Code Editing: Facilitates surgical text replacements and full file rewrites, supporting both minor edits and major code modifications.
- Search Functionality: Provides recursive code or text search within directories using vscode-ripgrep, enhancing the ability to locate specific content.
- Session Management: Manages sessions for long-running commands, allowing for asynchronous operations and output retrieval.
- Security Controls: Allows configuration of command blacklists and directory access permissions to ensure safe operation.
Designed for local operation, the server requires Node.js (version 18 or higher) and integrates directly with the Claude desktop application. It is actively maintained as an open-source project.