MCP.so
ログイン

MCP Server Office

@famano

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

famano

MCP Server Office について

概要はまだありません

MCP Server Office の設定

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

{
  "mcpServers": {
    "test": {
      "command": "docker"
    }
  }
}

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 intended for developers who need to programmatically interact with Word documents through MCP-compatible clients like Claude Desktop.

How to use MCP Server Office?

Install via pip (pip install mcp-server-office) or uv (uvx mcp-server-office), then start the server with mcp-server-office. Alternatively, install automatically for Claude Desktop using Smithery. The server exposes four tools: read_docx, write_docx, edit_docx_paragraph, and edit_docx_insert.

Key features of MCP Server Office

  • Read complete docx contents including tables and images
  • Create new docx files with specified content
  • Edit specific paragraphs via search-and-replace
  • Insert new paragraphs at chosen positions

Use cases of MCP Server Office

  • Programmatically extract text and tables from Word documents
  • Generate .docx reports or documents from AI-driven workflows
  • Automate minor edits to existing Word files (e.g., updating boilerplate text)
  • Insert additional content into a document without overwriting the whole file

よくある質問

1

What image handling does `read_docx` have?

Images are converted to `[Image]` placeholders in the output. Track changes are not shown.

2

How do I write tables with `write_docx`?

Use the `[Table]` tag with pipe (`|`) separators to define table rows and columns.

3

Can I edit a paragraph that contains the search text multiple times?

No. Each `search` string must match exactly once within the specified paragraph for `edit_docx_paragraph` to succeed.

4

What are the runtime requirements?

Python 3.12 or higher, plus the `mcp[cli] >= 1.2.0` and `python-docx >= 1.1.2` packages.

5

Where are the Word files stored?

The server operates on local file paths provided by the user; it does not manage cloud storage or remote file systems.

コメント

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