MCP Server Office
MCP Server Office
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 claudeUsage
Install with pip:
pip install mcp-server-officeThen, start the MCP server:
mcp-server-officeOr using uv, just:
uvx mcp-server-officeAvailable Tools
read_docx: Read complete contents of a docx file including tables and images.Input:
path(string) - Absolute path to the target fileNote: Images are converted to [Image] placeholders, and track changes are not shown
write_docx: Create a new docx file with given content.Input:
path(string) - Absolute path to target filecontent(string) - Content to write to the file
Note: Use double line breaks for new paragraphs, and [Table] tag with | separators for tables
edit_docx_paragraph: Make text replacements in specified paragraphs of a docx file.Input:
path(string) - Absolute path to file to editedits(array) - List of dictionaries containing search/replace text and paragraph indexparagraph_index(number) - 0-based index of the paragraph to editsearch(string) - Text to find within the specified paragraphreplace(string) - Text to replace with
Note: Each search string must match exactly once within the specified paragraph
edit_docx_insert: Insert new paragraphs into a docx file.Input:
path(string) - Absolute path to file to editinserts(array) - List of dictionaries containing text and optional paragraph indextext(string) - Text to insert as a new paragraphparagraph_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 (日本語)
Microsoft Word (docx) ファイルの読み書きを提供するModel Context Protocol (MCP) サーバーです。
Smitheryによるインストール
Smithery経由でClaude DesktopにServer Officeを自動インストールするには:
npx -y @smithery/cli install @famano/mcp-server-office --client claude使用方法
pipを使用してインストール:
pip install mcp-server-officeMCPサーバーの起動:
mcp-server-officeまたは、uvを使う場合:
uvx mcp-server-office利用可能なツール
read_docx: docxファイルの内容を表やイメージを含めて完全に読み取ります。入力:
path(文字列) - 対象ファイルの絶対パス注意: 画像は[Image]というプレースホルダーに変換され、変更履歴は表示されません
write_docx: 新しいdocxファイルを指定された内容で作成します。入力:
path(文字列) - 作成するファイルの絶対パスcontent(文字列) - ファイルに書き込む内容
注意: 段落は2つの改行で区切り、表は[Table]タグと|区切りを使用します
edit_docx_paragraph: docxファイル内の指定された段落のテキストを置換します。入力:
path(文字列) - 編集するファイルの絶対パスedits(配列) - 検索/置換テキストと段落インデックスを含む辞書のリストparagraph_index(数値) - 編集する段落の0ベースのインデックスsearch(文字列) - 指定された段落内で検索するテキストreplace(文字列) - 置換するテキスト
注意: 各検索文字列は指定された段落内で一度だけマッチする必要があります
edit_docx_insert: docxファイルに新しい段落を挿入します。入力:
path(文字列) - 編集するファイルの絶対パスinserts(配列) - テキストとオプションの段落インデックスを含む辞書のリストtext(文字列) - 新しい段落として挿入するテキストparagraph_index(数値, オプション) - 挿入する位置の段落の0ベースのインデックス。指定しない場合は末尾に挿入されます。
動作要件
Python >= 3.12
依存パッケージ:
mcp[cli] >= 1.2.0
python-docx >= 1.1.2
Maintenance
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
- AlicenseCqualityFmaintenanceA Model Context Protocol server that enables AI assistants to create, read, edit, and format Microsoft Word documents through standardized tools and resources.6542,114MIT
- FlicenseAqualityDmaintenanceA 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.52
- -licenseNot gradedqualityNot gradedmaintenanceA Python server implementing Model Context Protocol for advanced Microsoft Word document manipulation, enabling programmatic automation of complex document processing tasks.
- AlicenseBqualityCmaintenanceAn 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.10043MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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