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.
Create a new Word document with optional metadata including title and author information.
Retrieve comprehensive document properties and statistics including metadata, page count, and word count.
Extract all text content from a Word document for analysis or processing.
Generate a structured outline of the document showing headings and document hierarchy.
List all Word documents available in a specified directory for document management.
Create a copy of an existing Word document with optional custom filename.
Convert Word documents to PDF format with optional output filename specification.
Insert headings with different levels (1-9) to structure document content.
Add paragraphs with optional styling and formatting to document content.
Create tables with custom rows, columns, and data for structured information display.
Insert images into documents with proportional scaling and size control.
Insert page breaks to control document layout and pagination.
Apply rich text formatting including bold, italic, underline, color, and font properties to specific text ranges.
Search for specific text throughout the document and replace it with new content.
Remove specific paragraphs from the document by index.
Define custom text styles with specific formatting properties for consistent document appearance.
Apply formatting to tables including borders, styles, and header row formatting.
Apply background colors and shading patterns to individual table cells.
Create alternating row colors in tables for improved readability.
Apply special formatting to table header rows with custom colors.
Merge table cells horizontally, vertically, or in rectangular areas.
Control horizontal and vertical alignment of content within table cells.
Apply text formatting (bold, italic, underline, color, font) to individual table cells.
Control spacing around content within table cells with customizable padding.
Manage column widths using points, percentages, or auto-fit capabilities.
Automatically adjust column widths to fit content optimally.
Extract all comments from a document including metadata and content.
Filter and retrieve comments from specific authors in the document.
Get all comments associated with a specific paragraph in the document.
Insert footnotes with custom text and formatting to document content.
Add endnotes to documents for additional references and citations.
Convert existing footnotes to endnotes format throughout the document.
Combine multiple Word documents into a single consolidated document.
Add password protection and editing restrictions to secure document content.
Apply digital signatures to documents for authenticity and integrity verification.
{
"mcpServers": {
"word-document-server": {
"command": "uvx",
"args": ["--from", "office-word-mcp-server", "word_mcp_server"]
}
}
}