Desktop Commander MCP logo

Desktop Commander MCPMCP 服务器为 AI 代理在您的桌面上提供安全的终端、进程和文件编辑访问。

4.7 (6)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年5月

概览

Desktop Commander MCP 是一个 Model Context Protocol 服务器,连接 AI 助手到本地机器,让它们能够运行终端命令、管理运行中的进程,并在不离开聊天窗口的情况下进行精准的文件编辑。它使用基于 diff 的编辑方式,只对文件进行外科手术式的修改,而不是整体重写,从而降低 token 消耗并降低意外修改的风险。 除了基本的 Shell 访问,它还可以在代码库和文档中搜索,读取和写入 Excel 表格和 PDF,且对 AI 所执行的每一步操作都记录审计日志。这使得它既适用于自动化本地工作流的开发者,也适用于希望 AI 在磁盘上直接操作真实文件和数据的分析师。 由于在本地运行并与 Claude Desktop 等兼容 MCP 的客户端集成,它能够将敏感工作保留在自己的机器上,同时仍然为助手提供实用的工具来完成任务。

主要功能

  • 终端命令执行
  • 进程管理与监控
  • 基于 diff 的文件编辑
  • 代码库和文档搜索
  • Excel 与 PDF 读写支持
  • AI 操作审计日志

价格

模型
Free
评分
4.7 / 5 (6)

使用场景

自动化本地开发者工作流

让 AI 助手直接从聊天中运行终端命令、管理进程,并对代码库进行基于 diff 的编辑,无需在工具之间复制粘贴。

AI 驱动的电子表格和 PDF 分析

让 AI 在本地磁盘上读取、修改并生成 Excel 文件和 PDF,使分析师能够将文档处理委托给操作真实本地数据的助手。

搜索并重构大型代码库

使用代码库和文档搜索加上外科手术式的 diff 编辑,高效重构或更新大量文件,同时保持低 token 使用。

对敏感数据的可审计 AI 操作

在本地运行 AI 操作并完整记录审计日志,团队可以审查每一条命令和文件更改,支持注重隐私或合规驱动的工作流。

优点 & 缺点

优点

  • 基于 diff 的编辑节省 token 并避免完整重写
  • 支持 Excel 与 PDF 文件,而不仅限于代码
  • 审计日志提升透明度和信任
  • 本地运行以获得更好隐私

缺点

  • 需要对 MCP 设置有一定熟悉度
  • 授予终端访问权限本身存在风险
  • 仅限于兼容 MCP 的 AI 客户端

对决战绩

在万神殿中参与了 1 对决。

0
第1
1
第2
0
第3

Last battle

评测

4.7

6 个评分的平均值。

5
4
4
2
3
0
2
0
1
0

登录以留下评测。

CL

Camille Laurent

May 21, 2026

Compared a few options

Evaluated this against two competitors. Where it wins: codebase and document search and works with Excel and PDF files, not just code. Where it lags: limited to MCP-compatible AI clients. On balance the feature set — especially process management and monitoring — justifies the 5 stars for our use case.

MB

Marcus Bell

Mar 17, 2026

Compared a few options

Evaluated this against two competitors. Where it wins: audit logging of AI actions and audit logs improve transparency and trust. Where it lags: granting terminal access carries inherent risk. On balance the feature set — especially audit logging of AI actions — justifies the 5 stars for our use case.

OH

Omar Haddad

Dec 19, 2025

Does the job

Pretty happy overall. Terminal command execution just works and diff-based edits save tokens and avoid full rewrites. but no dealbreakers — I'd recommend it to a friend without hesitating.

Robert Ainsworth

Robert Ainsworth

Oct 12, 2025

Solid for our team

We rolled this out across the team last quarter and runs locally for better privacy. Process management and monitoring fits neatly into how we already work, and excel and PDF read/write support removed a step we used to do by hand. Granting terminal access carries inherent risk, which is the main caveat, but it has held up under daily use.

Hannah Goldberg

Hannah Goldberg

Sep 14, 2025

Use it every day

Honestly didn't expect to like it this much. Diff-based file editing is exactly what I needed, and works with Excel and PDF files, not just code. I do wish requires comfort with MCP setup, but I reach for it almost every day now and it just clicks.

TA

Tariq Aziz

Jun 20, 2025

Use it every day

Honestly didn't expect to like it this much. Codebase and document search is exactly what I needed, and audit logs improve transparency and trust. I do wish requires comfort with MCP setup, but I reach for it almost every day now and it just clicks.

问答

Desktop Commander MCP 如何降低给予 AI 终端访问时的安全风险?

它本地运行,而不是在云端;它使用分层的 diff 来代替全面重写,以降低意外更改的风险;它还对 AI 的每个操作保持审计日志,为安全带来透明度。授予 shell 权限仍然存在风险。

Asked by Victor Nguyen · Mar 26, 2026

Desktop Commander 跟 Cursor/Windsurf 有什么区别?

与那些专注于 IDE 工具不同,Claude Desktop Commander 提供了一个以解决方案为中心的方法。它不仅仅能在编程环境中使用,而是能与整个 OS 整合在一起。Claude 可以完整地读取文件并能够在一个 go 中执行全部更改,而不是需要逐步 review。

Asked by Stella Papadopoulos · Mar 24, 2026

菜决用事义一六c前用事码:

探索和了解复杂的代码库,生成图表和文档,自动化系统中的任务,使用多个项目的同时工作,手术般的修改代码使其具有精确的控制。

Asked by Quoc Bui · Mar 10, 2026

? Desktop Commander 是什么?

Desktop Commander 是个 MCP 工具,它可以让 Claude Desktop 访问你的文件系统和终端,变 Claude 成为了一个适合Coding, 自动化, 代码库探索 等多种任务的智能助手。

Asked by Kwabena Asante · Mar 11, 2026

如果您发现安全漏洞,点击这里进行提交

请创建一个GitHub问题,并提供有关已发现安全漏洞的详细信息。请参见我们的安全政策以获取完整指南,了解有责任的披露。

Asked by Freya Solberg · Mar 3, 2026

提问

编译导为 的替代品