MCP Server Office
@MCP-Mirror
About MCP Server Office
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"famano_mcp-server-office": {
"command": "uvx",
"args": [
"mcp-server-office"
]
}
}
}Tools
7`path` (string) - Absolute path to the target file
Images are converted to [Image] placeholders, and track changes are not shown
`path` (string) - Absolute path to target file
Use double line breaks for new paragraphs, and [Table] tag with | separators for tables
`path` (string) - Absolute path to file to edit
Each search string must match exactly once within the specified paragraph
`path` (string) - Absolute path to file to edit
Overview
What is MCP Server Office?
MCP Server Office is a Model Context Protocol (MCP) server that provides tools to read and write Microsoft Word (.docx) files. It is designed for developers who want to programmatically interact with Word documents through an AI assistant or MCP‑compatible agent.
How to use MCP Server Office?
Install with pip install mcp-server-office and then run mcp-server-office. Alternatively, use uvx mcp-server-office. The server exposes four tools: read_docx, write_docx, edit_docx_paragraph, and edit_docx_insert, each with its own parameters and notes.
Key features of MCP Server Office
- Read complete docx contents including tables and images.
- Write new docx files with content and table support.
- Edit specific paragraphs by search‑and‑replace.
- Insert new paragraphs at a given position or at the end.
- Works with absolute file paths on the local system.
Use cases of MCP Server Office
- Automate generation of Word documents from templates.
- Extract text and table data from existing docx files.
- Make targeted text replacements in specific paragraphs.
- Insert new content dynamically into an existing document.
FAQ from MCP Server Office
What can MCP Server Office do?
It can read the complete contents (including tables and images) of a docx file, write a new docx file, edit a specific paragraph by search‑and‑replace, and insert new paragraphs at a chosen position.
What are the dependencies?
Python >= 3.12 is required, along with mcp[cli] >= 1.2.0 and python-docx >= 1.1.2.
How do I install MCP Server Office?
Install via pip: pip install mcp-server-office. Then run the server with mcp-server-office. Alternatively, use uvx mcp-server-office.
What tools are available?
read_docx (reads file contents), write_docx (creates a new file), edit_docx_paragraph (replaces text in a specific paragraph), and edit_docx_insert (inserts a new paragraph before a given index or at the end).
Are there any limitations?
Images are converted to [Image] placeholders, and track changes are not shown. For edit_docx_paragraph, each search string must match exactly once in the specified paragraph.
More Other MCP servers
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Nginx UI
0xJackyYet another WebUI for Nginx
Awesome Mlops
visengerA curated list of references for MLOps
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Comments