Word MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Word MCP Server
Based on Office-Word-MCP-Server by GongRzhe – all credit for the core implementation goes to the original author.
Setup
./start_server.shCreates a .venv (using python3.12), installs dependencies from requirements.txt, and starts the server on port 8000 via streamable HTTP.
Related MCP server: docx-mcp-server
Deployment to Docker host
./deploy_to_remote.sh userSyncs the server via rsync to the Docker host and builds/starts the container via docker compose.
MCP Registration
# Docker / remote
claude mcp add --scope user --transport http word http://<docker-host>:8000/mcp
# Local
claude mcp add --scope user --transport http word http://127.0.0.1:8000/mcpFile Transfer
The server runs in Docker and cannot access local file paths (e.g. /Users/…). Files must be uploaded via HTTP before they can be used with MCP tools.
Files are stored in /app/docx_files inside the container (mapped to /mnt/dockershare/word).
# Upload (required before any tool that takes a filename)
curl -s -H "X-API-Key: $MCP_API_KEY" -F "file=@document.docx" http://<docker-host>:8000/upload
# → returns JSON with "filename": "document.docx"
# Download
curl -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8000/download/document.docx -o document.docx
# List files
curl -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8000/files
# Delete single file
curl -X DELETE -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8000/files/document.docx
# Delete all files
curl -X DELETE -H "X-API-Key: $MCP_API_KEY" http://<docker-host>:8000/filesWorkflow for agents
Upload the local file via
curl -s -H "X-API-Key: $MCP_API_KEY" -F "file=@/path/to/file.docx" http://<docker-host>:8000/uploadUse the returned
filename(e.g."document.docx") with all Word toolsDo NOT try to read or unzip DOCX files locally — always upload via curl first
API Key
Set MCP_API_KEY in the container environment to require X-API-Key on all /upload, /download, and /files requests. If unset, endpoints are unprotected.
See docker-compose.yml for the placeholder.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to read documents in Excel, DOCX, PDF, and TXT formats via MCP protocol.1155 PyPI23MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read, edit, and create Microsoft Word documents (.docx) with support for rich text, tables, and images, deployable locally or via SSE.3MIT
- AlicenseAqualityDmaintenanceEnables AI agents to generate real Office documents (.pptx, .docx, .xlsx) and source code from natural language via MCP protocol.4MIT
- AlicenseCqualityBmaintenanceEnables 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