★ 1969 Python MIT sse 更新 10小时前

Office Word M C P Server

A Model Context Protocol (MCP) server for creating, reading, and manipulating Microsoft Word documents. This server enables AI assistants to work with Word documents through a standardized interface, providing rich document editing capabilities.

安装配置

{
    "mcpServers": {
        "word-document-server": {
            "command": "python",
            "args": [
                "/path/to/word_mcp_server.py"
            ]
        }
    }
}

README 摘要

# Office-Word-MCP-Server [![smithery badge](https://smithery.ai/badge/@GongRzhe/Office-Word-MCP-Server)](https://smithery.ai/server/@GongRzhe/Office-Word-MCP-Server) A Model Context Protocol (MCP) server for creating, reading, and manipulating Microsoft Word documents. This server enables AI assistants to work with Word documents through a standardized interface, providing rich document editing capabilities. ![](https://badge.mcpx.dev?type=server "MCP Server") ## Overview Office-Word-MCP-Server implements the [Model Context Protocol](https://modelcontextprotocol.io/) to expose Word document operations as tools and resources. It serves as a bridge between AI assistants and Microsoft Word documents, allowing for document creation, content addition, formatting, and analysis. The server features a modular architecture that separates concerns into core functionality, tools, and utilities, making it highly maintainable and extensible for future enhancements. ### Example #### Pormpt ![image](https://github.com/user-attachments/assets/f49b0bcc-88b2-4509-bf50-995b9a40038c) #### Output ![image](https://github.com/user-attachments/assets/ff64385d-3822-4160-8cdf-f8a484ccc01a) ## Features ### Document Management - Create new Word documents with metadata - Extract text and analyze document structure - View document properties and statistics - List available documents in a directory - Create copies of existing documents - Merge multiple documents into a single document - Convert Word documents to PDF format ### Content Creation - Add headings with different levels and direct formatting (font, size, bold, italic, borders) - Insert paragraphs with optional styling and direct formatting (font, size, bold, italic, color) - Create tables with custom data - Add images with proportional scaling - Insert page breaks - Insert bulleted and numbered lists with proper XML formatting - Add footnotes and endnotes to documents - Convert footnotes to endnotes - Customize footnote and endnote styling - Create professional table layouts for technical documentation - Design callout boxes and formatted content for instructional materials - Build structured data tables for business reports with consistent styling - Insert content relative to existing text or paragraph indices ### Rich 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 - Individual cell text formatting within tables - Multiple formatting combinations for enhanced visual appeal - Font customization with family and size control - Direct formatting during content creation (paragraphs and headings) - Reduce function calls by combining content creation with formatting - Add section header borders for visual separation ### Table Formatting - Format tables with borders and styles - Create header rows with distinct formatting - Apply cell shading and custom borders - Structure tables for better readability - Individual cell background shading with color support - Alternating row colors for improved readability - Enhanced header row highlighting with custom colors - Cell text formatting with bold, italic, underline, color, font size, and font family - Comprehensive color support with named colors and hex color codes - Cell padding management with independent control of all sides - Cell alignment (horizontal and vertical positioning) - Cell mer...

相关 MCP

Fastapi

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

★ 11868 Python sse 待补充
mcp Python sse

Chrome

Chrome MCP Server is a Chrome extension-based Model Context Protocol (MCP) server that exposes your Chrome browser funct...

★ 11659 TypeScript sse 有配置
mcp sse TypeScript

Unity

Unity MCP acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via...

★ 9756 C# sse 有配置
mcp sse C#

Go

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and exte...

★ 8720 Go sse 待补充
mcp sse Go

Agent

Build effective agents using Model Context Protocol and simple workflow patterns

★ 8327 Python sse 待补充
mcp Python sse