MCP.so
Sign In

Office-Word-MCP-Server

@MCP-Mirror

About Office-Word-MCP-Server

Mirror of

Basic information

Category

Other

License

MIT license

Runtime

python

Transports

stdio

Publisher

MCP-Mirror

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "GongRzhe_Office-Word-MCP-Server": {
      "command": "python",
      "args": [
        "setup_mcp.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Office-Word-MCP-Server?

An MCP server for creating, reading, and manipulating Microsoft Word documents, enabling AI assistants to work with Word documents through a standardized interface.

How to use Office-Word-MCP-Server?

Install via git clone and pip install -r requirements.txt, or use the setup script python setup_mcp.py. Configure as an MCP server in Claude for Desktop by adding its command to the configuration file (e.g., "command": "python", "args": ["/path/to/word_mcp_server.py"]). Alternatively, use uvx without local installation.

Key features of Office-Word-MCP-Server

  • Document creation, metadata, and text extraction
  • Add headings, paragraphs, tables, images, and page breaks
  • Rich text formatting: bold, italic, underline, color, font
  • Search and replace text throughout documents
  • Table formatting with borders, header rows, and shading
  • Document protection with passwords and digital signatures

Use cases of Office-Word-MCP-Server

  • Create a new document with a title page and headings
  • Insert a table with sales data and apply formatting
  • Format specific words in bold and red within paragraphs
  • Search and replace all instances of a term in a document
  • Convert a Word document to PDF format

FAQ from Office-Word-MCP-Server

What are the prerequisites for using Office-Word-MCP-Server?

Python 3.8 or higher and the pip package manager are required.

How can I enable debugging for the server?

Set the environment variable MCP_DEBUG=1 (Linux/macOS) or set MCP_DEBUG=1 (Windows) to enable detailed logging.

What should I do if I encounter "Missing Styles" when adding headings or tables?

The server attempts to create missing styles or use direct formatting; for best results, use templates with standard Word styles.

How do I resolve permission issues when reading or writing documents?

Ensure the server has read/write permissions to the document paths; use copy_document to create editable copies of locked files.

How do I fix image insertion problems?

Use absolute paths for image files, verify JPEG or PNG format compatibility, and check file size and permissions.

Comments

More Other MCP servers