- Home
- MCP servers
- MCP Word文档处理工具
MCP Word文档处理工具
- javascript
1
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You have an MCP server designed to empower AI workflows with Word document processing. It delivers high-volume table handling, rich text formatting, intelligent tables, batch operations, and strong Chinese language support, so you can create, read, format, and transform Word documents efficiently within automated pipelines.
How to use
You interact with the Word document MCP server through a client that speaks the MCP protocol. Start by ensuring the server is running, then perform actions such as creating new documents, reading documents in different formats, replacing text, applying advanced formatting, and building large data tables. The server supports operations for multi-paragraph documents, multi-level headings, rich text styling, and efficient handling of large tables (50+ rows by 15+ columns). You can input content as structured requests to produce formatted .docx files, plain text, HTML, or Markdown outputs.
How to install
Prerequisites: you need Node.js 18.0 or newer and npm or yarn for package management.
-
Install dependencies for the MCP server.
-
Start the MCP server locally from the source directory.
Additional sections
Configuration and access details: The MCP server exposes a protocol endpoint for programmatic control and a management interface for status and configuration. The protocol endpoint is available at http://localhost:3500/mcp, while a management interface sits at http://localhost:3500. The default port is 3500.
Usage patterns you can follow include creating documents, reading and exporting content as Text, HTML, or Markdown, replacing text with precise matches, applying formatting such as fonts, sizes, colors, and styles, managing multi-level headings with automatic numbering, and constructing large data tables with automatic formatting (bold headers, borders, adjustable column widths).
Examples of supported document features include: multi-paragraph content, line breaks, rich text styling, and complex tables with mixed data types (text, numbers, percentages, ratings). These capabilities enable end-to-end document workflows from generation to presentation-ready outputs.
Available tools
create_docx
Create a new Word document with title and multi-paragraph content.
read_docx
Read Word document content and export as text, HTML, or Markdown.
replace_text_in_docx
Replace specific text within a Word document and output the updated file.
create_formatted_docx
Create a document with formatted sections, titles, and rich text attributes.
create_table_in_docx
Generate a Word document containing large data tables with headers and rows.