Claude 文档 MCP 服务器
模型上下文协议 (MCP) 服务器允许 Claude Desktop 对 Microsoft Word、Excel 和 PDF 文件执行文档操作。
特征
Microsoft Word 操作
从文本创建新的 Word 文档
编辑现有的 Word 文档(添加/编辑/删除段落和标题)
将文本文件 (.txt) 转换为 Word 文档
Excel 操作
从 JSON 或类似 CSV 的文本创建新的 Excel 电子表格
编辑现有的 Excel 文件(更新单元格、范围、添加/删除行、列、工作表)
将 CSV 文件转换为 Excel
PDF操作
从文本创建新的 PDF 文件
将 Word 文档转换为 PDF 文件
设置
此 MCP 服务器需要 Python 3.10 或更高版本。
自动设置(推荐)
运行安装脚本以自动安装依赖项并配置 Claude Desktop:
这将:
创建虚拟环境
安装所需的依赖项
为 Claude Desktop 配置服务器
创建必要的目录
手动设置
如果您希望手动设置:
安装依赖项:
配置Claude桌面:
将claude_desktop_config.json
文件复制到:
Mac :
~/Library/Application Support/Claude/
Windows :
%APPDATA%\Claude\
重启Claude桌面
模型上下文协议集成
该服务器遵循模型上下文协议规范,为 Claude Desktop 提供文档操作功能:
工具:提供Word、Excel、PDF操作功能
资源:提供有关功能的信息
提示:(目前尚未实现)
API 参考
微软 Word
创建 Word 文档
编辑 Word 文档
将TXT转换为Word
Excel
创建 Excel 文件
编辑 Excel 文件
将 CSV 转换为 Excel
创建 PDF 文件
将 Word 转换为 PDF
日志
服务器将所有操作记录到控制台和logs/document_mcp.log
文件中,以便进行故障排除。
执照
麻省理工学院
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
模型上下文协议服务器允许 Claude Desktop 对 Microsoft Word、Excel 和 PDF 文件执行文档操作,包括创建、编辑和格式转换。
Related MCP Servers
- AsecurityAlicenseAqualityA collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.Last updated -219MIT License
- -securityAlicense-qualityA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.Last updated -24Apache 2.0
- -securityFlicense-qualityA filesystem Model Context Protocol server that provides Claude Desktop with capabilities to read, write, and manipulate files on your system.Last updated -0
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude Desktop to interact with Microsoft Dynamics 365, allowing users to retrieve information, create and update accounts, and manage opportunities through natural language.Last updated -514MIT License