ماذا يمكنك أن تفعل مع Word Document Operations؟
- read_word_document: Read text from .docx files
- create_word_document: Create new Word documents
- append_to_document: Add content to existing documents
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
word-mcp-server-swadegeiger1claude mcp add word-document-operations -- uvx word-mcp-server-swadegeiger1==1.0.0
{
"mcpServers": {
"word-document-operations": {
"command": "uvx",
"args": [
"word-mcp-server-swadegeiger1==1.0.0"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Word MCP Server
Minimal MCP server for Microsoft Word document operations using python-docx.
Features
- read_word_document: Read text from .docx files
- create_word_document: Create new Word documents
- append_to_document: Add content to existing documents
Installation
cd ~/word-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
chmod +x server.py
Configuration
Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"word-mcp": {
"command": "~/word-mcp-server/venv/bin/python",
"args": ["~/word-mcp-server/server.py"]
}
}
}
Note: The ~ will automatically expand to your home directory, making this configuration work for any user.
Usage Examples
Read a document:
Read the Word document at ~/Documents/report.docx
Create a document:
Create a Word document at ~/Documents/memo.docx with the content "Meeting Notes\n\nDiscussed Q1 goals"
Append to a document:
Append "Action Items:\n- Review budget" to ~/Documents/memo.docx
الأسئلة الشائعة
ما هو Word Document Operations؟
Read, create, and modify Microsoft Word documents
كيف أثبّت Word Document Operations؟
يعمل على جهازك. في Claude Code: claude mcp add word-document-operations -- uvx word-mcp-server-swadegeiger1==1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Word Document Operations إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Word Document Operations مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Word Document Operations؟
ينشره swadegeiger1. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.