A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content. 基于FastMCP的强大Word文档处理服务,使AI助手能够创建、编辑和管理docx文件,支持完整的格式设置功能。在编辑内容时能够保留原始样式和格式,实现精确的文档操作。
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-doc": {
"args": [
"python-docx"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Docx document processing service based on the FastMCP library, supporting the creation, editing, and management of Word documents using AI assistants in Cursor.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'python-docx' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
PYSEC-2016-21
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in writing
【Star-crossed coders unite!⭐️】Model Context Protocol (MCP) server implementation providing Google News search capabilities via SerpAPI, with automatic news categorization and multi-language support.
URL to LLM-ready markdown — plus per-page category, page_structure, and query-driven highlights.
AI prompt optimization for 58+ platforms across 7 categories with custom platforms
Model Context Protocol (MCP) Server to connect your AI with any MediaWiki
MCP Security Weekly
Get CVE alerts and security updates for MCP Doc and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Docx document processing service based on the FastMCP library, supporting the creation, editing, and management of Word documents using AI assistants in Cursor.
Ensure Python 3.10+ is installed, then install the following dependencies:
pip3 install python-docx mcp
Features > MCP Servers sectionAdd new MCP serverpython3 /path/to/MCP_dox/server.py (replace with the actual path to your server.py)Add to add the serviceAfter adding, you can use natural language to operate Word documents in Cursor's AI assistant, for example:
The service supports the following operations:
create_document, open_document, save_documentadd_paragraph, add_heading, add_table, add_pictureedit_paragraph, delete_paragraph, delete_textadd_table_row, delete_table_row, edit_table_cell, merge_table_cells, split_tableadd_page_break, set_page_marginsget_document_info, get_paragraphs, get_tables, search_textcreate_document, open_document, save_document, save_as_document, create_document_copyreplace_section, edit_section_by_keywordfind_and_replace, search_and_replace (with preview functionality)The service has good typography understanding capabilities:
server.py - Core implementation of the MCP service using the FastMCP libraryIf you encounter problems in Cursor, try the following steps: