$git clone https://github.com/wonderwhy-er/DesktopCommanderMCPWork with code and text, run processes, and automate tasks, going far beyond other AI editors - while using host client subscriptions instead of API token costs.
| 1 | # Desktop Commander MCP |
| 2 | ### Search, update, manage files and run terminal commands with AI |
| 3 | |
| 4 | [](https://www.npmjs.com/package/@wonderwhy-er/desktop-commander) |
| 5 | [](https://agentaudit.dev/skills/desktop-commander) |
| 6 | [](https://archestra.ai/mcp-catalog/wonderwhy-er__desktopcommandermcp) |
| 7 | [](https://smithery.ai/server/@wonderwhy-er/desktop-commander) |
| 8 | [](https://www.buymeacoffee.com/wonderwhyer) |
| 9 | |
| 10 | |
| 11 | [](https://discord.gg/kQ27sNnZr7) |
| 12 | |
| 13 | |
| 14 | Work with code and text, run processes, and automate tasks, going far beyond other AI editors - while using host client subscriptions instead of API token costs. |
| 15 | |
| 16 | <a href="https://glama.ai/mcp/servers/zempur9oh4"> |
| 17 | <img width="380" height="200" src="https://glama.ai/mcp/servers/zempur9oh4/badge" alt="Desktop Commander MCP" /> |
| 18 | </a> |
| 19 | |
| 20 | ## 🖥️ Try the Desktop Commander App (Beta) |
| 21 | |
| 22 | **Want a better experience?** The Desktop Commander App gives you everything the MCP server does, plus: |
| 23 | |
| 24 | - **Use any AI model** — Claude, GPT-4.5, Gemini 2.5, or any model you prefer |
| 25 | - **See file changes live** — visual file previews as AI edits your files |
| 26 | - **Add custom MCPs and context** — extend with your own tools, no config files |
| 27 | - **Coming soon** — skills system, dictation, background scheduled tasks, and more |
| 28 | |
| 29 | **👉 [Download the App](https://desktopcommander.app/#download)** (macOS & Windows) |
| 30 | |
| 31 | > The MCP server below still works great with Claude Desktop and other MCP clients — the app is for those who want a dedicated, polished experience. |
| 32 | |
| 33 | ## Table of Contents |
| 34 | - [Features](#features) |
| 35 | - [How to install](#how-to-install) |
| 36 | - [Getting Started](#getting-started) |
| 37 | - [Usage](#usage) |
| 38 | - [File Preview UI & Markdown Editor](#file-preview-ui--markdown-editor) |
| 39 | - [Handling Long-Running Commands](#handling-long-running-commands) |
| 40 | - [Work in Progress and TODOs](#roadmap) |
| 41 | - [Sponsors and Supporters](#support-desktop-commander) |
| 42 | - [Website](#website) |
| 43 | - [Media](#media) |
| 44 | - [Testimonials](#testimonials) |
| 45 | - [Frequently Asked Questions](#frequently-asked-questions) |
| 46 | - [Contributing](#contributing) |
| 47 | - [License](#license) |
| 48 | |
| 49 | All of your AI development tools in one place. |
| 50 | Desktop Commander puts all dev tools in one chat. |
| 51 | Execute long-running terminal commands on your computer and manage processes through Model Context Protocol (MCP). Built on top of [MCP Filesystem Server](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem) to provide additional search and replace file editing capabilities. |
| 52 | |
| 53 | ## Features |
| 54 | |
| 55 | - **Remote AI Control** - Use Desktop Commander from ChatGPT, Claude web, and other AI services via [Remote MCP](https://mcp.desktopcommander.app) |
| 56 | - **File Preview UI** - Visual file previews in Claude Desktop with rendered markdown, inline images, expandable content, built-in markdown editor, and quick "Open in folder" access |
| 57 | - **Enhanced terminal commands with interactive process control** |
| 58 | - **Execute code in memory (Python, Node.js, R) without saving files** |
| 59 | - **Instant data analysis - just ask to analyze CSV/JSON/Excel files** |
| 60 | - **Native Excel file support** - Read, write, edit, and search Excel files (.xlsx, .xls, .xlsm) without external tools |
| 61 | - **PDF support** - Read PDFs with text extraction, create new PDFs from markdown, modify existing PDFs |
| 62 | - **DOCX support** - Read, create, edit, and search Word documents (.docx) with surgical XML editing and markdown-to-DOCX conversion |
| 63 | - **Interact with running processes (SSH, databases, development servers)** |
| 64 | - Execute terminal commands with output streaming |
| 65 | - Command timeout a |