Wraps the python-docx library to give Claude full Word document processing capabilities through MCP. You can create, edit, and save .docx files while preserving original formatting and styles. Handles the complete document lifecycle: add paragraphs and headings, insert and manipulate tables, embed images, set fonts and alignment, manage page breaks and margins. Includes find-and-replace functionality and section-based editing. Integrates directly with Cursor's AI assistant, so you can use natural language to generate reports, edit existing documents, or build complex formatted content without switching between tools.
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:
MIT License
csoai-org/pdf-document-mcp
xt765/mcp-document-converter
io.github.xjtlumedia/markdown-formatter
io.github.ai-aviate/better-notion
suekou/mcp-notion-server
n24q02m/better-notion-mcp