drio
Open app

Claude Desktop Commander MCP

Source

MCP server stack for Claude that gives it terminal control

Catalog onlyCatalog onlySTDIO

Overview

Claude Desktop Commander MCP is a server stack that enables the Claude desktop application to execute terminal commands and manage processes on your computer through the Model Context Protocol (MCP).

To use this tool, you need to install the Claude Desktop app and then set up the Desktop Commander using npm or Smithery. After installation, you can run terminal commands and manage files directly from the Claude interface.

  • Execute terminal commands with output streaming - Process management (list and kill processes) - Full filesystem operations including read/write files and directory management - Surgical text replacements and full file rewrites for code editing - Support for long-running commands with session management
  1. Running system commands and scripts from the Claude interface.
  2. Managing files and directories on your local machine.
  3. Editing code files with advanced search and replace functionalities.
  4. Monitoring and controlling long-running processes.

Add to your AI client

Use these steps to connect Claude Desktop Commander MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "claude-dev-tools-strawhatai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "claude-dev-tools-strawhatai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "claude-dev-tools-strawhatai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "claude-dev-tools-strawhatai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "claude-dev-tools-strawhatai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "claude-dev-tools-strawhatai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-claude-dev-tools-strawhatai"
      ]
    }
  }
}