MCP-Doc
79
The Docx MCP Service is a Word document processing tool facilitated by the FastMCP library, allowing AI-assisted document operations in Cursor. Key features include document creation, content editing, and layout management through natural language commands.
Docx MCP Service
A Docx document processing service utilizing the FastMCP library, enabling AI-powered creation, editing, and management of Word documents within Cursor.
Features
- Complete Document Operations: Create, open, save, edit, and delete document content.
- Formatting: Customize fonts, colors, sizes, and alignments.
- Table Processing: Create, edit, merge, and split table cells.
- Image Insertion: Insert images and adjust their sizes.
- Layout Control: Manage page margins and breaks.
- Query Functions: Retrieve document, paragraph, and table data.
- Convenient Editing: Find and replace content easily.
- Section Editing: Replace content while retaining formatting.
Supported Operations
- Document, Content, and Table operations
- Layout control and Query functions
- Section and File operations
- Other Functions: Find and replace
Usage
Follow the steps to add the service as an MCP server in Cursor to perform Word document operations using AI commands.
How It Works
Leverages Python-docx and FastMCP libraries to process documents and communicate with AI, supporting error handling and status reporting.
Typography Capabilities
- Heading levels and paragraph organization
- Page layout and font styling
- Table formatting and pagination control.