Skip to main content
Runtime requirement: Node.js >= 18. Safe Docx uses npx for all clients — no global install required. The server command is always:

Client setup

Open your Claude Desktop config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the safe-docx entry to the mcpServers object:
Restart Claude Desktop. The server starts automatically when Claude launches.

Runtime options

Safe Docx includes archive guardrails that reject suspicious .docx files before processing them. You can tune these limits with environment variables. To set an environment variable, pass it in your MCP client config. For example, in Claude Desktop:
Safe Docx runs entirely as a local process on your machine. It reads and writes local filesystem paths only. No document content is sent to external servers.