AgentPantheon
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 客户端

评测

4.7

6 个评分的平均值。

5
4
4
2
3
0
2
0
1
0

登录以留下评测。

C

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.

M

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.

O

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.

R

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.

H

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.

T

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.

问答

What file types and tasks can it handle beyond running shell commands?

In addition to terminal execution and process management, it performs diff-based file edits, searches across codebases and documents, and reads and writes Excel spreadsheets and PDFs, making it useful for both developers and analysts.

How does it address the security risks of giving an AI terminal access?

It runs locally rather than in the cloud, uses targeted diff-based edits instead of full rewrites to limit unintended changes, and keeps an audit log of every action the AI takes for transparency. Granting shell access still carries inherent risk.

Which AI clients can I use Desktop Commander MCP with?

It works with MCP-compatible clients like Claude Desktop. Because it relies on the Model Context Protocol, any assistant or app that speaks MCP can connect, but non-MCP clients are not supported.

提问

Programming Assistants 的替代品