MCP.so
ログイン

MCP Server Office

@MCP-Mirror

MCP Server Office について

Mirror of

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

python

トランスポート

stdio

公開者

MCP-Mirror

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "famano_mcp-server-office": {
      "command": "uvx",
      "args": [
        "mcp-server-office"
      ]
    }
  }
}

ツール

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

概要

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.

コメント

「その他」の他のコンテンツ