Skip to main content
Glama

Safe Docx

Edit Word and OpenDocument files with coding agents.

CI codecov npm version License: Apache 2.0 GitHub last commit GitHub issues closed

English · Español · 简体中文 · Português · Deutsch

Safe Docx is a local MCP server and CLI for reading, searching, editing, comparing, converting, and saving document files. It preserves DOCX structure and can produce clean or tracked-changes output.

Example

Ask your coding agent:

Edit NDA.docx. Change the governing law from New York to Delaware.
Save a clean copy and a tracked-changes copy. Do not change anything else.

Safe Docx finds the clause, applies the targeted edit, and writes both files for review. The rest of the document stays outside the requested edit.

Follow the complete editing walkthrough.

Related MCP server: DOCX MCP Server

Comparisons

Install

npm install --global @usejunior/safe-docx

Then configure your MCP client with the installed executable's absolute path. For Claude Code:

claude mcp add safe-docx -- /absolute/path/to/safe-docx

Antigravity CLI

Add Safe Docx to ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "safe-docx": {
      "command": "/absolute/path/to/safe-docx",
      "args": []
    }
  }
}

Restart agy, then ask it to edit a .docx file. Antigravity may ask you to approve the MCP server before first use.

See Installation and verification for locating the executable, pinning a version, and configuring clients.

Documentation

Standards Conformance

Browse the Safe Docx Conformance Explorer to navigate ECMA-376 sections, OOXML schema declarations, capability claims, explicit non-goals, and measured cross-implementation outcomes.

The generated repository conformance report remains the source-controlled record of targeted sections, non-goals, and verification references.

What Safe Docx Is Not Optimized For

Safe Docx is not a visual editor or layout engine. It does not provide browser rendering, real-time collaboration, or pixel-level pagination guarantees. .dotx templates must be converted to .docx before use.

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
23hResponse time
5dRelease cycle
29Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.
    190
  • A
    license
    C
    quality
    D
    maintenance
    Enables creation, editing, and management of Word documents through JSON schema with support for rich content including text formatting, tables, images, code blocks, and lists. Provides comprehensive DOCX operations including opening existing documents, modifying content, and saving files to disk.
    12
    57
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enterprise-grade document editing and management server that enables AI-powered operations on Microsoft Word DOCX files, including creating, editing, formatting, and exporting documents through both MCP protocol and RESTful API.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating

  • Markdown in, any format out. PDFs merged, split, watermarked. Runs on our own doc engines.

  • Document API for AI-native software: render PDFs, e-sign, PAdES-seal, and verify.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UseJunior/safe-docx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server