Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿค– Coding Agents
  3. DesktopCommanderMCP
DesktopCommanderMCP logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 9:16:36 PM

DesktopCommanderMCP

User RatingsBe the first to rate and review this MCP server!
View Repository9.5k GitHub StarsTotal stargazers on GitHub for the source repository (9,547 stars).Visit Website
filesystemterminalcode-editingprocess-managementdata-analysis

Manage files, run terminal commands, and edit code/text with AI via a local MCP server supporting rich file formats and process control.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldnโ€™t automatically confirm this listing starts correctly

We ran the install command below but it didn't respond within our test window โ€” this can mean a slow first-time install rather than a real problem.

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

No response to initialize.

This is an experimental automated check and can have false negatives โ€” missing environment variables, a slow cold install, etc. It doesnโ€™t necessarily mean somethingโ€™s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "wonderwhy-er-desktopcommandermcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wonderwhy-er/desktop-commander@latest"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿค– More in Coding Agents

Overview

This MCP server enables AI agents to interact with the local desktop environment by managing files, executing terminal commands, and editing code or text. It supports advanced file operations including reading/writing Excel, PDF, and DOCX files, and offers interactive process control with output streaming and session management. Use it when you need AI-driven automation and control over local development workflows, file system operations, and long-running processes.

Use cases

โ€ขRun and manage terminal commands with output streaming and timeouts
โ€ขRead, write, and edit code or text files including Excel, PDF, and DOCX
โ€ขSearch and replace code or text recursively in directories
โ€ขInteract with running processes and manage sessions
โ€ขAnalyze data files like CSV, JSON, and Excel on demand

Key features

โ€ขExecute code in memory (Python, Node.js, R) without saving files
โ€ขVisual file previews with markdown rendering and inline images
โ€ขNative support for Excel, PDF, and DOCX file formats
โ€ขProcess management including listing and killing processes
โ€ขRecursive directory listing with overflow protection
โ€ขComprehensive audit logging with log rotation

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by DesktopCommanderMCP.

Extracted Tool Capabilities
Execute code in memory (Python, Node.js, R) without saving files
Visual file previews with markdown rendering and inline images
Native support for Excel, PDF, and DOCX file formats
Process management including listing and killing processes
Recursive directory listing with overflow protection
Comprehensive audit logging with log rotation

Documentation Overview

Desktop Commander MCP

Search, update, manage files and run terminal commands with AI

npm downloads AgentAudit Verified Trust Score smithery badge Buy Me A Coffee

Discord

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.

Desktop Commander MCP

๐Ÿ–ฅ๏ธ Try the Desktop Commander App (Beta)

Want a better experience? The Desktop Commander App gives you everything the MCP server does, plus:

  • Use any AI model โ€” Claude, GPT-4.5, Gemini 2.5, or any model you prefer
  • See file changes live โ€” visual file previews as AI edits your files
  • Add custom MCPs and context โ€” extend with your own tools, no config files
  • Coming soon โ€” skills system, dictation, background scheduled tasks, and more

๐Ÿ‘‰ Download the App (macOS & Windows)

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.

Table of Contents

  • Features
  • How to install
  • Getting Started
  • Usage
  • File Preview UI & Markdown Editor
  • Handling Long-Running Commands
  • Work in Progress and TODOs
  • Sponsors and Supporters
  • Website
  • Media
  • Testimonials
  • Frequently Asked Questions
  • Contributing
  • License

All of your AI development tools in one place. Desktop Commander puts all dev tools in one chat. Execute long-running terminal commands on your computer and manage processes through Model Context Protocol (MCP). Built on top of MCP Filesystem Server to provide additional search and replace file editing capabilities.

Features

  • Remote AI Control - Use Desktop Commander from ChatGPT, Claude web, and other AI services via Remote MCP
  • 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
  • Enhanced terminal commands with interactive process control
  • Execute code in memory (Python, Node.js, R) without saving files
  • Instant data analysis - just ask to analyze CSV/JSON/Excel files
  • Native Excel file support - Read, write, edit, and search Excel files (.xlsx, .xls, .xlsm) without external tools
  • PDF support - Read PDFs with text extraction, create new PDFs from markdown, modify existing PDFs
  • DOCX support - Read, create, edit, and search Word documents (.docx) with surgical XML editing and markdown-to-DOCX conversion
  • Interact with running processes (SSH, databases, development servers)
  • Execute terminal commands with output streaming
  • Command timeout and background execution support
  • Process management (list and kill processes)
  • Session management for long-running commands
  • Process output pagination - Read terminal output with offset/length controls to prevent context overflow
  • Server configuration management:
    • Get/set configuration values
    • Update multiple settings at once
    • Dynamic configuration changes without server restart
  • Full filesystem operations:
    • Read/write files (text, Excel, PDF, DOCX)
    • Create/list directories
    • Recursive directory listing with configurable depth and context overflow protection for large folders
    • Move files/directories
    • Search files and content (including Excel content)
    • Get file metadata
    • Negative offset file reading: Read from end of files using negative offset values (like Unix tail)
  • Code editing capabilities:
    • Surgical text replacements for small changes
    • Full file rewrites for major changes
    • Multiple file support
    • Pattern-based replacements
    • vscode-ripgrep based recursive code or text search in folders
  • Local tool-call history and audit logs:
    • Tool calls and arguments are recorded locally on the machine running Desktop Commander
    • Recent call history with bounded output previews is available through get_recent_tool_calls
    • Size-based rotation/trimming keeps the active history files bounded
  • Safety guardrails (not a sandbox โ€” see SECURITY.md):
    • Symlink traversal prevention on file operations
    • Command blocklist for accidental execution
    • Docker isolation for complete isolation

How to install

Install in Claude Desktop

Desktop Commander offers multiple installation methods for Claude Desktop.

๐Ÿ“‹ Update & Uninstall Information: Options 1, 2, 3, 4, and 6 have automatic updates. Option 5 requires manual updates. See below for details.

Option 1: Install through npx โญ Auto-Updates (Requires Node.js)

Just run this in terminal:

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

For debugging mode (allows Node.js inspector connection):

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

Command line options during setup:

  • --debug: Enable debugging mode for Node.js inspector
  • --no-onboarding: Disable onboarding prompts for new users

Restart Claude if running.

โœ… Auto-Updates: Yes - automatically updates when you restart Claude
๐Ÿ”„ Manual Update: Run the setup command again
๐Ÿ—‘๏ธ Uninstall: Run npx @wonderwhy-er/desktop-commander@latest remove

Option 2: Using bash script installer (macOS) โญ Auto-Updates (Installs Node.js if needed)
Terminal
curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash

This script handles all dependencies and configuration automatically.

โœ… Auto-Updates: Yes
๐Ÿ”„ Manual Update: Re-run the bash installer command above
๐Ÿ—‘๏ธ Uninstall: Run npx @wonderwhy-er/desktop-commander@latest remove

Option 3: Installing via Smithery โญ Auto-Updates (Requires Node.js)
  1. Visit: https://smithery.ai/server/@wonderwhy-er/desktop-commander
  2. Login to Smithery if you haven't already
  3. Select your client (Claude Desktop) on the right side
  4. Install with the provided key that appears after selecting your client
  5. Restart Claude Desktop

โœ… Auto-Updates: Yes - automatically updates when you restart Claude
๐Ÿ”„ Manual Update: Visit the Smithery page and reinstall

Option 4: Add to claude_desktop_config manually โญ Auto-Updates (Requires Node.js)

Add this entry to your claude_desktop_config.json:

  • On Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%\Claude\claude_desktop_config.json
  • On Linux: ~/.config/Claude/claude_desktop_config.json
config.json
{
  "mcpServers": {
    "desktop-commander": {
      "command": "npx",
      "args": [
        "-y",
        "@wonderwhy-er/desktop-commander@latest"
      ]
    }
  }
}

Restart Claude if running.

โœ… Auto-Updates: Yes - automatically updates when you restart Claude
๐Ÿ”„ Manual Update: Run the setup command again
๐Ÿ—‘๏ธ Uninstall: Run npx @wonderwhy-er/desktop-commander@latest remove or remove the entry from your claude_desktop_config.json

Option 5: Checkout locally โŒ Manual Updates (Requires Node.js)
bash
git clone https://github.com/wonderwhy-er/DesktopCommanderMCP.git
cd DesktopCommanderMCP
npm run setup

Restart Claude if running.

The setup command will install dependencies, build the server, and configure Claude's desktop app.

โŒ Auto-Updates: No - requires manual git updates
๐Ÿ”„ Manual Update: cd DesktopCommanderMCP && git pull && npm run setup
๐Ÿ—‘๏ธ Uninstall: Run npx @wonderwhy-er/desktop-commander@latest remove or remove the cloned directory and MCP server entry from Claude config

Option 6: Docker Installation ๐Ÿณ โญ Auto-Updates (No Node.js Required)

Perfect for users who want isolation or don't have Node.js installed. Runs in a sandboxed Docker container with a persistent work environment.

Prerequisites: Docker Desktop installed and running, Claude Desktop app installed.

macOS/Linux:

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

Windows PowerShell:

powershell
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install-docker.ps1'))

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Coding Agents View all alternatives
  • Vscode MCP Server logoVscode MCP Server

    A MCP Server that allows AI such as Claude to read from the directory structure in a VS Code workspace, see problems picked up by linter(s) and the language server, read code files, and make edits.

    ๐Ÿค– Coding Agents3 views
    Compare vs Vscode MCP Server โ†’
  • Iterm MCP logoIterm MCP

    A Model Context Protocol server that provides access to iTerm. You can run commands and ask questions about what you see in the iTerm terminal.

    ๐Ÿค– Coding Agents3 views
    Compare vs Iterm MCP โ†’
  • Developer logoDeveloper

    Comprehensive developer tools for file editing, shell command execution, and screen capture capabilities

    ๐Ÿค– Coding Agents1 views
    Compare vs Developer โ†’
  • MCP Server Terminal logoMCP Server Terminal

    Playwright for terminals - interact with TUI/CLI applications through structured Terminal State Tree representation with element detection.

    ๐Ÿค– Coding Agents3 views
    Compare vs MCP Server Terminal โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
9.5k
Stargazers on the source repository.
Last commit
1d ago
Most recent push to the default branch.
Install check
Inconclusive
Didn't respond in our test window โ€” often a slow first install.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about DesktopCommanderMCP

Yes, it supports executing long-running commands with output streaming, session management, and background execution.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDesktopCommanderMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wonderwhy-er-desktopcommandermcp?style=directory)](https://allmcps.com/mcp/wonderwhy-er-desktopcommandermcp)
HTML Embed
<a href="https://allmcps.com/mcp/wonderwhy-er-desktopcommandermcp"><img src="https://allmcps.com/api/badge/wonderwhy-er-desktopcommandermcp?style=directory" alt="DesktopCommanderMCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿค–Coding Agents
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf
Last updatedSep 10, 2026
10/11 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars9,547
GitHub Star CountTotal stargazers on GitHub representing community popularity (9,547 stars).
Last commit1d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 10, 2026
51Quality signal: Good ยท 51/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools18/30
Adoption & activity10/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 2

Scanned 26d ago via OSV.dev ยท @wonderwhy-er/desktop-commander@latest (npm)

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿค– Coding Agents โ†’Best MCP servers for Coding Agents โ†’Alternatives to DesktopCommanderMCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code