Office Word MCP Server

Office Word MCP Server

生産性
GongRzhe
claudecursorvscodecodexgeneric
FreeOpen Source

このサーバーについて

AI エージェントが Microsoft Word 文書を作成、読み取り、編集できる MCP サーバー。.docx ファイルの生成、テキストコンテンツの読み書き、スタイルの適用をサポートし、文書処理の自動化を実現します。

インストール

npx -y office-word-mcp-server
公式 README インストールガイド(英語原文)

Installing via Smithery

To install Office Word Document Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claude

Prerequisites

  • Python 3.8 or higher
  • pip package manager

Basic Installation

bash
# Clone the repository
git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
cd Office-Word-MCP-Server

# Install dependencies
pip install -r requirements.txt

Using the Setup Script

Alternatively, you can use the provided setup script which handles:

  • Checking prerequisites
  • Setting up a virtual environment
  • Installing dependencies
  • Generating MCP configuration
bash
python setup_mcp.py

よくある質問

Office Word MCP は何ができますか?

AI エージェントが Word 文書を直接操作できます:新しい文書の作成とコンテンツの書き込み、既存文書のテキストと構造の読み取り、フォント/サイズ/色の書式設定、表とリストの挿入、ヘッダーとフッターの追加。レポートの自動生成、文書の一括処理、コンテンツ抽出などのシーンに最適です。

Office Word MCP を使用するには Microsoft Office のインストールが必要ですか?

いいえ。MCP サーバーは python-docx ライブラリをベースにしており、Microsoft Office を必要とせずに .docx ファイル形式を直接操作します。そのため、Windows、macOS、Linux で動作し、Office ライセンスは不要です。

Office Word MCP は中国語に対応していますか?

完全対応しています。python-docx の Unicode サポートに基づき、中国語、日本語などのマルチバイト文字の文書読み書きや書式設定を正しく処理できます。