MCP Server Office
MCP 服务器办公室
模型上下文协议 (MCP) 服务器提供读取/写入 Microsoft Word (docx) 文件的工具。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Server Office:
npx -y @smithery/cli install @famano/mcp-server-office --client claude用法
使用 pip 安装:
pip install mcp-server-office然后,启动 MCP 服务器:
mcp-server-office或者使用 uv,只需:
uvx mcp-server-office可用工具
read_docx:读取 docx 文件的完整内容,包括表格和图像。输入:
path(字符串)-目标文件的绝对路径注意:图像将转换为 [图像] 占位符,并且不会显示修订记录
write_docx:创建一个具有给定内容的新 docx 文件。输入:
path(字符串)- 目标文件的绝对路径content(字符串)- 写入文件的内容
注意:新段落使用双行换行,[Table] 标签使用 |表格分隔符
edit_docx_paragraph:在 docx 文件的指定段落中进行文本替换。输入:
path(字符串) - 要编辑的文件的绝对路径edits(数组) - 包含搜索/替换文本和段落索引的字典列表paragraph_index(数字) - 要编辑的段落的从 0 开始的索引search(字符串) - 在指定段落中查找的文本replace(字符串)-要替换的文本
注意:每个搜索字符串必须在指定段落内匹配一次
edit_docx_insert:将新段落插入 docx 文件。输入:
path(字符串) - 要编辑的文件的绝对路径inserts(数组) - 包含文本和可选段落索引的字典列表text(字符串) - 作为新段落插入的文本paragraph_index(数字,可选) - 插入段落的基于 0 的索引。如果没有指定,则插入到末尾。
Related MCP server: DOCX MCP Server
要求
Python >= 3.12
依赖项:
mcp[cli] >= 1.2.0
python-docx >= 1.1.2
MCP 服务器办公室(日语)
提供读取和写入 Microsoft Word (docx) 文件的模型上下文协议 (MCP) 服务器。
Smithery 安装
要通过Smithery在 Claude Desktop 上自动安装 Server Office:
npx -y @smithery/cli install @famano/mcp-server-office --client claude如何使用
使用 pip 安装:
pip install mcp-server-office启动 MCP 服务器:
mcp-server-office或者,使用 uv:
uvx mcp-server-office可用工具
read_docx:读取 docx 文件的完整内容,包括表格和图像。输入:
path(字符串)-目标文件的绝对路径注意:图像将转换为名为 [图像] 的占位符,并且不会显示修订历史记录。
write_docx:创建具有指定内容的新 docx 文件。输入:
path(字符串) - 要创建的文件的绝对路径。content(字符串) - 要写入文件的内容
注意:段落之间用两个换行符分隔,表格使用[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