Self-host DesktopCommanderMCP
v0.3.3MCP server for AI file, terminal and process control
- Stars
- 10 299
mcp/desktop-commanderWhat is DesktopCommanderMCP?
Desktop Commander is an open-source MCP server that plugs into AI chat clients so they can act on your real machine: running terminal commands, keeping long-running processes and REPL sessions interactive, reading and writing files, and editing code through search/replace blocks. It handles PDF, Word and Excel documents, can execute Python, Node.js and R code in memory for quick CSV/JSON analysis, and renders a visual file-preview panel with a built-in markdown editor inside Claude Desktop. On your own hardware it installs with a single npx command, a macOS/Linux bash script, a local git checkout, or the mcp/desktop-commander container image when you want the tool quarantined from the host; it needs Node.js 18 or newer plus an MCP client such as Claude Desktop, Cursor, Windsurf, VS Code, Codex or Gemini CLI, and the local server itself is free with no account or usage cap. An optional hosted relay lets web and mobile ChatGPT or Claude reach machines you connect, billed as a free 10,000-call monthly quota or an unlimited Pro plan at $20 per month. Directory allow-lists and the command blocklist only guard against mistakes rather than acting as a security sandbox, tool-call history is written to local log files, and anonymous telemetry is enabled by default but can be switched off.
DesktopCommanderMCP alternatives
anythingmcpSelf-hosted gateway turning APIs and databases into MCP tools for AI assistants, with hundreds of ready connectors and access controls.Compareanythingmcp with DesktopCommanderMCP
BankMCP™BankMCP™ is a self-hosted, open-source MCP server connecting AI assistants to 2,700+ European banks via Enable Banking for read-only account access.CompareBankMCP™ with DesktopCommanderMCP
MulmoClaudeSelf-hosted AI assistant platform with personal wiki, collections, and messaging bridges — powered by Claude Code, data stays local.CompareMulmoClaude with DesktopCommanderMCP
CodemanSelf-hosted web dashboard running 11 AI coding agents in tmux sessions, streaming live terminals to any browser with zero-lag input, QR login, and autonomous runs.CompareCodeman with DesktopCommanderMCP
Captain ClawSelf-hosted, open-source framework for orchestrating AI agent fleets with seven orchestration modes, agentic coding pipeline, and deterministic Flows.CompareCaptain Claw with DesktopCommanderMCP
nextcloud-mcp-serverA self-hosted, open-source MCP server that lets AI assistants interact with your Nextcloud instance — managing notes, calendars, contacts, files, and more.Comparenextcloud-mcp-server with DesktopCommanderMCP
agentboxagentbox is a self-hosted browser workspace that runs AI coding agents in Docker on your server, providing chat, terminal, file management, and Git from any device.Compareagentbox with DesktopCommanderMCP
coolify-mcpOpen-source MCP server exposing 46 tools so AI assistants can deploy, diagnose and operate a self-hosted Coolify PaaS, with human confirmation on destructive actions.Comparecoolify-mcp with DesktopCommanderMCP
All self-hosted alternatives to Cursor → All self-hosted alternatives to Windsurf →
Should you self-host DesktopCommanderMCP?
DesktopCommanderMCP scores 74/100 on selfhost.directory (how scoring works) and ranks #2 of 7 in LLM Integration. It has 10 299 GitHub stars, +313 in the last 30 days.
It shipped 18 stable releases in the past year. The latest, v0.3.3, came out on 12 November 2026. New versions land roughly every 2 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is Theia IDE (60/100, 617 stars). DesktopCommanderMCP scores higher overall. See DesktopCommanderMCP vs Theia IDE side by side.
Features
- Data analysis of CSV/JSON/Excel
- Diff-based surgical editing
- DOCX support
- File preview UI with markdown editorClaude Desktop only
- Filesystem operations
- In-memory code execution
- Interactive process control
- Local tool-call history and audit logs
- Native Excel file support
- PDF reading and creation
- Recursive code and content search
- Remote AI control of your machineRelay is a hosted service: free tier 10,000 tool calls per month, Pro $20/month for unlimited calls. The local MCP server is free with no limit.
- Runtime configuration management
- Terminal command execution with output streaming
- Works with any MCP client
DesktopCommanderMCP README
FAQ
How do I report security vulnerabilities?
Open a GitHub issue with the details; the project's security policy document covers responsible disclosure.
I'm having trouble installing or using the tool. Where can I get help?
Ask in the Discord server, check GitHub issues, or read the project FAQ document and the FAQ section on the website.
What are the most common use cases?
Understanding complex codebases, generating documentation and diagrams, automating system tasks, working across several projects, and making precise code edits.
Does Desktop Commander automatically update?
Yes, when installed through npx or Smithery it pulls the newest version automatically when you restart Claude.
Do I need to pay for API credits?
No — it rides on the Claude Desktop subscription rather than per-token API billing, so there are no extra usage costs.
How is this different from Cursor/Windsurf?
It works across your whole operating system rather than inside an indexed coding IDE, reads files in full, can juggle several projects at once, and applies changes in one go.
What is Desktop Commander?
An MCP tool that gives Claude Desktop access to your file system and terminal, making it a general assistant for coding, automation and codebase exploration.
More in LLM Integration
Evo AIOpen-source, self-hosted workbench for building AI agents: LLM, A2A, sequential, parallel, task and LangGraph workflow types with MCP tools and encrypted API keys.
FalkorDBA super fast Graph Database uses GraphBLAS under the hood for its sparse adjacency matrix graph representation. Our goal is to provide the best Knowledge Graph for LLM (GraphRAG).
fastgptFastGPT is a self-hosted, open-source AI agent platform for building RAG chat apps with visual workflow orchestration, hybrid retrieval and reranking.
FeynmanSelf-hosted, open-source AI research agent for the terminal: literature reviews, deep-research briefs with citations, and paper audits, on any model provider.
Free-GPT4-WEB-APISelf-hosted, open-source web API for free, unlimited access to LLMs like GPT-4, Gemini, DeepSeek, and Claude via a single HTTP endpoint with optional web GUI.
gatewayLunarGate is a self-hosted, open-source AI gateway exposing an OpenAI-compatible endpoint with multi-provider routing, retries, fallbacks, and circuit breakers.
gemini-web2api-goRun your own OpenAI-compatible endpoint for Google's free Gemini web UI — no API key, no paid tier. Single Go binary or Docker image with dashboard, cookie/proxy pools.
GitingestOpen-source tool that turns a Git repository into one prompt-ready text digest for LLMs. Use the CLI, the Python package, or a self-hosted Docker web server.
GoModelThis open-source, self-hosted AI gateway in Go unifies 34 LLM providers behind OpenAI-style and Anthropic-style APIs, adding budgets, caching, routing and audit logs.
GPT-LoadAn open-source, self-hosted AI gateway routing one endpoint to 35 upstream channels — key credentials and subscription logins, with failover, logs and cost estimates.
HarnessRouterSelf-hosted, open-source gateway running Codex, Claude Code and other agent harnesses behind one OpenAI Responses-compatible API with sessions, streaming and files.
hermes-studioEkko Studio unites chat agents and 14 coding CLIs in one self-hosted web console with group chat, visual workflows, profiles, voice, and device sync.
0 comments