drio
Open app

MCP docx server

Source

MCP server to manipulate DOCX file

Catalog onlyCatalog onlySTDIO

Overview

MCP docx server is a tool designed to manipulate DOCX files, allowing users to create and edit documents programmatically.

To use the MCP docx server, configure it with the provided JSON example and run the server using the specified command in your local environment.

  • Create and edit DOCX files programmatically - Supports integration with Python libraries like python-docx and docx2pdf - Easy configuration for server setup
  1. Automating the generation of reports in DOCX format.
  2. Converting DOCX files to PDF for distribution.
  3. Editing existing DOCX files to update content dynamically.

Add to your AI client

Use these steps to connect MCP docx server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-docx-server-h4ck4life": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-docx-server-h4ck4life": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-docx-server-h4ck4life": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-docx-server-h4ck4life": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-docx-server-h4ck4life": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-docx-server-h4ck4life": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-docx-server-h4ck4life"
      ]
    }
  }
}

FAQ

What programming language is used for MCP docx server?

The MCP docx server is built using Python.

Is there a license for using MCP docx server?

Yes, it is licensed under the MIT license.

Can I run MCP docx server on any operating system?

Yes, as long as you have Python and the required libraries installed.