npm @usejunior/safe-docxstdioApache-2.0updated 11d ago
Edit Word and OpenDocument files with coding agents.
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.
インストール
Safe Docx をクライアントに追加します。お使いのものを選んでください。
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.
スコア
39 / 100
情報不足
- ドキュメント18/25
- メンテナンス25/25
- 信頼性16/20
- 機能0/15
- 導入のしやすさ12/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
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 0.19.1最新 | 2026年7月24日 |
| 0.18.0 | 2026年7月24日 |
| 0.17.0 | 2026年7月23日 |
| 0.16.0 | 2026年7月20日 |
| 0.15.0 | 2026年6月22日 |
| 0.14.0 | 2026年6月20日 |
| 0.13.0 | 2026年6月19日 |
| 0.12.1 | 2026年6月17日 |
| 0.11.2 | 2026年6月16日 |
| 0.11.1 | 2026年6月15日 |
| 0.11.0 | 2026年6月13日 |
| 0.10.0 | 2026年6月11日 |
| 0.9.1 | 2026年4月28日 |
| 0.9.0 | 2026年4月4日 |
| 0.8.2 | 2026年4月3日 |
| 0.8.1 | 2026年4月2日 |
| 0.7.0 | 2026年3月19日 |