word-mcp-server

word-mcp-server

1

The Word MCP Server project is a Python application designed to facilitate the creation and editing of Microsoft Word documents via an API. It uses FastMCP for interaction and supports configuring with LLMs for natural language processing tasks.

Word MCP Server

Word MCP Server is a Python application that allows creating and editing Microsoft Word (.docx) documents via an API. This project utilizes FastMCP to build tools for interacting with Word documents.

Features

  • Create and open Word documents
  • Add and format text
  • Add images
  • Create tables
  • Manage resources and prompts

Installation Requirements

  • Python 3.12+
  • Required libraries:
    • python-docx
    • opencv-python (cv2)
    • numpy
    • FastMCP

Usage Guide

  • Configure through a JSON file to use with large language models (LLM)
  • Once configured, LLM can:
    • Create and edit Word documents via natural language
    • Auto-generate content based on prompts
    • Intelligently format text, and add images and tables

Notes

  • Uses python-docx library for Word document interaction
  • Stores resources and prompts in 'resources' and 'prompts' directories
  • Ensure all dependencies are installed before running the server