npm @usejunior/safe-docxstdioApache-2.0updated 11d ago
Edit Word and OpenDocument files with coding agents.
O que dá para fazer com Safe Docx?
Safe Docx
Edit Word and OpenDocument files with coding agents.
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.
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
- Installation and verification
- Tool reference
- TypeScript library
- Architecture
- Testing and evidence
- Trust and conformance
- Contributing
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.
Instalação
Adicione Safe Docx ao seu cliente. Escolha o que você usa.
claude mcp add safe-docx -- npx -y @usejunior/safe-docxcodex mcp add safe-docx -- npx -y @usejunior/safe-docxamp mcp add safe-docx -- npx -y @usejunior/safe-docx{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"safe-docx","command":"npx","args":["-y","@usejunior/safe-docx"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"safe-docx": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"safe-docx": {
"command": {
"path": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @usejunior/safe-docxRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Pontuação
39 / 100
Incompleta
- Documentação18/25
- Manutenção25/25
- Confiança16/20
- Capacidade0/15
- Instalação12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 3 days ago
- Has a release history
- Repository is not archived
- Licensed Apache-2.0
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Histórico de versões
| Versões | Publicada |
|---|---|
| 0.19.1Mais recente | 24 de jul. de 2026 |
| 0.18.0 | 24 de jul. de 2026 |
| 0.17.0 | 23 de jul. de 2026 |
| 0.16.0 | 20 de jul. de 2026 |
| 0.15.0 | 22 de jun. de 2026 |
| 0.14.0 | 20 de jun. de 2026 |
| 0.13.0 | 19 de jun. de 2026 |
| 0.12.1 | 17 de jun. de 2026 |
| 0.11.2 | 16 de jun. de 2026 |
| 0.11.1 | 15 de jun. de 2026 |
| 0.11.0 | 13 de jun. de 2026 |
| 0.10.0 | 11 de jun. de 2026 |
| 0.9.1 | 28 de abr. de 2026 |
| 0.9.0 | 4 de abr. de 2026 |
| 0.8.2 | 3 de abr. de 2026 |
| 0.8.1 | 2 de abr. de 2026 |
| 0.7.0 | 19 de mar. de 2026 |