DesktopCommander

DesktopCommander

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

4,958
Stars
551
Forks
20
Releases

Overview

Desktop Commander MCP extends the MCP Filesystem Server to enable Claude Desktop to operate a user’s local machine via MCP. It provides full system command execution, process management, and comprehensive filesystem operations from a single chat interface. Core capabilities include in‑memory code execution (Python, Node.js, R) without saving files, instant analysis of CSV/JSON data, and surgical code editing with search/replace blocks across multiple files. It supports interactive terminal sessions with output streaming, command timeouts, and background execution, along with long‑running process and session management. Server configuration tools allow getting and setting values (defaultShell, allowedDirectories, telemetry) and dynamic changes without restarts. The server also offers URL read_file support and negative offset file reads (tail-like). Comprehensive audit logging tracks all tool calls, and telemetry can be disabled. Desktop Commander MCP is designed for Claude Desktop users, developers, and IT admins who want AI-assisted development, automation, and local file/terminal control on their machine. It provides several installation options (npx, bash installer, Smithery, Docker) with auto-updates in most cases.

Details

Owner
wonderwhy-er
Language
JavaScript
License
MIT License
Updated
2025-12-07

Features

Enhanced terminal commands with interactive process control

Execute terminal commands with streaming output and interactive control of long‑running processes, including timeouts and background execution.

Execute code in memory

Run Python, Node.js, and R code in memory without saving files to disk.

Instant data analysis

Analyze CSV/JSON data instantly to derive insights without separate tooling.

Interact with running processes

Manage and interact with SSH sessions, databases, and development servers.

Terminal command streaming and background execution

Support for output streaming, timeouts, and background task execution.

Full filesystem operations

Read/write files, create/list directories, move items, search, and retrieve metadata (with negative offset reading).

Code editing and search/replace

Surgical edits, multi-file rewrites, pattern-based replacements, and recursive search via ripgrep-based tooling.

Audit logging and telemetry controls

Comprehensive logging of tool calls with timestamps and arguments; configurable telemetry.

Audience

Claude Desktop usersGain AI-assisted access to local filesystem and terminal through Claude Desktop via MCP for development and automation workflows.
Developers and data scientistsPerform in-memory code execution, data analysis, and cross-project code exploration with AI assistance.
IT admins / DevOpsManage processes, remote interactions (SSH, databases), and server configuration on local workstations.

Tags

MCPDesktop CommanderClaude DesktopFilesystemTerminalProcess managementCode editingIn-memory executionAudit loggingTelemetryDockerSSHData analysisCode exploration