@adeu/mcp-server

中文文档
3.1.0发布于 2026/11/05MITTypeScriptES Module构建来源已验证近 30 天下载 2853

GitHub Repo stars MCP Compatible [![License: MIT](ht

原始使用文档
文档目录7 节
  1. Usage with MCP Clients
  2. Exposed Tools
  3. Document tools
  4. Email tools
  5. Cloud tools
  6. Documentation & Support
  7. Development Runbook Note: Workspace Linkage Trap

@adeu/mcp-server

GitHub Repo stars MCP Compatible License: MIT

Native Microsoft Word Track Changes for AI Agents

@adeu/mcp-server is a standalone Node.js Model Context Protocol (MCP) server that acts as a "Virtual DOM" for Microsoft Word documents. It provides AI agents (like Claude) with tools to safely read, edit, and sanitize .docx files without destroying underlying formatting or complex XML.

This package provides the exact same engine as the Python adeu CLI, but executes entirely via Node.js—making it ideal for environments where Python is unavailable or undesired.

Usage with MCP Clients

You can add this server directly to your MCP client (like Claude Desktop, Cursor, or Windsurf) using npx.

Add the following to your MCP configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "adeu-node": {
      "command": "npx",
      "args": ["-y", "@adeu/mcp-server"]
    }
  }
}

Exposed Tools

Once connected, your AI agent will have access to the following tools.

Document tools

  • read_docx: Reads a DOCX file and returns LLM-friendly text with inline CriticMarkup ({++inserted++}, {--deleted--}) for Tracked Changes and Comments. Supports pagination, structural outlining, form fields discovery (mode="fields"), and semantic appendix extraction.
  • process_document_batch: Applies a batch of search-and-replace text modifications, form field edits (set_field), table edits, and comment replies to a document. Translates the LLM's edits into perfectly formatted native Word Track Changes.
  • accept_all_changes: Accepts all tracked changes to produce a finalized clean document. remove_comments (default true) also deletes every comment; pass remove_comments=false to keep them. Deleted comments are reported by id and author.
  • diff_docx_files: Compares two DOCX files and returns a unified sub-word diff of their text content.
  • finalize_document: Prepares a document for signature by applying native OOXML read-only locking and deep metadata sanitization.

Email tools

These require an authenticated Adeu Cloud session (see Cloud tools below).

  • search_and_fetch_emails: Searches the user's live email inbox via the Adeu Cloud backend and returns matching messages.
  • create_email_draft: Creates an email draft in the user's native draft box (Outlook Drafts or Gmail Drafts).
  • list_available_mailboxes: Lists all personal and shared/delegated mailboxes the authenticated user can access across every linked provider account, including each mailbox's address, display name, and auto-processing settings.

Cloud tools

  • login_to_adeu_cloud: Logs the user into Adeu Cloud, opening a browser window for SSO authentication.
  • logout_of_adeu_cloud: Logs out of the Adeu Cloud backend.

Documentation & Support

For full architectural details, prompt recommendations, and the project constitution, please visit the main Adeu repository or our website.


Development Runbook Note: Workspace Linkage Trap

[!WARNING] Node MCP: a committed source fix is NOT a running fix. dist/ is gitignored and the server runs the compiled bundle. After ANY change to node/packages/core or mcp-server:

  1. Relink dependencies: cd node && npm install (relinks @adeu/core in the workspace; a copied — not symlinked — core is the #1 cause of "fix didn't take").
  2. Rebuild the workspace: npm run build (core builds before mcp-server; confirm core/dist timestamp is updated).
  3. Verify: Check that the build verification sentinel check succeeds (automatically runs postbuild, or can be run manually via npm run build:verify under packages/mcp-server).
  4. Restart the MCP server: Restart the MCP server AND reconnect in the client to flush any cached process states.
  5. Confirm the build stamp: Verify that the build stamp in the live server (via server_info or startup logs) matches your built git HEAD.

版本与发布记录

@adeu/mcp-server 共发布 60 个版本,首次发布于 2026/05/11;过去 12 个月发布了 60 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
3.1.0latest2026/11/052 天前
3.0.72026/10/051 个月前
3.0.62026/09/171 个月前
3.0.52026/09/141 个月前
3.0.42026/09/091 个月前
3.0.32026/09/081 个月前

关于 @adeu/mcp-server 的常见问题

@adeu/mcp-server 是什么?

[![License: MIT](ht

如何安装 @adeu/mcp-server?

在项目目录运行 npm install @adeu/mcp-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 adeu-mcp-server,可以用 npx adeu-mcp-server 直接运行。

@adeu/mcp-server 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@adeu/mcp-server 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@adeu/mcp-server 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@adeu/mcp-server 可以商用吗?

@adeu/mcp-server 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@adeu/mcp-server 的下载量有多少?

根据 npm 官方下载统计,@adeu/mcp-server 在 2026/10/05 – 2026/11/03 这 30 天内被下载 2,853 次,日均约 95 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@adeu/mcp-server 还在维护吗?

最新版本 3.1.0 发布于 2026/11/05(2 天前);至今共发布 60 个版本,其中过去 12 个月发布了 60 个;首次发布于 2026/05/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。