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

      Designing For TV: Principles, Patterns And Practical Guidance (Part 2)

      September 5, 2025

      Neo4j introduces new graph architecture that allows operational and analytics workloads to be run together

      September 5, 2025

      Beyond the benchmarks: Understanding the coding personalities of different LLMs

      September 5, 2025

      Top 10 Use Cases of Vibe Coding in Large-Scale Node.js Applications

      September 3, 2025

      Building smarter interactions with MCP elicitation: From clunky tool calls to seamless user experiences

      September 4, 2025

      From Zero to MCP: Simplifying AI Integrations with xmcp

      September 4, 2025

      Distribution Release: Linux Mint 22.2

      September 4, 2025

      Coded Smorgasbord: Basically, a Smorgasbord

      September 4, 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

      Drupal 11’s AI Features: What They Actually Mean for Your Team

      September 5, 2025
      Recent

      Drupal 11’s AI Features: What They Actually Mean for Your Team

      September 5, 2025

      Why Data Governance Matters More Than Ever in 2025?

      September 5, 2025

      Perficient Included in the IDC Market Glance for Digital Business Professional Services, 3Q25

      September 5, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

      September 5, 2025
      Recent

      How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

      September 5, 2025

      Distribution Release: Linux Mint 22.2

      September 4, 2025

      ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

      September 4, 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

    September 3, 2025
    Machine Learning

    Announcing the new cluster creation experience for Amazon SageMaker HyperPod

    September 3, 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

    I swapped my Apple Watch Ultra for this big-screen Garmin that’s easier to read

    News & Updates

    Scotland launches DeepTech AI to nurture postgraduate founders

    News & Updates

    Elden Ring Nightreign Tricephalos boss: How to beat Gladius, Beast of Night

    News & Updates

    CodeIgniter4 Flaw CVE-2025-54418 Enables Remote Code Execution via File Uploads

    Development

    Highlights

    Linux

    Mini Floating Panel Extension Adds Sought-After Features

    August 15, 2025

    A new version of the nifty Floating Mini Panel GNOME Shell extension is available, and…

    Chrome’s Tab Search Feature Finds a New Home in the Toolbar

    May 17, 2025

    Data Center Setup Cost in India | Expert Guide

    May 6, 2025

    CVE‑2025‑27210 & CVE‑2025‑27209: Two high‑severity vulnerabilities in Node.js

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

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