Claude Document MCP Server
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 文件
Related MCP server: Quip MCP Server
设置
此 MCP 服务器需要 Python 3.10 或更高版本。
自动设置(推荐)
运行安装脚本以自动安装依赖项并配置 Claude Desktop:
git clone https://github.com/alejandroBallesterosC/document-edit-mcp
cd document-edit-mcp
./setup.sh这将:
创建虚拟环境
安装所需的依赖项
为 Claude Desktop 配置服务器
创建必要的目录
手动设置
如果您希望手动设置:
安装依赖项:
cd claude-document-mcp
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .配置Claude桌面:
将claude_desktop_config.json文件复制到:
Mac :
~/Library/Application Support/Claude/Windows :
%APPDATA%\Claude\
重启Claude桌面
模型上下文协议集成
该服务器遵循模型上下文协议规范,为 Claude Desktop 提供文档操作功能:
工具:提供Word、Excel、PDF操作功能
资源:提供有关功能的信息
提示:(目前尚未实现)
API 参考
微软 Word
创建 Word 文档
create_word_document(filepath: str, content: str) -> Dict编辑 Word 文档
edit_word_document(filepath: str, operations: List[Dict]) -> Dict将TXT转换为Word
convert_txt_to_word(source_path: str, target_path: str) -> DictExcel
创建 Excel 文件
create_excel_file(filepath: str, content: str) -> Dict编辑 Excel 文件
edit_excel_file(filepath: str, operations: List[Dict]) -> Dict将 CSV 转换为 Excel
convert_csv_to_excel(source_path: str, target_path: str) -> Dict创建 PDF 文件
create_pdf_file(filepath: str, content: str) -> Dict将 Word 转换为 PDF
convert_word_to_pdf(source_path: str, target_path: str) -> Dict日志
服务器将所有操作记录到控制台和logs/document_mcp.log文件中,以便进行故障排除。
执照
麻省理工学院
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
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.542,114MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to directly read and edit Quip documents through a set of specialized tools.56ISC
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables Claude Desktop to perform file operations like reading, writing, listing directories, and managing files through natural language commands.MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server for enterprise-grade document automation, enabling AI assistants to create, read, manipulate, and analyze Microsoft Word documents programmatically.541MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A Model Context Protocol server for Wix AI tools
Appeared in Searches
- Enhancements for Claude Desktop App with Large Contexts and Long Documents
- Tools for reading Excel, Word and PowerPoint files
- Excel spreadsheet template for tracking residents and attendings with PDF and voice memo attachments
- Tools and resources for PDF and XML document processing
- PDF text editing and preview tools
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/alejandroBallesterosC/document-edit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server