Execute terminal commands and edit files with Claude AI. Terminal commands and diff based file editing for Claude Desktop app.
Desktop Commander MCP provides powerful tools for terminal and file operations
Execute terminal commands with output streaming directly from Claude Desktop app.
Support for command timeout and background execution for extended operations.
List and kill processes directly through Claude's interface.
Complete filesystem access to read, write, create, list, move files and directories.
Surgical text replacements for small changes and full file rewrites for major modifications.
Search through files with pattern matching and get detailed file metadata.
Getting started with Desktop Commander MCP is quick and easy
There are multiple options how to install DesktopCommanderMCP
Install automatically via Smithery:
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
Install using npx directly:
npx @wonderwhy-er/desktop-commander setup
Add this to your claude_desktop_config.json:
{ "mcpServers": { "desktop-commander": { "command": "npx", "args": [ "-y", "@wonderwhy-er/desktop-commander" ] } } }
Clone and build locally:
git clone https://github.com/wonderwhy-er/ClaudeComputerCommander.git cd ClaudeComputerCommander npm run setup
Remember to restart Claude after installation.
Desktop Commander MCP provides powerful terminal commands and file operations for Claude AI
For full documentation and advanced usage examples, visit our GitHub repository.
Connect with other users and contributors to share ideas, get help, and contribute to the project.
See what developers are saying about Desktop Commander MCP
Find answers to common questions about Desktop Commander MCP
Claude Desktop Commander is an MCP (Model Context Protocol) tool that allows Claude Desktop to access and control your computer's file system and terminal. It enables Claude to explore, read, and write files, execute commands, and manage processes - expanding Claude's capabilities beyond just conversation to become a comprehensive assistant that can work with your entire operating system.
Unlike tools like Cursor or Windsurf which are primarily designed as coding IDEs, Claude Desktop Commander works with Claude to provide a more flexible, solution-centric approach. Key differences include:
Claude Desktop Commander itself is free and open-source. However, to use it, you need a Claude Pro subscription, which costs $20/month. There are no additional charges beyond this subscription fee, unlike Claude Code or other API-based tools that charge per token.
Claude Desktop Commander works with Windows, macOS, and Linux. Work is ongoing to improve Windows support, WSL integration, and enhance compatibility with various Linux distributions.
Claude Desktop Commander operates within certain safety boundaries:
Command blocking features are still in development. You should always review the actions Claude proposes before allowing it to make system changes, especially when working with important files or system configurations.
Yes, users have reported success with very large codebases (one user mentioned 44k files with 11 million code lines). The tool can work across multiple projects and services simultaneously, making it suitable for complex development environments.
Join our Discord server for community support, check the GitHub issues for known problems, or review our comprehensive FAQ for troubleshooting tips. If you encounter a new issue, please consider opening a GitHub issue with details about your problem.
Tools like Cline are great options that integrate directly with VSCode. The main differences are:
Many users employ both, using the right tool for different tasks.
Help us improve our FAQ by suggesting new questions or improvements.
Join our Discord community for real-time support, discussions, and updates.
Join our Discord Server