- Home
- MCP servers
- Word
Word
- python
0
GitHub Stars
python
Language
4 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.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"swadegeiger1-word-mcp-server": {
"command": "~/word-mcp-server/venv/bin/python",
"args": [
"~/word-mcp-server/server.py"
]
}
}
}You can automate Microsoft Word document operations through a minimal MCP server built for Word workflows. It enables reading text from .docx files, creating new documents, and appending content to existing documents, all via the MCP client interface.
How to use
You will run this server locally and connect to it from your MCP client. The server exposes three core capabilities: reading Word documents, creating new documents, and appending content to existing documents. Use these to automate document generation, reporting, or content updates from your workflows.
How to install
Prerequisites: Python 3 and a supported shell environment.
cd ~/word-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
chmod +x server.py
Additional sections
Configuration and usage details are provided to ensure you can run the server smoothly within your environment.
Configuration for the MCP client is done by adding a server entry to your MCP settings. The following snippet shows the required configuration using a local Python runtime to execute the server script.
{
"mcpServers": {
"word-mcp": {
"command": "~/word-mcp-server/venv/bin/python",
"args": ["~/word-mcp-server/server.py"]
}
}
}
Usage examples
Read a Word document at a specific path to extract its text.
Read the Word document at ~/Documents/report.docx
Create a new Word document at a designated path with initial content.
Create a Word document at ~/Documents/memo.docx with the content "Meeting Notes\n\nDiscussed Q1 goals"
Append content to an existing Word document, such as adding an actions list.
Append "Action Items:\n- Review budget" to ~/Documents/memo.docx
Available tools
read_word_document
Read and extract text content from .docx files.
create_word_document
Create new Word documents with initial content.
append_to_document
Append text to existing Word documents.