AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Office Word MCP

mcp-ihatesea69-office-word-mcp · by ihatesea69

Enterprise-Grade Document Automation Protocol for Amazon Q & Kiro - MCP Server for Microsoft Word

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add mcp-ihatesea69-office-word-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ihatesea69-office-word-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Office Word MCP? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Office-Word-MCP

[](https://smithery.ai/server/@GongRzhe/Office-Word-MCP-Server)

Enterprise-Grade Document Automation Protocol for Amazon Q & Kiro

Overview

Office-Word-MCP is a robust Model Context Protocol (MCP) server designed to enable advanced document processing capabilities for AI assistants like Amazon Q Developer, Kiro, and other MCP-compliant clients.

It provides a standardized interface for AI agents to programmatic create, read, manipulate, and analyze Microsoft Word documents (.docx). By abstracting complex document object models into clean API tools, it empowers AI assistants to generate professional reports, contracts, and documentation workflows autonomously.

Key Benefits

  • Seamless Integration: Optimized for Amazon Q and Kiro environments.
  • Rich Formatting: Support for complex tables, styling, and layout controls.
  • Enterprise Ready: Includes document protection, comment analysis, and structured data handling.
  • Secure: Runs locally with explicit permission controls.

Architecture

Features

1. Document Management

  • Lifecycle Control: Create, copy, merge, and convert documents (to PDF).
  • Structure Analysis: Extract outlines, metadata, and statistics.
  • Security: Apply password protection and manage restricted editing.

2. Content Engineering

  • Advanced Tables: Create complex layouts with merges, shading, and custom borders.
  • Rich Text: precision control over fonts, colors, and paragraph styles.
  • Media: Insert images with proportional scaling.
  • Dynamic Lists: XML-compliant bulleted and numbered lists.

3. Review & Collaboration

  • Comment Mining: Extract and filter comments by author or content.
  • Track Changes: (Future roadmap) Support for revision tracking.

Getting Started

Prerequisites

  • Python 3.10 or higher
  • uv (recommended) or pip package manager

Installation

Option 1: Using uvx (Recommended for ephemeral use)

No installation required. You can run the server directly using uvx.

uvx --from office-word-mcp-server word_mcp_server
Option 2: Local Installation

Clone the repository and install dependencies:

git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
cd Office-Word-MCP-Server
pip install -r requirements.txt

Integration Guide

Amazon Q Developer (VS Code / JetBrains)

To integrate Office-Word-MCP with Amazon Q Developer:

  1. Open your IDE settings and navigate to Amazon Q > MCP Servers.
  2. Add a new server configuration:
  • Name: word-automation
  • Command: uvx
  • Args: --from, office-word-mcp-server, word_mcp_server
  1. Restart your IDE. Amazon Q will now have access to Word tools.

Kiro

Configure the server in your Kiro settings or configuration file:

{
  "mcpServers": {
    "office-word": {
      "command": "uvx",
      "args": ["--from", "office-word-mcp-server", "word_mcp_server"]
    }
  }
}

Other MCP Clients (Claude Desktop, etc.)

Add the following to your MCP configuration file (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "word-server": {
      "command": "uvx",
      "args": ["--from", "office-word-mcp-server", "word_mcp_server"]
    }
  }
}

API Reference

The server exposes the following tools to the AI assistant.

Core Operations

| Tool Name | Description | | -------------------------- | ---------------------------------------------- | | create_document | Create a new blank or template-based document. | | get_document_text | Extract all text content from a file. | | list_available_documents | Scan directory for valid Word files. | | convert_to_pdf | Export .docx to PDF format. |

Content & Formatting

| Tool Name | Description | | --------------- | ------------------------------------------------ | | add_heading | Insert structured headings (Levels 1-9). | | add_paragraph | Add text blocks with style support. | | add_table | Create a new table structure. | | format_text | Apply bold, italic, color, etc., to text ranges. |

Table Management

| Tool Name | Description | | ------------------------ | --------------------------------------------- | | format_table | Apply styles, borders, and shading to tables. | | merge_table_cells | Merge cells horizontally or vertically. | | set_table_column_width | Precise control over column dimensions. |

(See full tool list in word_mcp_server.py source)

Troubleshooting

Common Issues

Permission Denied

  • Cause: The server cannot access the file system.
  • Fix: Ensure the running process has R/W access to the target directory. On Windows, ensure the file isn't open in Microsoft Word.

Styling Not Applied

  • Cause: Using a style name that doesn't exist in the base template.
  • Fix: Use create_custom_style to define the style before using it, or use standard Word styles (e.g., "Normal", "Heading 1").

Image Insertion Failures

  • Cause: Relative paths may be ambiguous.
  • Fix: Always use absolute paths for images.

Debugging

Set the MCP_DEBUG environment variable to 1 to enable verbose logging:

# Windows (PowerShell)
$env:MCP_DEBUG = "1"

License

This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.


Built for the Agentic Era.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.