MCP docx Server

Provides a local MCP server to manipulate DOCX files, enabling creation and editing through an MCP client.
  • python

5

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "h4ck4life-mcp-docx-server": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli],python-docx,docx2pdf",
        "mcp",
        "run",
        "<your local path>/mcp-docx-server/server_runner.py"
      ]
    }
  }
}

You can run a local MCP server that enables you to manipulate DOCX files, including creating and editing them, through a dedicated client. This server exposes a straightforward way to automate DOCX workflows from your MCP client and integrate it into your document generation pipelines.

How to use

To use this server with an MCP client, load the WordDoc-like MCP server configuration into your MCP client and start the server using the provided runtime command. The server runs locally and accepts commands from your client to perform DOCX creation and editing tasks via Python-based tooling integrated into the runtime.

How to install

Prerequisites you should have before starting: a runtime capable of executing the UV-based command shown below and access to your local file system where you will point the server to its scripts.

{
  "mcpServers": {
    "WordDocServer": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli],python-docx,docx2pdf",
        "mcp",
        "run",
        "<your local path>/mcp-docx-server/server_runner.py"
      ]
    }
  }
}

Additional sections

Configuration notes: keep the JSON snippet above as your MCP config, replacing <your local path> with the actual path to where you have the server files locally. There are no additional environment variables shown in the configuration, so you can run with the defaults provided here. If you need to stop the server, terminate the UV process from your shell in the same way you would stop any local process.

Security considerations: since this server runs locally, limit access to trusted clients and protect the host machine. Do not expose the local server to untrusted networks without additional authentication layers.

Available tools

docxManipulation

Offers capabilities to create, edit, and format DOCX documents using Python-based tooling integrated into the MCP runtime.

serverExecution

Runs the local MCP server using the uv runtime with the specified arguments, enabling communication with MCP clients to perform document tasks.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational