Edit Word (.docx) documents with tracked changes, redlines, and formatting preservation. Built for AI coding agents. Surgical text replacement, comments, footnotes, and document comparison — all local, no cloud upload. MIT licensed.
Tools
read_file
grep
init_plan
merge_plans
apply_plan
replace_text
insert_paragraph
save
format_layout
accept_changes
has_tracked_changes
get_file_status
close_file
add_comment
get_comments
delete_comment
compare_documents
get_footnotes
add_footnote
update_footnote
delete_footnote
clear_formatting
extract_revisions
Server Config
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}