MCP ServerSTDIOOfficialv0.9.1

Safe Docx MCP Server

Edit Word .docx files programmatically while preserving formatting, styles, and structure. Built for developers who need AI-driven document manipulation without losing layout or metadata.

io.github.UseJunior/safe-docx

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the Safe Docx MCP server does

How models use it and what it is built for.

Edit Word .docx files programmatically while preserving formatting, styles, and structure. Built for developers who need AI-driven document manipulation without losing layout or metadata.

Connect to Safe Docx

Local install — runs as a subprocess.

npx @usejunior/safe-docx@0.9.1

Resources

Where to find authoritative docs and source for Safe Docx.

Example prompts for Safe Docx

Paste any of these into Agent Studio after connecting Safe Docx.

  • Replace all instances of 'client name' with 'Acme Corp' in this docx file
  • Add a new paragraph after the introduction section keeping the original font and spacing
  • Extract the table from page 2 and modify its cell values without breaking the layout
  • What formatting properties does this docx file currently use?

Safe Docx MCP server — FAQ

Common questions about connecting and running Safe Docx.

  • What file formats does safe-docx support?

    The server works with .docx (Office Open XML) files. It preserves all formatting, styles, and structure during edits.

  • How do I install and run safe-docx?

    Install via npm: `npx @usejunior/safe-docx@0.9.1`. It runs over stdio transport, so you can connect it to any MCP client.

  • Will my document formatting be lost when I edit it?

    No—safe-docx is designed to preserve all formatting, styles, and document structure during edits. That's its core feature.

  • Can I use this for bulk document processing?

    Yes, you can programmatically edit multiple .docx files. Each edit operation preserves the original formatting and metadata.

  • What's the difference between safe-docx and just using a generic Word library?

    safe-docx is AI-native and designed for surgical, targeted edits through natural language. Generic libraries require manual XML manipulation and are more error-prone for complex formatting.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground