TO

thewdy/office-editor-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

93 stars 20 forks Качество 83 Тренд 23MIT

wdy/office-editor-mcp - кандидат на сервер MCP, импортированный из https://github.com/thewdy/office-editor-mcp.

Обзор

wdy/office-editor-mcp - кандидат на сервер MCP, импортированный из https://github.com/thewdy/office-editor-mcp.

Обзор (машинный перевод)

Сервер MCP (Model Context Protocol) для обработки документов Office, позволяющий создавать и редактировать документы Word, Excel и PowerPoint в MCP-клиентах, не выходя из среды помощника AI.

Обзор

Office-Editor-MCP внедряет стандарт Model Context Protocol для раскрытия операций с документами Office в качестве инструментов и ресурсов. Он служит мостом между помощниками ИИ и документами Microsoft Office, позволяя создавать, редактировать, форматировать и анализировать различные документы Office через помощников ИИ.

Особенности

Операции с документами

####Управление документами Создание новых документов Word с метаданными (титул, автор и т.д.) Извлекать текстовое содержимое и анализировать структуру документа

  • Посмотреть свойства документов и статистику
  • Перечислить имеющиеся документы в каталоге Создание копий документов

####Создание контента Добавить заголовки с разными уровнями

  • Включить пункты с факультативным стилем
  • Создание таблиц с пользовательскими данными Добавление изображений с пропорциональным масштабированием
  • Вставить перерывы на странице

Текстовый формат

  • Формат конкретных текстовых разделов (смелый, курсивный, подчеркивающий)
  • Изменение цвета текста и свойств шрифта Применяйте пользовательские стили к текстовым элементам

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Office Document Processing MCP Server

An MCP (Model Context Protocol) server for Office document processing, enabling creation and editing of Word, Excel, and PowerPoint documents within MCP Clients without leaving the AI assistant environment.

Overview

Office-Editor-MCP implements the Model Context Protocol standard to expose Office document operations as tools and resources. It serves as a bridge between AI assistants and Microsoft Office documents, allowing you to create, edit, format, and analyze various Office documents through AI assistants.

Features

Word Document Operations

Document Management

  • Create new Word documents with metadata (title, author, etc.)
  • Extract text content and analyze document structure
  • View document properties and statistics
  • List available documents in a directory
  • Create document copies

Content Creation

  • Add headings with different levels
  • Insert paragraphs with optional styling
  • Create tables with custom data
  • Add images with proportional scaling
  • Insert page breaks

Text Formatting

  • Format specific text sections (bold, italic, underline)
  • Change text color and font properties
  • Apply custom styles to text elements
  • Search and replace text throughout documents

Excel Operations

Workbook Management

  • Create new Excel workbooks
  • Open existing Excel files
  • Add/delete/rename worksheets

Data Processing

  • Read and write cell contents
  • Insert/delete rows and columns
  • Sort and filter data
  • Apply formulas and functions

PowerPoint Operations

Presentation Management

  • Create new PowerPoint presentations
  • Add/delete/rearrange slides
  • Set slide themes and backgrounds

Content Editing

  • Add text and graphic elements
  • Insert tables and charts
  • Add animations and transitions

Advanced Features

  • OCR recognition (extract text from images)
  • Document comparison (compare differences between documents)
  • Document translation
  • Document encryption and decryption
  • Table data import/export (database interaction)

Installation Guide

Prerequisites

  • Python 3.10 or higher
  • pip package manager
  • Microsoft Office is only required for Windows COM features such as PDF export, animations, transitions, and legacy Office formats
  • Tesseract OCR is required when using ocr_recognize_text

Basic Installation

# Clone the repository
git clone https://github.com/theWDY/office-editor-mcp.git
cd office-editor-mcp

# Install dependencies
pip install -r requirements.txt

The repository exposes four independent MCP servers: word_server.py,

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "office-assistant": { "command": "python", "args": ["/path/to/office-editor-mcp/word_server.py"], "env": {"OFFICE_EDIT_PATH": "/path/to/output"} } } }