Word Document MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Word Document MCP Server create a meeting agenda with headings and bullet points"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Word Document MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude to create and manipulate Microsoft Word documents (.docx files) programmatically.
Features
๐จ Rich Text Formatting - Bold, italic, underline, colors, fonts, and sizes
๐ Document Structure - Headings (5 levels), paragraphs, lists, and tables
๐ Find & Replace - Text search and replacement with regex support
๐ Tables - Create formatted tables with headers and data rows
๐พ Document Management - In-memory tracking with persistent file saving
Related MCP server: docx-editor-mcp
Usage with Claude Desktop
Add this to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"word-document": {
"command": "npx",
"args": ["-y", "word-document-mcp-server"]
}
}
}Available Tools
Document Creation
create_document- Create a new Word documentsave_document- Save document to disk
Content Addition
add_heading- Add headings (levels 1-5)add_paragraph- Add formatted paragraphsadd_bullet_list- Create bulleted listsadd_numbered_list- Create numbered listsadd_table- Insert tables with headers
Text Operations
find_and_replace- Search and replace textapply_text_formatting- Format specific textget_document_structure- View document outline
License
MIT
Author
Bibash Kattel
Available Tools
10 toolsadd_bullet_listC
Add a bulleted list to the document
Inputs: docId (required), items (required).
add_headingC
Add a heading to the document at specified level (1-5)
Inputs: docId (required), text (required), level (required).
add_numbered_listC
Add a numbered list to the document
Inputs: docId (required), items (required).
add_paragraphC
Add a paragraph of text to the document
Inputs: docId (required), text (required), formatting.
add_tableC
Add a table to the document
Inputs: docId (required), headers (required), rows (required).
apply_text_formattingC
Apply formatting to specific text in the document
Inputs: docId (required), searchText (required), formatting (required).
create_documentC
Create a new Word document with optional title
Inputs: filepath (required), title.
find_and_replaceC
Find and replace text in the document
Inputs: docId (required), findText (required), replaceText (required), replaceAll.
get_document_structureC
Get the structure/outline of the document (headings and paragraphs)
Inputs: docId (required).
save_documentC
Save the document to disk
Inputs: docId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose targeting specific document operations, such as adding different elements (bullet list, heading, table), applying formatting, or managing the document lifecycle. There is no overlap that would cause confusionโfor example, add_bullet_list and add_numbered_list are clearly differentiated by list type, and apply_text_formatting is separate from content addition tools.
All tool names follow a consistent verb_noun pattern using snake_case, such as add_paragraph, apply_text_formatting, and save_document. This uniformity makes the set predictable and easy for agents to understand and navigate without any deviations in style or convention.
With 10 tools, the server is well-scoped for a Word document manipulation domain, covering core operations like creation, editing, formatting, and saving. Each tool earns its place by addressing a specific need without being excessive or insufficient for typical document workflows.
The tool set provides comprehensive coverage for basic document creation and editing, including CRUD-like operations (create, add, save) and utilities like find_and_replace. A minor gap is the lack of tools for deleting or modifying existing elements (e.g., remove_paragraph or edit_table), but agents can work around this using available tools for most tasks.
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Create and manage documents, spreadsheets, and presentations from your AI assistant.
Create Word .docx files from sections or markdown, fill templates, and read text from a .docx.
Document editing, AI writing, saved documents, DOCX downloads, PDF, STT, TTS and watermarking
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to create, read, and manipulate Microsoft Word documents with comprehensive formatting, table creation, content management, and document protection capabilities. Supports advanced operations like merging documents, PDF conversion, and rich text formatting through a standardized interface.32MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to create, edit, and extract data from Microsoft Word documents programmatically, supporting document creation, content editing, table manipulation, parameter extraction, and template generation.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, read, and manipulate Microsoft Word documents with rich editing capabilities.MIT
- AlicenseCqualityCmaintenanceEnables AI agents to create, read, and edit Word documents with tracked changes, comments, and template manipulation, including bulk text replacement and paragraph-level operations.100MIT