DOCX icon

DOCX

Manages Microsoft Word document operations, particularly focusing on tables, via a Model Context Protocol (MCP) server.

About

DOCX provides a robust Model Context Protocol (MCP) server designed for comprehensive manipulation of Microsoft Word documents. Built upon FastMCP and python-docx, it currently offers extensive capabilities for managing tables within Word documents, including structure, data, and advanced cell formatting and search functions. The project has a clear roadmap to expand into full document manipulation, enabling users and language models to programmatically control Word content and formatting.

Key Features

  • Open, create, and save Microsoft Word documents programmatically.
  • Perform comprehensive table operations including creation, deletion, row/column management, and listing.
  • Set and retrieve individual cell values or bulk table data in various formats.
  • Apply advanced cell formatting such as font styles, alignment, background colors, and border customization.
  • Search for content within table cells and headers using multiple modes (contains, exact, regex) and case sensitivity.
  • 0 GitHub stars

Use Cases

  • Automating the generation and updating of Word documents, especially for reports or data-driven content with complex tables.
  • Programmatically performing advanced table operations like populating, formatting, and querying data within Word documents.
  • Integrating Microsoft Word document manipulation into AI agents or language models through JSON-based tool calls.