What is A Model Context Protocol (MCP) server for creating, reading, and manipulating Microsoft Word documents.?
Office-Word-MCP-Server implements the Model Context Protocol 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.
Documentation
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.
Overview
Office-Word-MCP-Server implements the Model Context Protocol 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
Output
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
Insert paragraphs with optional styling
Create tables with custom data
Add images with proportional scaling
Insert page breaks
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
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
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 merging (horizontal, vertical, and rectangular areas)
Column width management with multiple units (points, percentage, auto-fit)
Auto-fit capabilities for dynamic column sizing
Professional callout table support with icon cells and styled content
Advanced Document Manipulation
Delete paragraphs
Create custom document styles
Apply consistent formatting throughout documents
Format specific ranges of text with detailed control
Flexible padding units with support for points and percentage-based measurements
Clear, readable table presentation with proper alignment and spacing
Document Protection
Add password protection to documents
Implement restricted editing with editable sections
Add digital signatures to documents
Verify document authenticity and integrity
Comment Extraction
Extract all comments from a document
Filter comments by author
Get comments for specific paragraphs
Access comment metadata (author, date, text)
Installation# Installing via Smithery
To install Office Word Document Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claude
Note: This server interacts with document files on your system. Always verify that requested operations are appropriate before confirming them in Claude for Desktop or other MCP clients.