MCP Server Office
by MCP-Mirror
MCP Server Office is a Model Context Protocol (MCP) server designed to read and write Microsoft Word (docx) files. It provides tools for content extraction, creation, and editing of docx documents.
Last updated: N/A
What is MCP Server Office?
MCP Server Office is an MCP server that provides tools to interact with Microsoft Word (docx) files, allowing for reading, writing, and editing of document content.
How to use MCP Server Office?
Install the server using pip install mcp-server-office
or uvx mcp-server-office
. Then, start the server by running mcp-server-office
. The server provides several tools accessible via the MCP protocol.
Key features of MCP Server Office
Read complete contents of docx files, including tables and images (converted to placeholders).
Create new docx files with specified content, supporting paragraph formatting and tables.
Edit existing docx files by replacing text in specific paragraphs.
Insert new paragraphs into docx files at specified positions or at the end of the document.
Use cases of MCP Server Office
Automated document content extraction for data analysis.
Programmatic generation of reports and documents from templates.
Bulk editing of docx files for content updates.
Integration with other systems to provide document processing capabilities.
FAQ from MCP Server Office
What file types are supported?
What file types are supported?
The server primarily supports Microsoft Word docx files.
How are images handled when reading a docx file?
How are images handled when reading a docx file?
Images are converted to [Image] placeholders in the extracted content.
How do I format paragraphs when writing a docx file?
How do I format paragraphs when writing a docx file?
Use double line breaks to separate paragraphs.
How do I create tables in a docx file?
How do I create tables in a docx file?
Use the [Table] tag with | separators for table cells.
What are the minimum requirements to run this server?
What are the minimum requirements to run this server?
You need Python >= 3.12, mcp[cli] >= 1.2.0, and python-docx >= 1.1.2.