Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Desktop Commander MCP 🔌 MCP server Open source

MCP server giving an AI agent terminal control, filesystem search and diff-based file editing

Developer tool MCP servers · Open source ★ 9.9k · +130 this week · MIT · updated 2026-10-01

7.2editor score
Visit Desktop Commander MCP ↗
GitHub stars
9.9k
Stars this week
+130
Forks
1.2k
Licence
MIT
Last push
2026-10-01
Maintainer
wonderwhy-er

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About Desktop Commander MCP

What it does

Desktop Commander is an MCP server that gives an AI assistant hands-on control of your local machine: a terminal, a filesystem, and surgical code editing, rather than just a chat window. It was built with Claude Desktop in mind but speaks plain MCP, so any MCP-capable client can use it.

Tools it gives your agent

  • Terminal execution with interactive process control (start, monitor and manage long-running commands)
  • File read, write and search across the filesystem
  • Surgical code edits using search/replace diff blocks instead of full-file rewrites
  • In-memory code execution for Python, Node.js and R
  • Process management for long-running tasks
  • Native reading of Excel, PDF and DOCX files

Works with

The project documents setup for Claude Desktop, Claude web and ChatGPT (both via remote MCP), Cursor, Windsurf, VS Code/GitHub Copilot, Cline, JetBrains IDEs, and other MCP-compatible clients generally.

How to install or connect

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

macOS/Linux script install:

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

Docker:

bash <(curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install-docker.sh)

Maintenance and safety

Active project (9,600+ stars, weekly commits, MIT licensed). This server grants an AI agent real terminal and filesystem access on your machine, which is powerful but should be scoped and reviewed carefully, especially before pointing it at a machine with sensitive data; prefer running it in a container or a disposable environment for anything you don't fully trust the agent with.

Who should use it

Developers who want their AI assistant to actually run commands, edit files and manage local processes directly, instead of copy-pasting code back and forth between a chat window and a terminal.

mcp terminal filesystem code-editing claude-desktop

Pros

  • Broad client support: Claude Desktop/web, ChatGPT, Cursor, Windsurf, VS Code/Copilot, Cline and JetBrains
  • Diff-based editing avoids clumsy full-file rewrites
  • Active, popular project with frequent commits

Cons

  • Grants real terminal and filesystem access, so it needs careful scoping on a trusted machine
  • Primary docs and examples are Claude-Desktop-centric even though other clients are supported

GitHub MCP Server 🔌 MCP serverFree

GitHub's official MCP server: issues, pull requests, code, Actions and security alerts

★ 33k · +132 this week

XcodeBuildMCP 🔌 MCP serverOpen source

Build, run, test and debug iOS and macOS apps from AI agents, maintained by Sentry

★ 6.5k · +27 this week

8.4 Visit ↗

MCP Reference Servers 🔌 MCP serverFree

The official reference MCP servers: fetch, filesystem, git, memory and more

★ 91k · +362 this week

Unity MCP 🔌 MCP serverOpen source

Lets AI agents drive the Unity Editor: scenes, C# scripts, assets, tests and builds

★ 15k · +173 this week

8.0 Visit ↗

Popular searches