Word Office 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 Office MCP Server
A Model Context Protocol (MCP) server that enables LLMs like Claude to interact with Microsoft Word applications through Python automation.
Features
Word Automation: Control Microsoft Word through COM interface
Document Operations: Create, open, save, and manipulate Word documents
Text Processing: Insert, format, and modify text content
Advanced Features: Tables, lists, headers/footers, find/replace
Document Reading: Extract content and metadata from existing documents
MCP Protocol: Full compatibility with Claude and other MCP clients
Related MCP server: Word Document MCP Server
Requirements
Python 3.8 or higher
Microsoft Word 2016 or later (Windows only)
Windows operating system (for COM interface)
Installation
pip install word-mcp-serverOr install from source:
git clone <repository-url>
cd word-mcp-server
pip install -e .Quick Start
Create a configuration file:
word-mcp-server --create-configStart the server:
word-mcp-serverConfigure Claude to use the MCP server by adding to your MCP configuration:
{
"mcpServers": {
"word-office": {
"command": "word-mcp-server",
"args": []
}
}
}Configuration
The server uses a YAML configuration file (config.yaml) with the following structure:
server:
host: "localhost"
port: 8080
max_concurrent_docs: 10
timeout_seconds: 30
word:
auto_launch: true
visible: false
save_on_exit: true
backup_enabled: true
logging:
level: "INFO"
file: "word_mcp_server.log"
max_size_mb: 100
security:
allowed_paths:
- "~/Documents"
- "~/Desktop"
enable_macros: false
max_file_size_mb: 50Project Structure
word_mcp_server/
├── __init__.py # Package initialization
├── main.py # Main entry point
├── config/ # Configuration management
│ ├── __init__.py
│ ├── config_manager.py # Configuration loader
│ └── models.py # Configuration data models
├── server/ # MCP server implementation
│ ├── __init__.py
│ └── mcp_server.py # Main MCP server class
├── word/ # Word application interface
│ ├── __init__.py
│ ├── controller.py # COM interface controller
│ └── document_manager.py # Document file operations
└── utils/ # Utility functions
├── __init__.py
├── errors.py # Custom exceptions
├── logging.py # Logging utilities
└── validators.py # Input validationDevelopment Status
This project is currently under development. The following tasks have been completed:
Task 1: Project structure and core dependencies
Task 2: MCP server foundation
Task 3: Word COM interface controller
Task 4: Basic document operations
Task 5: Advanced document manipulation
Task 6: Document reading capabilities
Task 7: Headers, footers, and page formatting
Task 8: Error handling and logging
Task 9: Configuration and deployment
Task 10: Advanced Word features
Task 11: Testing and documentation
Task 12: Packaging and distribution
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please read the contributing guidelines before submitting pull requests.
Support
For issues and questions, please use the GitHub issue tracker.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Create Word .docx files from sections or markdown, fill templates, and read text from a .docx.
Real Word and Excel for agents: open your .docx/.xlsm, read, propose, apply, get it back intact.
Create and manage documents, spreadsheets, and presentations from your AI assistant.
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
- 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.1016 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Agent to control Microsoft Word through COM automation, allowing document creation, editing, formatting, and VBA execution while keeping the Word window visible.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to drive Microsoft Word for Windows via COM automation, including opening and creating documents, editing text, managing paragraphs, tables, images, styles, tracked changes, and exporting to PDF.3MIT