Desktop CommanderMCP Server

Give Claude, ChatGPT and other AI assistants direct access to your file system, terminal, and development tools.

Desktop CommanderDesktop CommanderLocal and remote MCP
Your files
Your terminal
Your processes

Two ways to run it

On your machine in a desktop client, or from anywhere through the web.

Most popular

Local MCP

Runs directly on your machine. Free & open source.

  • Works with Claude Desktop, Cursor, Windsurf, and any MCP client
  • One-command install, everything stays on your computer
  • 325k+ weekly downloads
Install locally
New

Remote MCP

Use Desktop Commander from web AI clients — ChatGPT, Claude web, and more.

  • Connect one or more of your devices remotely
  • Work with real files, terminal, and processes on your machine
  • Control your computer from your phone or any browser
Set up Remote MCP

More ways to install

Choose your preferred installation method. Looking for the web option? See Remote MCP.

Bash Install

MacOSClaude Desktop

Run this in Terminal:

curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash

NPX Install

WindowsMacOSClaude Desktop

Run this in Terminal/Command Prompt:

npx @wonderwhy-er/desktop-commander@latest setup

Getting Started

Ask Claude: "What can I do with Desktop Commander?"

Your machine, from anywhere

Desktop Commander Remote MCP lets remote AI clients like ChatGPT and Claude work directly with files and commands on your own computer.

Your real machine

Give AI assistants access to local files, terminal, previews, and running processes — not a sandbox.

Works in web AI clients

Connect ChatGPT, Claude, and other AI services directly to your computer.

From any device

Use it yourself from another device — for example, from your phone to your PC.

Same Desktop Commander core

AI that can read, write, run, and act on your system. Connect one or more devices.

Get Remote MCP

Already set up? Manage your devices →

Controlling your computer from your phone via Remote MCP

What MCP can do

Desktop Commander MCP gives AI assistants powerful tools to work with your local system.

File System Access

Read, write, move, and organize files and directories with full path control.

Terminal Commands

Execute shell commands, run scripts, and manage processes directly.

Code Editing

Make surgical edits to code files with precise find-and-replace operations.

File Search

Search file contents and names across your entire project structure.

Configurable

Set allowed directories, blocked commands, and custom shell preferences.

Process Management

Start, monitor, and interact with long-running processes and REPLs.

Local: works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client. Remote: works with ChatGPT, Claude, and other web AI clients via Remote MCP.

Frequently Asked Questions

Everything you need to know about Desktop Commander MCP and the App.

Need More Details?

View our comprehensive FAQ document on GitHub for detailed troubleshooting guides.

Complete FAQ on GitHub