MCP docx server

by h4ck4life

7 486 downloads Not rated yet MIT
GitHub

About

MCP docx server is an MCP server for creating and editing Microsoft Word (.docx) files. It is designed to be used with MCP-compatible clients like Claude Desktop.

Details

License
MIT

Explore

- Create new DOCX files programmatically.
- Edit existing DOCX files.
- Integrates with the Model Context Protocol.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP docx server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

This is the MCP docx server. It is used to manipulate DOCX files, including creating and editing them. Below is an example configuration to run the server in Claude Desktop.

Example Configuration

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

License

See the LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.