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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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 Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

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

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 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 22, 2025
    Machine Learning

    Boolformer: Symbolic Regression of Logic Functions with Transformers

    July 22, 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

    My top 5 must-play PC games for the second half of 2025 — Will they live up to the hype?

    News & Updates

    [Webinar] AI Is Already Inside Your SaaS Stack — Learn How to Prevent the Next Silent Breach

    Development

    CVE-2025-4818 – SourceCodester Doctor’s Appointment System SQL Injection

    Common Vulnerabilities and Exposures (CVEs)

    DDoS Attack Hits Adyen, Causing Transaction Failures in EU

    Development

    Highlights

    QA vs QE: Understanding the Evolving Roles

    July 14, 2025

    In the dynamic world of software development, the roles of Quality Assurance (QA) and Quality Engineering (QE) have become increasingly significant. Although often used interchangeably, QA and QE represent two distinct philosophies and approaches to ensuring software quality. Understanding the difference between QA vs QE isn’t just a matter of semantics; it’s a strategic necessity
    The post QA vs QE: Understanding the Evolving Roles appeared first on Codoid.

    Coding Agents See 75% Surge: SimilarWeb’s AI Usage Report Highlights the Sectors Winning and Losing in 2025’s Generative AI Boom

    May 14, 2025

    Windows 11 Key Generators: Are They Safe?

    July 4, 2025

    CVE-2025-0049 – GoAnywhere Directory Traversal Information Disclosure

    April 28, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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