graph TD
subgraph "客户端通信模块"
A[用户请求] --> B{"参数校验"}
B -->|"校验通过"| C[封装数据包]
B -->|"校验失败"| D[返回错误]
end
C --> E[发送数据]
E --> F{"服务端消息队列"}
F -->|"解析消息"| G[消息处理模块]
subgraph "服务端逻辑处理模块"
G -->|"执行动作"| H{"文档操作选择"}
H -->|"编辑操作"| I[文档编辑器操作]
H -->|"跟踪变化"| J[变更日志生成]
end
I --> K[文档存储]
J --> L[变更日志存储]
K --> M[发送更新]
L --> M
word-mcp-live gives any AI assistant that supports MCP full control of Microsoft Word. Open a document, tell the AI what you need, and watch it happen — formatting, tracked changes, comments, and all. Changes appear live in your open document.
Without word-mcp-live
AI can discuss your document but can’t touch it
You copy-paste between AI and Word, losing formatting
Track changes? You do those manually after the fact
Every edit means save → close → process → reopen
With word-mcp-live
“Add a tracked change replacing ABC Corp with XYZ Ltd” — done
Changes appear live in your open Word document
Every AI edit is one Ctrl+Z away
Real tracked changes with your name, not XML hacks
Both modes work together. The AI picks the right one for the task.
macOS Live Editing (New in v1.5.0)
Live tools now work on macOS via JavaScript for Automation (JXA). Same tool names, same parameters — the server detects your platform and uses the right automation backend.
"Draft a contract with tracked changes so my colleague can review"
"Format all headings as Cambria 13pt bold and add automatic numbering"
"Add a comment on paragraph 3 asking about the deadline"
"Find every mention of 'ABC Corp' and replace with 'XYZ Ltd' as a tracked change"
"Set the page to A4 landscape with 2cm margins"
"Insert a table of contents based on the document headings"
"Add page numbers in the footer and our company name in the header"
"Insert a cross-reference to Heading 2 in paragraph 5"
The replacements appear as tracked changes in Word with strikethrough on “ABC Corporation” and underline on “XYZ Ltd”.
Example 3: Add a comment anchored to text (cross-platform)
Tool call:add_comment
{
"filename": "C:/Documents/contract.docx",
"target_text": "payment within 30 days",
"comment_text": "Should we extend this to 45 days?",
"author": "Jane Smith"
}
Expected output:
{
"status": "success",
"message": "Comment added by Jane Smith on 'payment within 30 days'"
}
The comment appears in Word’s Review panel, anchored to the specified text.
评论