npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@chriscoletech/desktop-commander-mcp

v0.2.12

Published

MCP server for terminal operations and file editing

Readme

Desktop Commander MCP

CI Status NPM Publish NPM Version NPM Downloads License: MIT Node Version TypeScript GitHub Stars

Model Context Protocol server for terminal operations and file editing

Execute terminal commands, manage processes, and perform advanced file operations through Claude Desktop via MCP.

🛠️ All Your Dev Tools in One Place

Desktop Commander brings terminal access and file system operations directly into Claude Desktop through the Model Context Protocol.

  • 🖥️ Terminal Control: Execute commands and manage long-running processes
  • 📁 File Operations: Read, write, search, and edit files with precision
  • 🔍 Code Search: Advanced search capabilities using ripgrep
  • 🔄 Process Management: Handle SSH sessions, development servers, and background tasks

🚀 Key Features

  • 🖥️ Enhanced Terminal Control: Interactive process management with session support
  • 🐍 Code Execution: Run Python, Node.js, R code in memory without saving files
  • 📊 Instant Data Analysis: Analyze CSV/JSON files directly in chat
  • 🔍 Advanced File Search: Fuzzy search across your entire codebase
  • ✏️ Surgical Code Editing: Precise file modifications with diff previews
  • 🔄 Process Management: Handle SSH, databases, development servers seamlessly

📦 Installation

Option 1: NPX Setup (Recommended)

npx @chriscoletech/desktop-commander-mcp@latest setup

Option 2: Manual Configuration

Add to your Claude Desktop config file (claude_desktop_config.json):

{
  "mcpServers": {
    "desktop-commander": {
      "command": "npx",
      "args": ["@chriscoletech/desktop-commander-mcp"]
    }
  }
}

After installation, restart Claude Desktop to activate the MCP server.

🔧 Available MCP Tools

Desktop Commander provides these tools through the Model Context Protocol:

File System Operations

  • read_file - Read file contents with optional offset/length parameters
  • read_multiple_files - Read multiple files simultaneously
  • write_file - Write or append to files
  • create_directory - Create directories or ensure they exist
  • list_directory - Get detailed directory listings
  • move_file - Move or rename files and directories
  • get_file_info - Get detailed file/directory metadata

File Search & Code Analysis

  • search_files - Find files by name (substring matching)
  • search_code - Search text/code patterns in files using ripgrep
  • edit_block - Apply surgical text replacements to files

Process & Terminal Management

  • start_process - Start terminal processes with intelligent state detection
  • read_process_output - Read output from running processes
  • interact_with_process - Send input to processes and get responses
  • list_sessions - List all active terminal sessions
  • force_terminate - Force terminate terminal sessions
  • list_processes - List all running system processes
  • kill_process - Terminate processes by PID

Legacy Terminal Tools (Backward Compatibility)

  • execute_command - Execute terminal commands (legacy)
  • read_output - Read command output (legacy)

Configuration & Utilities

  • get_config - Get complete server configuration as JSON
  • set_config_value - Set specific configuration values
  • get_usage_stats - Get usage statistics for debugging
  • give_feedback_to_desktop_commander - Open feedback form in browser

📚 Documentation

📖 Full Documentation - Comprehensive guide with detailed examples, production deployment, troubleshooting, and advanced configuration.

See also:

📄 License

MIT License - see LICENSE file for details.


Star this repository if you find it useful!
🐛 Report issues or suggest features at GitHub Issues

Get started today - npx @chriscoletech/desktop-commander-mcp@latest setup and bring terminal access into Claude Desktop!