@adeu/mcp-server 1.6.8 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/dist/index.js +772 -143
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/desktop-auth.ts +127 -0
- package/src/index.ts +418 -204
- package/src/mcp.bugs.test.ts +162 -0
- package/src/mcp.cloud.test.ts +138 -0
- package/src/shared.ts +7 -0
- package/src/tools/auth.ts +49 -0
- package/src/tools/email.ts +313 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# @adeu/mcp-server
|
|
3
|
+
|
|
4
|
+
[](https://github.com/dealfluence/adeu)
|
|
5
|
+
[](https://modelcontextprotocol.io/)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
**Native Microsoft Word Track Changes for AI Agents**
|
|
9
|
+
|
|
10
|
+
`@adeu/mcp-server` is a standalone Node.js [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) 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.
|
|
11
|
+
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
## Usage with MCP Clients
|
|
15
|
+
|
|
16
|
+
You can add this server directly to your MCP client (like Claude Desktop, Cursor, or Windsurf) using `npx`.
|
|
17
|
+
|
|
18
|
+
Add the following to your MCP configuration file (`claude_desktop_config.json`):
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"mcpServers": {
|
|
23
|
+
"adeu-node": {
|
|
24
|
+
"command": "npx",
|
|
25
|
+
"args": ["-y", "@adeu/mcp-server"]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Exposed Tools
|
|
32
|
+
|
|
33
|
+
Once connected, your AI agent will have access to the following tools:
|
|
34
|
+
|
|
35
|
+
- `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, and semantic appendix extraction.
|
|
36
|
+
- `process_document_batch`: Applies a batch of search-and-replace text modifications, table edits, and comment replies to a document. Translates the LLM's edits into perfectly formatted native Word Track Changes.
|
|
37
|
+
- `accept_all_changes`: Accepts all tracked changes and removes all comments to produce a finalized clean document.
|
|
38
|
+
- `diff_docx_files`: Compares two DOCX files and returns a unified sub-word diff of their text content.
|
|
39
|
+
- `finalize_document`: Prepares a document for signature by applying native OOXML read-only locking and deep metadata sanitization.
|
|
40
|
+
|
|
41
|
+
## Documentation & Support
|
|
42
|
+
For full architectural details, prompt recommendations, and the project constitution, please visit the [main Adeu repository](https://github.com/dealfluence/adeu) or our [website](https://adeu.ai).
|