Skip to main content

Minimal MCP server for Microsoft Word document operations

Project description

Word MCP Server

Minimal MCP server for Microsoft Word document operations using python-docx.

Features

  • read_word_document: Read text from .docx files
  • create_word_document: Create new Word documents
  • append_to_document: Add content to existing documents

Installation

cd ~/word-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
chmod +x server.py

Configuration

Add to ~/.kiro/settings/mcp.json:

{
  "mcpServers": {
    "word-mcp": {
      "command": "~/word-mcp-server/venv/bin/python",
      "args": ["~/word-mcp-server/server.py"]
    }
  }
}

Note: The ~ will automatically expand to your home directory, making this configuration work for any user.

Usage Examples

Read a document:

Read the Word document at ~/Documents/report.docx

Create a document:

Create a Word document at ~/Documents/memo.docx with the content "Meeting Notes\n\nDiscussed Q1 goals"

Append to a document:

Append "Action Items:\n- Review budget" to ~/Documents/memo.docx

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

word_mcp_server_swadegeiger1-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

word_mcp_server_swadegeiger1-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file word_mcp_server_swadegeiger1-1.0.0.tar.gz.

File metadata

File hashes

Hashes for word_mcp_server_swadegeiger1-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26ccd9c340cbfc4dc7b9b6145674b1dae283d6fb0e1d9fa7130173e1d7fda132
MD5 53e0fa74a167789ea70ce169ef4877bc
BLAKE2b-256 d919650e493d090a7ec958b3e49d82285aa8749f6b6d66aeace3bb05aa3e35bb

See more details on using hashes here.

File details

Details for the file word_mcp_server_swadegeiger1-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for word_mcp_server_swadegeiger1-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cda93d8fb287dbcec9ec5116da91d24afc4e07f498125f9156feea637a3fad00
MD5 7fc6a9b50161f5ccf46b164e9baa8e12
BLAKE2b-256 c469051f9fe355741fd73cd1d726f71c17391d26d24f547233553f933cfe7590

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page