Word 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 MCP Servercreate a meeting report from yesterday's chat conversation"
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 MCP Server
A FastAPI-based Word document generation server with full MCP (Model Context Protocol) support.
Features
REST API for document creation and management
MCP Protocol Support for integration with MCP-compatible clients
Markdown Support in documents
Multiple Templates (standard, report, memo, letter)
Chat Export functionality to convert conversations to Word documents
Health Check endpoint for monitoring
Related MCP server: mcp-server-docx
API Endpoints
Health Check
GET /health- Service health status
Document Operations
POST /word/create- Create a new Word documentPOST /word/create-from-chat- Create a document from chat messagesGET /word/list- List all documentsGET /word/download/{filename}- Download a documentDELETE /word/delete/{filename}- Delete a document
MCP Protocol
POST /mcp- MCP JSON-RPC 2.0 endpoint
Service Info
GET /- Root endpoint with service informationGET /tools- Get available tools
Deployment
Docker Compose
cd word-mcp-server
docker-compose build
docker-compose up -dThe service will be available at https://word.mac.mndambuki.me.ke via Traefik.
Local Development
pip install -r requirements.txt
python server.pyThe server will run on http://localhost:8004
MCP Protocol Support
The server implements the MCP JSON-RPC 2.0 protocol with the following methods:
initialize- Initialize the MCP connectiontools/list- List available toolstools/call- Call a toolresources/list- List available resourcesresources/read- Read a resource
Example Requests
Create a Document (REST)
curl -X POST http://localhost:8004/word/create \
-H "Content-Type: application/json" \
-d '{
"title": "My Document",
"content": "# Heading\n\nThis is a paragraph.",
"author": "John Doe",
"template": "standard"
}'Create a Document (MCP Protocol)
curl -X POST http://localhost:8004/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create_document",
"arguments": {
"title": "My Document",
"content": "# Heading\n\nThis is a paragraph."
}
},
"id": 1
}'Environment Variables
TZ- Timezone (default: Africa/Nairobi)PORT- Server port (default: 8004)
Requirements
Python 3.11+
Docker (for containerized deployment)
External Traefik network (for Docker Compose)
Configuration
Documents are stored in /app/documents inside the container. In Docker Compose, this can be mounted to a local directory.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Create real Word .docx files from your AI chat: proposals, quotes, contracts, statements of work.
- mcpOAuthcom.mdtidy
Clean, repair, and convert AI-generated Markdown to HTML/PDF/DOCX/PNG; save and share documents.
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to create and manipulate Microsoft Word documents programmatically with support for rich text formatting, tables, lists, headings, and find-and-replace operations.106 npmMIT
- FlicenseBqualityCmaintenanceEnables creating professional Word documents from markdown or structured content with fast, customized formatting via natural language.71-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to convert Markdown into styled Word (.docx) documents, with control over fonts, colors, and layout via parameters.MIT
- 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