Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      In-House vs. Outsource Node.js Development Teams: 9 Key Differences for the C-Suite (2025)

      July 19, 2025

      Why Non-Native Content Designers Improve Global UX

      July 18, 2025

      DevOps won’t scale without platform engineering and here’s why your teams are still stuck

      July 18, 2025

      This week in AI dev tools: Slack’s enterprise search, Claude Code’s analytics dashboard, and more (July 18, 2025)

      July 18, 2025

      DistroWatch Weekly, Issue 1131

      July 20, 2025

      I ditched my Bluetooth speakers for this slick turntable – and it’s more practical than I thought

      July 19, 2025

      This split keyboard offers deep customization – if you’re willing to go all in

      July 19, 2025

      I spoke with an AI version of myself, thanks to Hume’s free tool – how to try it

      July 19, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The details of TC39’s last meeting

      July 20, 2025
      Recent

      The details of TC39’s last meeting

      July 20, 2025

      Simple wrapper for Chrome’s built-in local LLM (Gemini Nano)

      July 19, 2025

      Online Examination System using PHP and MySQL

      July 18, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 11 tests “shared audio” to play music via multiple devices, new taskbar animations

      July 20, 2025
      Recent

      Windows 11 tests “shared audio” to play music via multiple devices, new taskbar animations

      July 20, 2025

      WhatsApp for Windows 11 is switching back to Chromium web wrapper from UWP/native

      July 20, 2025

      DistroWatch Weekly, Issue 1131

      July 20, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Machine Learning»Guide to Using the Desktop Commander MCP Server

    Guide to Using the Desktop Commander MCP Server

    June 1, 2025

    The Desktop Commander MCP Server is a powerful tool that brings all your development operations into one chat interface. Built on top of the MCP Filesystem Server, it allows you to search, edit, and manage files, run terminal commands, and control processes directly from your desktop using the Model Context Protocol (MCP).

    Following are the core capabilities of the Desktop Commander MCP server:

    Terminal & Process Control

    • Execute terminal commands with live output streaming
    • Set timeouts and run commands in the background
    • Manage sessions for long-running tasks
    • List and kill running processes with detailed info

    Configuration Management

    • Get or set server settings like:
      • defaultShell (e.g., bash, zsh)
      • blockedCommands (e.g., rm, shutdown)
      • allowedDirectories for file access
      • telemetryEnabled
    • Apply changes without restarting the server

    Filesystem Operations

    • Read and write files with line-based limits
    • Append or overwrite file content
    • Create and list directories
    • Move or rename files and folders
    • Get file and directory metadata
    • Search files by name (case-insensitive)

    Code & Text Editing

    • Perform precise text replacements (e.g., change config values)
    • Rewrite entire files for major updates
    • Search and replace patterns across multiple files
    • Use vscode-ripgrep for fast recursive text/code search

    Audit Logging

    • All actions are logged with timestamps and arguments
    • Logs auto-rotate at 10MB to avoid clutter

    In this tutorial, we will be connecting Claude desktop with the MCP server and perform some tasks.

    Step 1: Setting up dependencies

    Node JS

    We need npx to run the Desktop Commander server, which comes with Node.js.

    • Download the latest version of Node.js from nodejs.org
    • Run the installer.
    • Leave all settings as default and complete the installation

    Claude Desktop

    Download Claude using https://claude.ai/download.

    Step 2: Configuring the MCP Server

    Next, configure Claude to connect to your MCP server. Open the claude_desktop_config.json file located in the Claude installation directory using any text editor. If the file doesn’t exist, you can create it manually. Once opened, enter the following code:

    Copy CodeCopiedUse a different Browser
    {
      "mcpServers": {
        "desktop-commander": {
          "command": "npx",
          "args": [
            "-y",
            "@wonderwhy-er/desktop-commander"
          ]
        }
      }
    }

    Step 3: Running the server

    Once the MCP configuration is complete, your server should appear in Claude. The Desktop Commander server is a powerful interface, offering 18 tools for tasks like file management, terminal execution, process control, and more.


    Feel free to follow us on Twitter and don’t forget to join our 95k+ ML SubReddit and Subscribe to our Newsletter.

    The post Guide to Using the Desktop Commander MCP Server appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleRLHF 101: A Technical Tutorial on Reinforcement Learning from Human Feedback
    Next Article The Legal Accountability of AI-Generated Deepfakes in Election Misinformation

    Related Posts

    Machine Learning

    How to Evaluate Jailbreak Methods: A Case Study with the StrongREJECT Benchmark

    July 20, 2025
    Machine Learning

    Language Models Improve When Pretraining Data Matches Target Tasks

    July 18, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Windows Phone just got its first AI ChatGPT-style app. No, really.

    News & Updates

    CVE-2025-5376 – SourceCodester Health Center Patient Record Management System SQL Injection

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-44024 – Pichome XSS

    Common Vulnerabilities and Exposures (CVEs)

    Best Free and Open Source Alternatives to Corel PHOTO-PAINT

    Linux

    Highlights

    Microsoft clarifies Windows 10 extended updates still work if Windows 11 is unsupported

    June 26, 2025

    Microsoft confirmed you don’t have to meet Windows 11 requirements to be eligible for Windows…

    CVE-2025-5721 – SourceCodester Student Result Management System Cross-Site Scripting Vulnerability

    June 6, 2025

    CVE-2025-40653 – M3M Printer Server Web User Enumeration Vulnerability

    May 26, 2025

    Salesforce Marketing Cloud for Medical Devices

    July 1, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.