DesktopCommanderMCP
Desktop Commander MCP is a tool that allows users to search, update, manage files, and run terminal commands using AI, without incurring API token costs.
Desktop Commander MCP is a powerful tool designed to enhance the capabilities of Claude Desktop by integrating Model Context Protocol (MCP) functionalities. It allows users to execute terminal commands, manage processes, and perform comprehensive file system operations directly from Claude Desktop. Built on top of the MCP Filesystem Server, it extends the functionality to include search and replace file editing capabilities. This tool is particularly useful for developers looking to automate tasks, manage codebases, and execute long-running terminal commands without incurring additional API token costs. With features like session management, server configuration management, and comprehensive audit logging, Desktop Commander MCP provides a robust environment for developers to streamline their workflows. It supports various installation methods, including npx, bash script, and manual configuration, ensuring flexibility across different platforms.
Features
- Execute terminal commands with output streaming
- Process management (list and kill processes)
- Full filesystem operations (read/write files, create/list directories)
- Code editing capabilities with search/replace blocks
- Comprehensive audit logging with log rotation
Usage with Different Platforms
npx_installation
npx @wonderwhy-er/desktop-commander@latest setup
bash_script_installation
curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash
smithery_installation
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
manual_configuration
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}
Frequently Asked Questions
What is Desktop Commander?
It's an MCP tool that enables Claude Desktop to access your file system and terminal, turning Claude into a versatile assistant for coding, automation, codebase exploration, and more.
How is this different from Cursor/Windsurf?
Unlike IDE-focused tools, Claude Desktop Commander provides a solution-centric approach that works with your entire OS, not just within a coding environment.
Do I need to pay for API credits?
No. This tool works with Claude Desktop's standard Pro subscription, not with API calls, so you won't incur additional costs beyond the subscription fee.
Does Desktop Commander automatically update?
Yes, when installed through npx or Smithery, Desktop Commander automatically updates to the latest version when you restart Claude.
What are the most common use cases?
Exploring and understanding complex codebases, generating diagrams and documentation, automating tasks across your system, and making surgical code changes with precise control.
Related MCP Servers
View all file_systems servers →Filesystem MCP Server
by modelcontextprotocol
Node.js server implementing Model Context Protocol (MCP) for filesystem operations.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
edgeone-pages-mcp
by TencentEdgeOne
An MCP service for deploying HTML content, folder, and zip file to EdgeOne Pages and obtaining a publicly accessible URL.
mcp-obsidian
by MarkusPfundstein
MCP server to interact with Obsidian via the Local REST API community plugin.
excel-mcp-server
by haris-musa
A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed.
mcp-obsidian
by smithery-ai
The Obsidian Model Context Protocol (MCP) is a connector that allows Claude Desktop or any MCP client to read and search directories containing Markdown notes, such as an Obsidian vault.
obsidian-mcp
by StevenStavrakis
Obsidian MCP Server is a Model Context Protocol server that allows AI assistants to interact with Obsidian vaults, providing tools for managing notes and tags.