Skip to main content
Glama

MCP Server Office

Smithery badge

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

Installing via Smithery

To install Server Office for Claude Desktop automatically via Smithery :

npx -y @smithery/cli install @famano/mcp-server-office --client claude

Usage

Install with pip:

pip install mcp-server-office

Then, start the MCP server:

mcp-server-office

Or using uv, just:

uvx mcp-server-office

Available Tools

  1. read_docx : Read complete contents of a docx file including tables and images.

    • Input: path (string) - Absolute path to the target file

    • Note: Images are converted to [Image] placeholders, and track changes are not shown

  2. write_docx : Create a new docx file with given content.

    • Input:

      • path (string) - Absolute path to target file

      • content (string) - Content to write to the file

    • Note: Use double line breaks for new paragraphs, and [Table] tag with | separators for tables

  3. edit_docx_paragraph : Make text replacements in specified paragraphs of a docx file.

    • Input:

      • path (string) - Absolute path to file to edit

      • edits (array) - List of dictionaries containing search/replace text and paragraph index

        • paragraph_index (number) - 0-based index of the paragraph to edit

        • search (string) - Text to find within the specified paragraph

        • replace (string) - Text to replace with

    • Note: Each search string must match exactly once within the specified paragraph

  4. edit_docx_insert : Insert new paragraphs into a docx file.

    • Input:

      • path (string) - Absolute path to file to edit

      • inserts (array) - List of dictionaries containing text and optional paragraph index

        • text (string) - Text to insert as a new paragraph

        • paragraph_index (number, optional) - 0-based index of the paragraph before which to insert. If not specified, insert at the end.

Related MCP server: DOCX MCP Server

Requirements

  • Python >= 3.12

  • Dependencies:

    • mcp[cli] >= 1.2.0

    • python-docx >= 1.1.2


MCP Server Office (Japanese)

Smithery badge

A Model Context Protocol (MCP) server that provides reading and writing Microsoft Word (docx) files.

Installation by Smithery

To automatically install Server Office on Claude Desktop via Smithery :

npx -y @smithery/cli install @famano/mcp-server-office --client claude

How to use

Install using pip:

pip install mcp-server-office

Start the MCP server:

mcp-server-office

Or, using uv:

uvx mcp-server-office

Available Tools

  1. read_docx : Reads the complete content of a docx file, including tables and images.

    • Input: path (string) - absolute path of the target file

    • Note: Images are converted to a placeholder called [Image] and revision history is not displayed.

  2. write_docx : Creates a new docx file with the specified content.

    • input:

      • path (string) - The absolute path of the file to create.

      • content (string) - the content to write to the file

    • Note: Paragraphs are separated by two line breaks, tables use the [Table] tag and | separator

  3. edit_docx_paragraph : Replaces the text of a specified paragraph in a docx file.

    • input:

      • path (string) - The absolute path of the file to edit.

      • edits (array) - List of dictionaries containing search/replace text and paragraph indexes

        • paragraph_index (number) – the 0-based index of the paragraph to edit.

        • search (string) – The text to search for in the specified paragraph.

        • replace (string) – The replacement text.

    • Note: Each search string must match exactly once in a given paragraph.

  4. edit_docx_insert : Inserts a new paragraph into a docx file.

    • input:

      • path (string) - The absolute path of the file to edit.

      • inserts (array) - A list of dictionaries containing the text and optional paragraph indexes.

        • text (string) – the text to insert as a new paragraph

        • paragraph_index (number, optional) - 0-based index of the paragraph to insert at. If not specified it will insert at the end.

Requirements

  • Python >= 3.12

  • Dependent packages:

    • mcp[cli] >= 1.2.0

    • python-docx >= 1.1.2

A
license - permissive license
A
quality
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    A comprehensive Model Context Protocol server that processes Microsoft Word documents with full formatting support, enabling text extraction, HTML/Markdown conversion, structure analysis, and image extraction.
    5
    2
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A Python server implementing Model Context Protocol for advanced Microsoft Word document manipulation, enabling programmatic automation of complex document processing tasks.
  • A
    license
    B
    quality
    C
    maintenance
    An MCP server for reading, editing, and validating Microsoft Word documents with specialized support for track changes, comments, and footnotes. It enables structural auditing, heading extraction, and precise OOXML-level document manipulation through natural language tools.
    100
    43
    MIT

View all related MCP servers

Related MCP Connectors

  • A Model Context Protocol server for Wix AI tools

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/famano/mcp-server-office'

If you have feedback or need assistance with the MCP directory API, please join our Discord server