npx for all clients — no global install required. The server command is always:
Client setup
- Claude Desktop
- Claude Code
- Gemini CLI
- Cline / VS Code
- Generic MCP client
Open your Claude Desktop config file:Restart Claude Desktop. The server starts automatically when Claude launches.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
safe-docx entry to the mcpServers object: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.

