mcp-server-office

mcp-server-office

3.5

If you are the rightful owner of mcp-server-office and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server providing tools to read/write Microsoft Word (docx) files.

MCP Server Office is a specialized server designed to facilitate the manipulation of Microsoft Word (docx) files through a Model Context Protocol (MCP). It offers a suite of tools that allow users to read, write, and edit docx files programmatically. This server is particularly useful for applications that require automated document processing, such as generating reports, modifying document content, or extracting information from Word files. The server can be installed via Smithery or pip, and it supports operations like reading the complete contents of a docx file, creating new docx files with specified content, and editing or inserting paragraphs within existing files. The server is compatible with Python 3.12 and requires specific dependencies to function effectively.

Features

  • Read complete contents of a docx file including tables and images.
  • Create a new docx file with given content.
  • Make text replacements in specified paragraphs of a docx file.
  • Insert new paragraphs into a docx file.

Tools

  1. read_docx`

    Read the docx file content

  2. write_docx`

    Create a new docx file

  3. edit_docx_paragraph`

    Edit text in a specified paragraph

  4. edit_docx_insert`

    Insert new paragraphs in the file