Contenu du cours
Agentic AI for Automating Daily Office Tasks
Agentic AI for Automating Daily Office Tasks
2. Smarter Communication & Time Control
3. Document Drafting, Editing & Filing
Microsoft Word Automation Setup with Claude
Python Installation
Check if Python is Already Installed
In the Terminal or Command Line, run:
python3 --version
If you see a message with version 3.10
or later, you can move to the next installation step.
But if you see an error message or a version earlier than 3.10, follow these instructions.
Method 1: Direct Download
- Visit download page;
- Download Python 3.10 or newer for your operating system;
- Run the installer and ensure "Add Python to PATH" is checked;
- Verify installation with
python --version
.
Method 2: Command Line Installation
In the Terminal or Command line, run:
- Mac with Homebrew:
brew install python
- Windows:
winget install Python.Python.3.12
- Ubuntu/Debian:
sudo apt update && sudo apt install python3
MCP Server Installation
Automatic Installation with Smithery
For users seeking quick setup, Smithery provides automated installation:
npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claude
Manual Installation Process
When automatic installation encounters issues or for users requiring complete configuration control, manual setup ensures reliable deployment.
Repository Cloning
- In Terminal or Command line navigate to the directory with the MCP servers
cd Documents/projects
- Clone GitHub repo with Office Word MCP Server
git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
- Enter this directory
cd Office-Word-MCP-Server
- Installs all required Python libraries and dependencies
pip install -r requirements.txt
- Start an agent configuration
python3 setup_ai_agent.py
- Choose the first suggested configuration path when prompted. The system will confirm successful integration with Claude Desktop's configuration file;
- After installation, complete Claude Desktop restart is required for proper agent recognition.
Manual Configuration (If Required)
If the agent doesn't appear in Search & Tools:
- Access configuration: use
Command+,
(Mac) orCtrl+,
(Windows) to openSettings
; - Developer panel: navigate to Developer panel and select "Edit Config";
- Parameter integration: copy configuration parameters:
"word-document-server": {
"command": "python3",
"args": ["/path/to/word_mcp_server.py"]
}
- Path configuration: use
pwd
command in Terminal to obtain absolute directory path; - File management: insert path before configuration closing brackets and save with
Command+S
orCtrl+S
; - Complete Claude Desktop restart is required for proper agent recognition;
- Verify the Word AI agent appears in Search & Tools. For optimal testing, temporarily disable other agents like Desktop Commander to isolate functionality.
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 2