office-mcp تایید شده

MCP server for Word, Excel, PowerPoint operations via AI

42از ۱۰۰
۱.۰k
ستاره
۶۲
دانلود
۱۵۱
بازدید

// نصب مهارت

نصب مهارت

مهارت‌ها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناخته‌شده را اسکن می‌کند اما نمی‌تواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.

نصب سراسری (سطح کاربر):

npx skillhub install openclaw/skills/office-mcp

نصب در پروژه فعلی:

npx skillhub install openclaw/skills/office-mcp --project

skill.install.customTargetHelp

npx skillhub install openclaw/skills/office-mcp --target-dir /path/to/skills

مسیر پیشنهادی: ~/.claude/skills/office-mcp/

بررسی هوش مصنوعی

42
از ۱۰۰
کیفیت دستورالعمل40
دقت توضیحات25
کاربردی بودن53
صحت فنی55

Shows a good MCP integration concept but lacks executable implementation — code is embedded in docs, not bundled as runnable scripts. Generic description with no triggers. Score 42 reflects decent concept but poor skill packaging.

prototypemoderatedevelopers-needing-office-automationoffice-automationdocument-generationmcp-integration
بررسی‌شده توسط claude-code در تاریخ ۱۴۰۵/۱/۱۰

محتوای SKILL.md

---
name: office-mcp
description: MCP server for Word, Excel, PowerPoint operations via AI
author: claude-office-skills
version: "1.0"
tags: ['mcp', 'office', 'word', 'excel', 'powerpoint']
models: [claude-sonnet-4, claude-opus-4]
tools: [computer, code_execution, file_operations]
library:
  name: Office MCP
  url: https://github.com/anthropics/skills
  stars: N/A
---

# Office Mcp Skill

## Overview

This skill wraps Office document operations as MCP tools, allowing Claude to create, edit, and manipulate Word, Excel, and PowerPoint files with standardized interfaces.

## How to Use

1. Describe what you want to accomplish
2. Provide any required input data or files
3. I'll execute the appropriate operations

**Example prompts:**
- "Create Word documents with AI-generated content"
- "Build Excel spreadsheets with formulas"
- "Generate PowerPoint presentations"
- "Batch edit Office documents"

## Domain Knowledge


### Office MCP Tools

| Tool | Input | Output |
|------|-------|--------|
| `create_docx` | Title, sections, styles | .docx file |
| `edit_docx` | Path, changes | Updated .docx |
| `create_xlsx` | Data, formulas | .xlsx file |
| `create_pptx` | Slides, layout | .pptx file |

### Integration with Claude Skills

```markdown
# Example: Combining Skills + MCP

User: "Create a sales report from this data"

1. Data Analysis Skill → Analyze data
2. office-mcp/create_docx → Generate Word report
3. office-mcp/create_xlsx → Generate Excel summary
4. office-mcp/create_pptx → Generate PowerPoint deck
```

### MCP Server Implementation

```python
from mcp import Server
from docx import Document
from openpyxl import Workbook

server = Server("office-mcp")

@server.tool("create_docx")
async def create_docx(title: str, content: str, output_path: str):
    doc = Document()
    doc.add_heading(title, 0)
    doc.add_paragraph(content)
    doc.save(output_path)
    return {"status": "success", "path": output_path}

@server.tool("create_xlsx")
async def create_xlsx(data: list, output_path: str):
    wb = Workbook()
    ws = wb.active
    for row in data:
        ws.append(row)
    wb.save(output_path)
    return {"status": "success", "path": output_path}
```


## Best Practices

1. **Validate inputs before document operations**
2. **Use temp files for large documents**
3. **Return structured responses with file paths**
4. **Handle errors gracefully with meaningful messages**

## Installation

```bash
# Install required dependencies
pip install python-docx openpyxl python-pptx reportlab jinja2
```

## Resources

- [Office MCP Repository](https://github.com/anthropics/skills)
- [Claude Office Skills Hub](https://github.com/claude-office-skills/skills)

مجوز

مجوز اعلام‌شده: MIT

MIT License

Copyright (c) 2026 claude-office-skills

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

مشاهدهٔ مجوز در مخزن منبعنسخهٔ منتشرشده در آن‌جا مرجع است.