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文件,支持完整的格式设置功能。在编辑内容时能够保留原始样式和格式,实现精确的文档操作。
191
stars
0
commits
Python
primary language
Mar 15, 2025
updated
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
Python
100.0%
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文件,支持完整的格式设置功能。在编辑内容时能够保留原始样式和格式,实现精确的文档操作。
191
stars
0
commits
Python
primary language
Mar 15, 2025
updated
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
Python
100.0%