open-index/open-npm huggingface dataset:
npm package: @fre4x/docx
Description: DOCX Editor MCP server
Latest version: 1.0.54

# @fre4x/docx

An MCP server for creating and reading Microsoft Word (.docx) documents. Operates locally with no external APIs required.

## Tools

| Tool | Description | Inputs |
|------|-------------|--------|
| `docx_create_document` | Creates a new `.docx` file | `filepath` (string), `content` (string), `title` (optional string) |
| `docx_read_document` | Reads text from a `.docx` file | `filepath` (string) |

## Installation & Configuration

### Claude Desktop

Add the following to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "docx": {
      "command": "npx",
      "args": ["-y", "@fre4x/docx"]
    }
  }
}
```

## Mock Mode

The server supports a `MOCK` mode which returns mock fixtures without making any real file system changes.

```bash
MOCK=true npx @fre4x/docx
```