MCP.so
Sign In
Servers

Word Editing MCP Server

@KS-GEN-AI

Overview

What is Word Editing MCP Server?

Word Editing MCP Server is a TypeScript-based MCP server that provides tools for interacting with Microsoft Word (.docx) files and converting them to PDF with precise formatting. It is intended for users who need to read, modify, delete, or convert Word files programmatically through an MCP-compatible client like Claude Desktop.

How to use Word Editing MCP Server?

Install dependencies (npm install), optionally install LibreOffice for PDF conversion (npm run install-libreoffice), then build (npm run build). Configure the server in your MCP client (e.g., Claude Desktop) by adding the server command pointing to the built index.js file. Once running, use the provided tools by specifying absolute or relative file paths.

Key features of Word Editing MCP Server

  • List files in a folder (with optional path)
  • Read text content from .docx files
  • Replace words in .docx files and save as a new file
  • Delete Word (.docx) files
  • Convert .docx to PDF while preserving formatting and images

Use cases of Word Editing MCP Server

  • Automating word replacement in multiple documents
  • Converting Word documents to PDF for distribution
  • Reading and extracting text from .docx files
  • Cleaning up Word files by deleting unnecessary ones
  • Integrating document manipulation into AI-assisted workflows

FAQ from Word Editing MCP Server

What file paths does the server accept?

The server accepts absolute or relative paths (relative to the process current working directory). There is no pre-selected working folder.

Does Word to PDF conversion require any external software?

Yes, converting .docx to PDF requires LibreOffice to be installed. The server uses LibreOffice in headless mode for professional-quality conversion.

How do I configure Word Editing MCP Server with Claude Desktop?

Add an entry to your Claude Desktop configuration file (e.g., claude_desktop_config.json) with the command node and args pointing to the compiled build/index.js file.

What tools does the server provide?

The server provides five tools: list_files_in_folder, read_word_content, replace_word_words, delete_word_file, and word_to_pdf.

Can I replace multiple words at once in a document?

Yes, the replace_word_words tool accepts an array of {from, to} replacement pairs, allowing multiple word replacements in a single operation.

More from Other